Skip to content

Commit 746e958

Browse files
style: Clean up debug aid
Co-authored-by: Alan Szepieniec <[email protected]>
1 parent f92829e commit 746e958

3 files changed

+13
-14
lines changed

tasm-lib/benchmarks/tasmlib_verifier_stark_verify_inner_padded_height_256_fri_exp_4.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
{
33
"name": "tasmlib_verifier_stark_verify_inner_padded_height_256_fri_exp_4",
44
"benchmark_result": {
5-
"clock_cycle_count": 180166,
6-
"hash_table_height": 123013,
7-
"u32_table_height": 24954,
8-
"op_stack_table_height": 167760,
9-
"ram_table_height": 268641
5+
"clock_cycle_count": 180190,
6+
"hash_table_height": 123019,
7+
"u32_table_height": 24881,
8+
"op_stack_table_height": 167780,
9+
"ram_table_height": 268644
1010
},
1111
"case": "CommonCase"
1212
}

tasm-lib/benchmarks/tasmlib_verifier_stark_verify_inner_padded_height_512_fri_exp_4.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
{
33
"name": "tasmlib_verifier_stark_verify_inner_padded_height_512_fri_exp_4",
44
"benchmark_result": {
5-
"clock_cycle_count": 188913,
6-
"hash_table_height": 130705,
7-
"u32_table_height": 33133,
8-
"op_stack_table_height": 173884,
9-
"ram_table_height": 269819
5+
"clock_cycle_count": 188937,
6+
"hash_table_height": 130711,
7+
"u32_table_height": 33258,
8+
"op_stack_table_height": 173904,
9+
"ram_table_height": 269822
1010
},
1111
"case": "CommonCase"
1212
}

tasm-lib/src/verifier/stark_verify.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ impl StarkVerify {
102102
.unwrap();
103103

104104
// Extension challenge weights
105-
proof_stream.sample_scalars(Challenges::SAMPLE_COUNT);
105+
let _challenges = proof_stream.sample_scalars(Challenges::SAMPLE_COUNT);
106106

107107
// Extension-table Merkle root
108108
let _ext_mt_root = proof_stream
@@ -122,7 +122,7 @@ impl StarkVerify {
122122
.unwrap();
123123

124124
// Out-of-domain point current row
125-
proof_stream.sample_scalars(1);
125+
let _out_of_domain_point_curr_row = proof_stream.sample_scalars(1);
126126

127127
// Five out-of-domain values
128128
proof_stream
@@ -694,6 +694,7 @@ impl BasicSnippet for StarkVerify {
694694
call {get_challenges}
695695
// _ *b_mr *p_iter padded_height *fri *challenges
696696

697+
// verify that the challenges are stored at the right place
697698
{&verify_challenges_pointer}
698699
// _ *b_mr *p_iter padded_height *fri
699700

@@ -800,8 +801,6 @@ impl BasicSnippet for StarkVerify {
800801
call {inner_product_quotient_summands}
801802
// _ *b_mr *p_iter *oodpnts *fri *e_mr *odd_brow_nxt *quot_mr *ood_erow_nxt *ood_brow_curr *ood_erow_curr [sum_of_evaluated_out_of_domain_quotient_segments] [out_of_domain_quotient_value]
802803

803-
break
804-
805804
/* Verify quotient's segments */
806805
{&assert_top_two_xfes_eq}
807806
// _ *b_mr *p_iter *oodpnts *fri *e_mr *odd_brow_nxt *quot_mr *ood_erow_nxt *ood_brow_curr *ood_erow_curr

0 commit comments

Comments
 (0)