Skip to content

Commit dddbf1c

Browse files
author
Gilad Chase
committed
refactor: use stwo_air_utils for par air generation
- follows current design in stwo-cairo for this opcode. - inline write_trace_row - add LookupData that wraps InteractionClaimGenerator fields, which also holds n_calls. - fix edge cases if input is smaller than LOG_N_LANES
1 parent f0a68be commit dddbf1c

File tree

11 files changed

+311
-308
lines changed

11 files changed

+311
-308
lines changed

Cargo.lock

Lines changed: 90 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,18 @@ num-traits = "0.2.17"
2222
paste = "1.0"
2323
pretty_assertions = "1.4.1"
2424
rand = "0.8.5"
25+
rayon = { version = "1.10.0" }
2526
ruint = "1.12.3"
2627
serde = "1.0.207"
2728
serde_json = "1.0.1"
2829
sonic-rs = "0.3.10"
2930
starknet-ff = "0.3.7"
31+
stwo-air-utils = { git = "https://github.com/starkware-libs/stwo", rev = "bede666c" }
32+
stwo-air-utils-derive = { git = "https://github.com/starkware-libs/stwo", rev = "bede666c" }
3033
# TODO(ShaharS): take stwo version from the source repository.
31-
stwo-prover = { git = "https://github.com/starkware-libs/stwo", rev = "bede666c" }
34+
stwo-prover = { git = "https://github.com/starkware-libs/stwo", rev = "bede666c", features = [
35+
"parallel",
36+
] }
3237
thiserror = "1.0.63"
3338
tracing = "0.1.40"
3439
tracing-subscriber = "0.3.18"

crates/prover/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@ cairo-vm.workspace = true
1010
hex.workspace = true
1111
itertools.workspace = true
1212
num-traits.workspace = true
13+
rayon.workspace = true
1314
serde.workspace = true
1415
sonic-rs.workspace = true
16+
stwo-air-utils.workspace = true
17+
stwo-air-utils-derive.workspace = true
1518
stwo-prover.workspace = true
1619
thiserror.workspace = true
1720
tracing.workspace = true

0 commit comments

Comments
 (0)