Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Kakarot to v0.9.9 #1544

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/kakarot
Submodule kakarot updated 83 files
+4 −3 .github/workflows/cairo-zero-ci.yml
+6 −7 .github/workflows/cairo-zero-nightly-fuzzing.yml
+15 −0 .gitignore
+1 −1 Makefile
+208 −13 README.md
+31 −0 aws_lambda/fee_balancer/Dockerfile
+9 −0 aws_lambda/fee_balancer/app.py
+71 −0 aws_lambda/fee_balancer/cdk.json
+139 −0 aws_lambda/fee_balancer/fee_balancer.py
+94 −0 aws_lambda/fee_balancer/fee_balancer_lambda_stack.py
+26 −0 aws_lambda/fee_balancer/pyproject.toml
+92 −0 aws_lambda/fee_balancer/relayers.json
+19 −40 cairo/kakarot-ssj/blockchain-tests-skip.yml
+1,124 −134 cairo/kakarot-ssj/crates/evm/src/precompiles/modexp.cairo
+74 −1,504 cairo/kakarot-ssj/crates/evm/src/test_data/test_data_modexp.cairo
+0 −1 cairo/kakarot-ssj/crates/utils/src/crypto.cairo
+0 −3 cairo/kakarot-ssj/crates/utils/src/crypto/modexp.cairo
+0 −2,524 cairo/kakarot-ssj/crates/utils/src/crypto/modexp/arith.cairo
+0 −19 cairo/kakarot-ssj/crates/utils/src/crypto/modexp/lib.cairo
+0 −1,033 cairo/kakarot-ssj/crates/utils/src/crypto/modexp/mpnat.cairo
+123 −1 cairo/kakarot-ssj/crates/utils/src/traits/bytes.cairo
+1 −0 cairo/token/src/lib.cairo
+131 −0 cairo/token/src/non_standard_starknet_token.cairo
+8 −1 cairo/token/src/starknet_token.cairo
+30 −2 cairo_zero/backend/starknet.cairo
+7 −2 cairo_zero/kakarot/accounts/library.cairo
+0 −4 cairo_zero/kakarot/constants.cairo
+34 −12 cairo_zero/kakarot/gas.cairo
+5 −7 cairo_zero/kakarot/instructions/system_operations.cairo
+0 −6 cairo_zero/kakarot/interfaces/interfaces.cairo
+7 −10 cairo_zero/kakarot/interpreter.cairo
+0 −45 cairo_zero/kakarot/kakarot.cairo
+22 −44 cairo_zero/kakarot/library.cairo
+30 −30 cairo_zero/kakarot/precompiles/kakarot_precompiles.cairo
+2 −4 cairo_zero/kakarot/precompiles/precompiles.cairo
+13 −13 cairo_zero/kakarot/precompiles/precompiles_helpers.cairo
+5 −5 cairo_zero/kakarot/storages.cairo
+219 −0 cairo_zero/tests/src/kakarot/precompiles/generate_modexp_data.py
+0 −3 cairo_zero/tests/src/kakarot/precompiles/test_precompiles.cairo
+15 −93 cairo_zero/tests/src/kakarot/precompiles/test_precompiles.py
+11 −11 cairo_zero/tests/src/kakarot/test_gas.cairo
+35 −20 cairo_zero/tests/src/kakarot/test_gas.py
+5 −25 cairo_zero/tests/src/kakarot/test_kakarot.cairo
+138 −34 cairo_zero/tests/src/kakarot/test_kakarot.py
+8 −7 cairo_zero/tests/src/utils/test_bytes.py
+27 −1 cairo_zero/tests/src/utils/test_eth_transaction.py
+13 −0 cairo_zero/tests/src/utils/test_utils.py
+9 −0 cairo_zero/utils/eth_transaction.cairo
+5 −0 cairo_zero/utils/utils.cairo
+4 −4 deployments/mainnet/declarations.json
+4 −4 deployments/sepolia/declarations.json
+4 −4 deployments/staging/declarations.json
+137 −8 docs/general/cairo_precompiles.md
+31 −3 kakarot_scripts/compile_kakarot.py
+2 −0 kakarot_scripts/constants.py
+6 −0 kakarot_scripts/deployment/kakarot_deployment.py
+0 −8 kakarot_scripts/deployment/main.py
+0 −116 kakarot_scripts/deployment/messaging_deployments.py
+1 −1 kakarot_scripts/setup/setup.py
+1 −1 kakarot_scripts/utils/deploy_oz.py
+2 −3 kakarot_scripts/utils/kakarot.py
+59 −38 kakarot_scripts/utils/starknet.py
+1 −1 solidity_contracts/src/CairoPrecompiles/CallCairoPrecompileTest.sol
+31 −14 solidity_contracts/src/CairoPrecompiles/DualVmToken.sol
+0 −45 solidity_contracts/src/L1L2Messaging/AddressAliasHelper.sol
+0 −61 solidity_contracts/src/L1L2Messaging/L1KakarotMessaging.sol
+0 −14 solidity_contracts/src/L1L2Messaging/L2KakarotMessaging.sol
+0 −63 solidity_contracts/src/L1L2Messaging/MessageAppL1.sol
+0 −31 solidity_contracts/src/L1L2Messaging/MessageAppL2.sol
+80 −0 solidity_contracts/src/NoDelegateCall/DualVmTokenHack.sol
+372 −0 solidity_contracts/src/NoDelegateCall/DualVmTokenWithoutModifier.sol
+28 −0 solidity_contracts/src/NoDelegateCall/NoDelegateCall.sol
+0 −70 solidity_contracts/tests/L1KakarotMessage.t.sol
+3 −7 tests/end_to_end/CairoPrecompiles/test_call_cairo_precompile.py
+120 −0 tests/end_to_end/CairoPrecompiles/test_dual_vm_token.py
+3 −7 tests/end_to_end/CairoPrecompiles/test_multicall_cairo_precompile.py
+2 −4 tests/end_to_end/CairoPrecompiles/test_whitelisted_call_cairo_precompile.py
+0 −181 tests/end_to_end/L1L2Messaging/test_messaging.py
+174 −0 tests/end_to_end/NoDelegateCall/test_dual_vm_token_hack.py
+1 −1 tests/end_to_end/conftest.py
+20 −19 tests/utils/constants.py
+18 −1 tests/utils/hints.py
+8 −2 tests/utils/syscall_handler.py
Loading