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.8 #1541

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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 .github/workflows/rust_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: install foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
version: nightly-a79dfaed6fc6f88cda5f314a25d1b484d9d8c051

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be necessary anymore
The issue is closed and should be fixed normally foundry-rs/foundry#9349
cc @enitrat

# Install UV
- uses: astral-sh/setup-uv@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion lib/kakarot
Submodule kakarot updated 60 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
+30 −2 cairo_zero/backend/starknet.cairo
+7 −2 cairo_zero/kakarot/accounts/library.cairo
+33 −11 cairo_zero/kakarot/gas.cairo
+3 −5 cairo_zero/kakarot/instructions/system_operations.cairo
+7 −10 cairo_zero/kakarot/interpreter.cairo
+22 −5 cairo_zero/kakarot/library.cairo
+37 −4 cairo_zero/kakarot/precompiles/kakarot_precompiles.cairo
+1 −3 cairo_zero/kakarot/precompiles/precompiles.cairo
+13 −9 cairo_zero/kakarot/precompiles/precompiles_helpers.cairo
+5 −1 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
+22 −25 cairo_zero/tests/src/kakarot/precompiles/test_precompiles.py
+11 −11 cairo_zero/tests/src/kakarot/test_gas.cairo
+28 −18 cairo_zero/tests/src/kakarot/test_gas.py
+5 −0 cairo_zero/tests/src/kakarot/test_kakarot.cairo
+138 −3 cairo_zero/tests/src/kakarot/test_kakarot.py
+8 −7 cairo_zero/tests/src/utils/test_bytes.py
+4 −4 deployments/mainnet/declarations.json
+4 −4 deployments/sepolia/declarations.json
+4 −4 deployments/staging/declarations.json
+172 −8 docs/general/cairo_precompiles.md
+1 −1 kakarot_scripts/setup/setup.py
+1 −1 kakarot_scripts/utils/deploy_oz.py
+1 −2 kakarot_scripts/utils/kakarot.py
+1 −1 solidity_contracts/src/CairoPrecompiles/CallCairoPrecompileTest.sol
+16 −10 solidity_contracts/src/CairoPrecompiles/DualVmToken.sol
+6 −2 solidity_contracts/src/L1L2Messaging/L2KakarotMessaging.sol
+80 −0 solidity_contracts/src/NoDelegateCall/DualVmTokenHack.sol
+372 −0 solidity_contracts/src/NoDelegateCall/DualVmTokenWithoutModifier.sol
+18 −0 solidity_contracts/src/NoDelegateCall/L2KakarotMessagingHack.sol
+28 −0 solidity_contracts/src/NoDelegateCall/NoDelegateCall.sol
+3 −7 tests/end_to_end/CairoPrecompiles/test_call_cairo_precompile.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
+174 −0 tests/end_to_end/NoDelegateCall/test_dual_vm_token_hack.py
+35 −0 tests/end_to_end/NoDelegateCall/test_l2_messaging_hack.py
+1 −1 tests/end_to_end/conftest.py
+8 −2 tests/utils/syscall_handler.py
Loading