updated cairo-lang deps to version 2.19#1620
Merged
Merged
Conversation
Benchmarking resultsBenchmark for program
|
| Command | Mean [s] | Min [s] | Max [s] | Relative |
|---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
10.511 ± 0.196 | 10.360 | 10.965 | 5.66 ± 0.11 |
cairo-native (embedded AOT) |
1.856 ± 0.011 | 1.846 | 1.884 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
1.873 ± 0.007 | 1.862 | 1.882 | 1.01 ± 0.01 |
Benchmark for program dict_snapshot
Open benchmarks
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
558.0 ± 9.6 | 548.8 | 579.4 | 1.00 |
cairo-native (embedded AOT) |
1671.5 ± 5.8 | 1659.1 | 1677.6 | 3.00 ± 0.05 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
1692.0 ± 7.0 | 1673.1 | 1697.3 | 3.03 ± 0.05 |
Benchmark for program factorial_2M
Open benchmarks
| Command | Mean [s] | Min [s] | Max [s] | Relative |
|---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
4.777 ± 0.026 | 4.738 | 4.812 | 2.21 ± 0.01 |
cairo-native (embedded AOT) |
2.159 ± 0.005 | 2.149 | 2.165 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
2.209 ± 0.090 | 2.166 | 2.463 | 1.02 ± 0.04 |
Benchmark for program fib_2M
Open benchmarks
| Command | Mean [s] | Min [s] | Max [s] | Relative |
|---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
4.732 ± 0.099 | 4.669 | 4.983 | 2.83 ± 0.06 |
cairo-native (embedded AOT) |
1.674 ± 0.010 | 1.657 | 1.692 | 1.00 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
1.691 ± 0.007 | 1.675 | 1.697 | 1.01 ± 0.01 |
Benchmark for program linear_search
Open benchmarks
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
593.2 ± 7.2 | 585.0 | 605.6 | 1.00 |
cairo-native (embedded AOT) |
1694.1 ± 12.4 | 1682.1 | 1722.9 | 2.86 ± 0.04 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
1722.6 ± 10.5 | 1709.8 | 1738.6 | 2.90 ± 0.04 |
Benchmark for program logistic_map
Open benchmarks
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
Cairo-vm (Rust, Cairo 1) |
505.9 ± 4.4 | 500.4 | 512.7 | 1.00 |
cairo-native (embedded AOT) |
1839.2 ± 4.9 | 1829.8 | 1846.1 | 3.64 ± 0.03 |
cairo-native (embedded JIT using LLVM's ORC Engine) |
1962.6 ± 7.5 | 1951.6 | 1976.7 | 3.88 ± 0.04 |
Benchmark results Main vs HEAD.Base
Head
Base
Head
Base
Head
Base
Head
Base
Head
Base
Head
|
TomerStarkware
force-pushed
the
tomer/update_sierra_2.19
branch
from
May 24, 2026 11:54
bf31c89 to
cef4cb3
Compare
orizi
approved these changes
May 24, 2026
orizi
left a comment
Collaborator
There was a problem hiding this comment.
@orizi reviewed 36 files and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on dorimedini-starkware).
TomerStarkware
force-pushed
the
tomer/update_sierra_2.19
branch
4 times, most recently
from
May 25, 2026 08:09
384021b to
af4008a
Compare
TomerStarkware
force-pushed
the
tomer/update_sierra_2.19
branch
from
May 25, 2026 10:25
af4008a to
8d59c20
Compare
TomerStarkware
enabled auto-merge
May 25, 2026 12:46
TomerStarkware
disabled auto-merge
May 25, 2026 12:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update cairo-lang dependencies to version 2.19
Closes #NA
Bumps cairo-lang dependencies from ~2.17.0-rc.4 to ~2.19.0-rc.0, along with Scarb / Cairo toolchain versions in the Makefile and the vendored cairo submodule (now tracking v2.19.0-rc.0).
The bump pulls in new Sierra constructs that required matching support on the native side:
BoundedInt, no separate codegen path.
preserve the Copy semantics of Sha512StateHandle in corelib (same approach we use for SHA-256). Stub handler uses sha2::compress512; gas cost is 4733 * STEP + 65 * RANGE_CHECK + 3320 * BITWISE.
All StarknetSyscallHandler impls across examples and tests gained an unimplemented!() (or Ok(()) in syscalls test) stub for sha512_process_block.
Introduces Breaking Changes?
Yes — StarknetSyscallHandler gains a required sha512_process_block method. Any downstream impl must add it.
These PRs should be merged after this one right away, in that order.
Checklist
This change is