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

feat(blockifier): update cairo native to 0.2.2-alpha.0 #2076

Open
wants to merge 4 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
9 changes: 4 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ cairo-lang-sierra-to-casm = "2.9.0-dev.0"
cairo-lang-starknet-classes = "2.9.0-dev.0"
cairo-lang-utils = "2.9.0-dev.0"
# Important: when updated, make sure to update the cairo-native submodule as well.
cairo-native = "0.2.1-alpha.0"
cairo-native = "0.2.2-alpha.0"
cairo-vm = "=1.0.1"
camelpaste = "0.1.0"
chrono = "0.4.26"
Expand Down
1 change: 0 additions & 1 deletion crates/blockifier/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ ark-secp256r1.workspace = true
cached.workspace = true
cairo-lang-casm = { workspace = true, features = ["parity-scale-codec"] }
cairo-lang-runner.workspace = true
cairo-lang-sierra.workspace = true
cairo-lang-starknet-classes.workspace = true
cairo-native = { workspace = true, optional = true }
cairo-vm.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/blockifier/cairo_native
Submodule cairo_native updated 72 files
+19 −0 .github/ISSUE_TEMPLATE/daily_failure.md
+36 −0 .github/actions/install-linux-deps/action.yml
+2 −6 .github/workflows/bench-hyperfine.yml
+175 −0 .github/workflows/daily.yml
+150 −0 .github/workflows/starknet-blocks.yml
+64 −63 Cargo.lock
+3 −2 Cargo.toml
+2 −1 Makefile
+18 −82 benches/benches.rs
+17 −0 benches/compile_time.rs
+54 −3 benches/libfuncs.rs
+15 −1 docs/sierra.md
+8 −0 examples/erc20.rs
+8 −0 examples/starknet.rs
+8 −3 programs/benches/factorial_2M.c
+8 −3 programs/benches/fib_2M.c
+8 −3 programs/benches/logistic_map.c
+42 −48 programs/compile_benches/dijkstra.cairo
+8 −17 programs/compile_benches/extended_euclidean_algorithm.cairo
+78 −27 programs/compile_benches/fast_power.cairo
+0 −285 programs/compile_benches/sha256.cairo
+539 −0 programs/compile_benches/sha512.cairo
+1 −1 runtime/Cargo.toml
+28 −1 runtime/src/lib.rs
+10 −38 scripts/bench-hyperfine.sh
+51 −0 scripts/cmp_state_dumps.sh
+30 −0 scripts/diff-check.sh
+2 −9 src/arch/aarch64.rs
+2 −9 src/arch/x86_64.rs
+1 −0 src/bin/utils/mod.rs
+13 −12 src/cache/aot.rs
+10 −8 src/cache/jit.rs
+20 −11 src/compiler.rs
+107 −0 src/error.rs
+81 −32 src/executor.rs
+51 −3 src/executor/aot.rs
+328 −46 src/executor/contract.rs
+23 −2 src/executor/jit.rs
+2 −1 src/ffi.rs
+13 −8 src/libfuncs.rs
+28 −17 src/libfuncs/array.rs
+43 −10 src/libfuncs/bounded_int.rs
+4 −1 src/libfuncs/cast.rs
+5 −3 src/libfuncs/circuit.rs
+10 −5 src/libfuncs/const.rs
+2 −2 src/libfuncs/debug.rs
+9 −4 src/libfuncs/enum.rs
+9 −2 src/libfuncs/felt252.rs
+2 −2 src/libfuncs/felt252_dict_entry.rs
+3 −2 src/libfuncs/function_call.rs
+125 −33 src/libfuncs/gas.rs
+181 −0 src/libfuncs/int_range.rs
+456 −602 src/libfuncs/starknet.rs
+676 −1,507 src/libfuncs/starknet/secp256.rs
+40 −7 src/metadata/gas.rs
+44 −0 src/metadata/runtime_bindings.rs
+43 −2 src/starknet.rs
+8 −0 src/starknet_stub.rs
+24 −9 src/types.rs
+19 −24 src/types/array.rs
+6 −2 src/types/builtin_costs.rs
+46 −0 src/types/int_range.rs
+110 −2 src/utils.rs
+87 −1 src/utils/block_ext.rs
+65 −3 src/values.rs
+6 −6 tests/alexandria/Scarb.lock
+4 −4 tests/alexandria/Scarb.toml
+33 −17 tests/common.rs
+13 −2 tests/tests/starknet/keccak.rs
+6 −1 tests/tests/starknet/programs/syscalls.cairo
+8 −0 tests/tests/starknet/secp256.rs
+28 −0 tests/tests/starknet/syscalls.rs
Loading
Loading