Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
099674e
Change tree_take_n to work with spans. (#1250)
ilyalesokhin-starkware Aug 26, 2025
c665885
Add ColumnsIndicesPerTreeByDegreeBound. (#1252)
ilyalesokhin-starkware Aug 26, 2025
a79684d
Refactor column log bounds calculation (#1253)
ilyalesokhin-starkware Aug 26, 2025
b4aec70
Refactor merkle to work with ColumnsIndicesByDegreeBound. (#1255)
ilyalesokhin-starkware Aug 26, 2025
01e9a72
Small fixes. (#1258)
ilyalesokhin-starkware Aug 27, 2025
5a1edf3
Update codeowners. (#1259)
gilbens-starkware Aug 27, 2025
b33b042
Check 4 msb bits in combine_felt252. (#1262)
ilyalesokhin-starkware Aug 27, 2025
673de57
Remove composition_log_degree_bound computation. (#1246)
ilyalesokhin-starkware Aug 27, 2025
1a029d9
Move internal `tree_take_n` to the end of the file. (#1263)
ilyalesokhin-starkware Aug 27, 2025
d9bd0d1
Replace zip with zip_eq (#1260)
alon-f Aug 27, 2025
14acd2e
Use zip_eq. (#1266)
ilyalesokhin-starkware Aug 27, 2025
6193885
Rename alpha_mul_c_idx -> indexed_alpha_mul_c. (#1264)
ilyalesokhin-starkware Aug 27, 2025
608c9e8
Refactor decommit_inner_layers. (#1271)
ilyalesokhin-starkware Aug 27, 2025
d834c73
Remove support for PoW of 64 bits. (#1257)
leo-starkware Aug 27, 2025
e9e6fb2
Fix check for generic opcode existence. (#1272)
ilyalesokhin-starkware Aug 28, 2025
c355a01
Rename draw_random_base_felts. (#1283)
leo-starkware Aug 28, 2025
acab6b7
Refactor OpcodeComponentsTrait::new. (#1275)
ilyalesokhin-starkware Aug 28, 2025
5f8ddb5
Refactor accumulate_row_quotients. (#1265)
ilyalesokhin-starkware Aug 28, 2025
0617421
Rename Variable to Section (to Frydberg with Love)
Gali-StarkWare Aug 27, 2025
1448438
Add docs. (#1268)
leo-starkware Aug 28, 2025
03288ba
Add docs to assert. (#1284)
leo-starkware Aug 28, 2025
034fa8d
Rename pack4. (#1289)
leo-starkware Aug 28, 2025
ef6c2e7
Rename get_flattened_samples -> zip_samples and refactor it. (#1287)
ilyalesokhin-starkware Aug 28, 2025
a28d0fd
Unify feature dependent uses (#1270) (#1285)
alon-f Aug 28, 2025
505b63d
Change mix_root and add docs to ChannelTrait. (#1256)
leo-starkware Aug 28, 2025
be463f1
Remove snapshot from type. (#1290)
ilyalesokhin-starkware Aug 28, 2025
efea771
Move add_length_padding to utils. (#1280)
leo-starkware Aug 28, 2025
e9fcb98
Move construct_f252_be() to Utils (#1295)
Gali-StarkWare Aug 30, 2025
7b90e09
pcs Pre-Audit
Gali-StarkWare Aug 28, 2025
c4d4403
Add docs to quotient denominators. (#1288)
leo-starkware Aug 31, 2025
7289402
Add doc for the pcs module (#1286)
alon-f Aug 31, 2025
38b8887
Refactor scarb tests. (#1197)
gilbens-starkware Sep 2, 2025
89f7ea0
Check that all the queried_values were consumed. (#1311)
ilyalesokhin-starkware Sep 2, 2025
bd7acb7
Remove FriVerifier.queries. (#1309)
ilyalesokhin-starkware Sep 2, 2025
7f7ed25
Mix Ids of Memory Sections in Poseidon
Gali-StarkWare Aug 28, 2025
d6ac05e
Refactor and Mix Ids of Memory Sections in Blake
Gali-StarkWare Aug 28, 2025
7ac418e
Mix Ids of Output Memory Section in Prover
Gali-StarkWare Aug 28, 2025
17a1b4c
Proofs Updates
Gali-StarkWare Aug 31, 2025
e24a89b
Mix Program Memory Section
Gali-StarkWare Sep 2, 2025
6363604
Encode All Coordinates of QM31 Point
Gali-StarkWare Sep 2, 2025
01e7c1e
Delete mix_u32s()
Gali-StarkWare Sep 2, 2025
46bf921
Remove `ChannelTime`. (#1254)
leo-starkware Aug 26, 2025
b233dee
Fix asserts. (#1320)
ilyalesokhin-starkware Sep 2, 2025
1034245
Lower bound proof of work bits (#1312)
alon-f Sep 2, 2025
b6342fa
Remove module in m31(...). (#1244) (#1321)
ilyalesokhin-starkware Sep 2, 2025
f1eb8be
Unpack commitments into exactly 4 commitements (#1318)
alon-f Sep 2, 2025
968c101
Bump stwo version. (#1322)
ilyalesokhin-starkware Sep 3, 2025
2dc1530
Use mul_unreduced for QM31::mul and mul_cm31 in naive impl (#1323)
dancarmoz Sep 3, 2025
51bc904
Update PoseidonMerkleHasher. (#1324)
ilyalesokhin-starkware Sep 3, 2025
81fceff
Fix degree_bound > log_degree_bound + and left over log_size. (#1304)
ilyalesokhin-starkware Sep 3, 2025
92bc052
Pad word length in hash_u32s poseidon.
leo-starkware Aug 27, 2025
3cb0c4f
Refactoring of unpacked.cairo, and use unreduced mul from CM31::mul (…
dancarmoz Sep 3, 2025
409481a
Document lack of domain separation. (#1326)
ilyalesokhin-starkware Sep 3, 2025
2d22cc7
Add channel salt. (#1293)
gilbens-starkware Sep 3, 2025
1c76c3c
Refactor unpacked unreduced multiplication (qm using cm)
Sep 3, 2025
8663128
Domain Separation in Blake
Gali-StarkWare Sep 3, 2025
055aed8
Optimize computation of quotient denominator in both configurations (…
dancarmoz Sep 3, 2025
ecead7a
domain separation between mix and draw in poseidon channel (#1337)
alon-f Sep 4, 2025
3730fa5
Use trivial batch inversion for M31 and CM31 in opcode config (#1338)
dancarmoz Sep 4, 2025
452d8b5
Use fused_mul_add in fold_line and fold_circle (#1339)
dancarmoz Sep 4, 2025
72adc17
Compute QM31::from_partial_evals more efficiently in naive usecase (#…
dancarmoz Sep 4, 2025
ff3eacc
Fix poseidon not compiling with unsafe. (#1344)
gilbens-starkware Sep 7, 2025
e072dd3
Fix *_log_size -> *_log_sizes. (#1345)
ilyalesokhin-starkware Sep 8, 2025
8b75e5f
Fix comment. (#1335)
ilyalesokhin-starkware Sep 8, 2025
27e055c
Refactor. (#1334)
ilyalesokhin-starkware Sep 8, 2025
daf7321
Split PoW verification and mixing. (#1327)
leo-starkware Sep 8, 2025
72b8caf
Move .tool-versions to root dir (#1296)
alon-f Sep 8, 2025
e646aed
Domain separation comment. (#1336)
ilyalesokhin-starkware Sep 9, 2025
bf70967
Rename Degree Bound Variable in CairoAir
Gali-StarkWare Sep 9, 2025
d5f1f89
Bump stwo dependency. (#1356)
leo-starkware Sep 10, 2025
c273eed
Simplify accumulate_row_quotients. (#1349)
ilyalesokhin-starkware Sep 10, 2025
29c5363
Remove support for last layer log degree > 0. (#1359)
ilyalesokhin-starkware Sep 11, 2025
cf91984
Use for loop. (#1364)
ilyalesokhin-starkware Sep 11, 2025
9e7524c
Add domain separation. (#1361)
ilyalesokhin-starkware Sep 11, 2025
defc977
Blake Utils Audit Fixes
Gali-StarkWare Sep 11, 2025
7497c6c
Use zip_eq. (#1369)
leo-starkware Sep 14, 2025
e4c666c
Small Audit fixes
Gali-StarkWare Sep 14, 2025
670c2c0
Refactor decommit_inner_layers. (#1365)
ilyalesokhin-starkware Sep 15, 2025
2124672
Add draw_u32s and remove draw_random_bytes. (#1366)
leo-starkware Sep 15, 2025
d3e2460
Refactor deconstruct_f252. (#1370)
leo-starkware Sep 16, 2025
ce540b1
Remove clone_subset usage. (#1381)
ilyalesokhin-starkware Sep 16, 2025
51d0fd6
Add type (#1371)
alon-f Sep 16, 2025
c855cd1
Poseidon Audit Fixes
Gali-StarkWare Sep 10, 2025
b9f402f
Blake Audit Tasks
Gali-StarkWare Sep 9, 2025
9034918
Remove result in extract_composition_eval. (#1379)
leo-starkware Sep 16, 2025
2671db4
Small fixes. (#1387)
leo-starkware Sep 16, 2025
9cd8ea8
Refactor fetch_prev_node_hash (#1372)
leo-starkware Sep 16, 2025
195a703
Refactor vcs verify. (#1373)
leo-starkware Sep 16, 2025
b0d583f
Increase Pow Bits
Gali-StarkWare Sep 16, 2025
8c2ed32
Auto Generated Code
Gali-StarkWare Sep 16, 2025
7ea037e
Manual Air Changes
Gali-StarkWare Sep 16, 2025
0831a9e
Delete max_constraint_log_degree_bound() from Cairo Verifier
Gali-StarkWare Sep 16, 2025
f0944e4
Move zeros in the middle of msg. (#1374)
leo-starkware Sep 16, 2025
5a06c7a
Change doc of length_padding (#1375)
alon-f Sep 16, 2025
bba5695
Change var name and add a comment (#1377)
alon-f Sep 17, 2025
40d70d5
Change 0 to Zero::zero (#1378)
alon-f Sep 17, 2025
3528068
Fix scarb toml to enable unsafe-panic. (#1393)
ilyalesokhin-starkware Sep 18, 2025
78af5d0
Refactor bug fix. (#1389)
ilyalesokhin-starkware Sep 21, 2025
93e63b0
Bump scarb version. (#1302)
ilyalesokhin-starkware Sep 21, 2025
fbd2817
Update cairo version (#1394)
anatgstarkware Sep 21, 2025
a2f6dd5
Remove CommitmentSchemeVerifier.config. (#1396)
ilyalesokhin-starkware Sep 21, 2025
fe762c3
Fix desnap workaround. (#1303)
ilyalesokhin-starkware Sep 21, 2025
f57087f
Bump compiler version to 2.12.4-dev.1. (#1400)
gilbens-starkware Sep 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
stwo_cairo_prover/crates/cairo-air/src/components/constraints_regression_test_values.rs @DavidLevitGurevich @shaharsamocha7 @anatgstarkware @gilbens-starkware
stwo_cairo_prover/crates/cairo-air/src/components/constraints_regression_test_values.rs @anatgstarkware @gilbens-starkware
72 changes: 48 additions & 24 deletions .github/workflows/cairo-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- checks_requested

jobs:
scarb-test:
scarb-fmt:
runs-on: stwo-cairo-avx-l
defaults:
run:
Expand All @@ -18,29 +18,53 @@ jobs:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.12.0"
scarb-version: "2.12.2"
- run: scarb fmt --check

scarb-lint:
runs-on: stwo-cairo-avx-l
defaults:
run:
working-directory: ./stwo_cairo_verifier
steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.12.2"
- run: scarb lint --features=qm31_opcode --deny-warnings
- run: scarb test --features=poseidon252_verifier --package stwo_verifier_core
- run: scarb test --features=poseidon252_verifier --package stwo_cairo_air
- run: scarb test --features=poseidon252_verifier --package stwo_cairo_verifier
- run: scarb test --features=poseidon252_verifier --package stwo_verifier_utils
- run: scarb --profile proving execute --package stwo_cairo_verifier --features poseidon252_verifier --print-resource-usage --output none --arguments-file ../stwo_cairo_prover/test_data/test_prove_verify_ret_opcode/proof.json
- run: scarb test --features=qm31_opcode --package stwo_verifier_core
- run: scarb test --features=qm31_opcode --package stwo_cairo_air
- run: scarb test --features=qm31_opcode --package stwo_cairo_verifier
- run: scarb test --features=qm31_opcode --package stwo_verifier_utils
- run: scarb --profile proving execute --package stwo_cairo_verifier --features qm31_opcode --print-resource-usage --output none --arguments-file ../stwo_cairo_prover/test_data/test_prove_verify_all_opcode_components/proof.json
- run: scarb test --features=qm31_opcode --features=blake_outputs_packing --package stwo_verifier_core
- run: scarb test --features=qm31_opcode --features=blake_outputs_packing --package stwo_cairo_air
- run: scarb test --features=qm31_opcode --features=blake_outputs_packing --package stwo_cairo_verifier
- run: scarb test --features=qm31_opcode --features=blake_outputs_packing --package stwo_verifier_utils
- run: scarb --profile proving execute --package stwo_cairo_verifier --features qm31_opcode --features blake_outputs_packing --print-resource-usage --output none --arguments-file ../stwo_cairo_prover/test_data/test_prove_verify_all_opcode_components/proof.json
- run: scarb test --features=qm31_opcode --features=poseidon_outputs_packing --package stwo_verifier_core
- run: scarb test --features=qm31_opcode --features=poseidon_outputs_packing --package stwo_cairo_air
- run: scarb test --features=qm31_opcode --features=poseidon_outputs_packing --package stwo_cairo_verifier
- run: scarb test --features=qm31_opcode --features=poseidon_outputs_packing --package stwo_verifier_utils
- run: scarb --profile proving execute --package stwo_cairo_verifier --features qm31_opcode --features poseidon_outputs_packing --print-resource-usage --output none --arguments-file ../stwo_cairo_prover/test_data/test_prove_verify_all_opcode_components/proof.json

scarb-test:
runs-on: stwo-cairo-avx-l
defaults:
run:
working-directory: ./stwo_cairo_verifier
strategy:
matrix:
feature: [poseidon252_verifier, qm31_opcode, "qm31_opcode,blake_outputs_packing", "qm31_opcode,poseidon_outputs_packing"]
package:
- stwo_verifier_core
- stwo_cairo_air
- stwo_cairo_verifier
- stwo_verifier_utils
include:
- feature: poseidon252_verifier
proof_file: ../stwo_cairo_prover/test_data/test_prove_verify_ret_opcode/proof.json
- feature: qm31_opcode
proof_file: ../stwo_cairo_prover/test_data/test_prove_verify_all_opcode_components/proof.json
- feature: "qm31_opcode,blake_outputs_packing"
proof_file: ../stwo_cairo_prover/test_data/test_prove_verify_all_opcode_components/proof.json
- feature: "qm31_opcode,poseidon_outputs_packing"
proof_file: ../stwo_cairo_prover/test_data/test_prove_verify_all_opcode_components/proof.json

steps:
- uses: actions/checkout@v3
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.12.2"
- run: scarb test --features=${{ matrix.feature }} --package ${{ matrix.package }}
- if: matrix.package == 'stwo_cairo_verifier'
run: scarb --profile proving execute --package stwo_cairo_verifier --features ${{ matrix.feature }} --print-resource-usage --output none --arguments-file ${{ matrix.proof_file }}

run-tests:
runs-on: stwo-cairo-avx-l
defaults:
Expand All @@ -54,7 +78,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.12.0"
scarb-version: "2.12.2"
- name: Install latest nextest release
uses: taiki-e/install-action@nextest
- name: Fetch cache
Expand All @@ -81,7 +105,7 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.12.0"
scarb-version: "2.12.2"
- name: Fetch cache
uses: Swatinem/rust-cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion stwo_cairo_verifier/.tool-versions → .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
scarb 2.12.0
scarb 2.12.2
starknet-foundry 0.33.0
Loading
Loading