File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 18
18
| Error IDs | Snippet |
19
19
| ----------:| :--------------------------------------------------------------------------------------------|
20
20
| 0..10 | [ ` MerkleVerify ` ] ( hashing/merkle_verify.rs ) |
21
- | 10..11 | [ ` MmrVerifyFromSecretInLeafIndexOnStack ` ] ( mmr/verify_from_secret_in_leaf_index_on_stack.rs ) |
22
- | 11..20 | [ ` BagPeaks ` ] ( mmr/bag_peaks.rs ) |
21
+ | 10..20 | [ ` MmrVerifyFromSecretInLeafIndexOnStack ` ] ( mmr/verify_from_secret_in_leaf_index_on_stack.rs ) |
23
22
| 20..30 | [ ` MmrVerifyFromSecretInSecretLeafIndex ` ] ( mmr/verify_from_secret_in_secret_leaf_index.rs ) |
24
23
| 30..40 | [ ` VerifyFriAuthenticationPaths ` ] ( verifier/fri/verify_fri_authentication_paths.rs ) |
25
24
| 40..50 | [ ` VerifyTableRows ` ] ( verifier/master_table/verify_table_rows.rs ) |
65
64
| 530..540 | [ ` u128::ShiftLeft ` ] ( arithmetic/u128/shift_left.rs ) |
66
65
| 540..550 | [ ` u128::ShiftRight ` ] ( arithmetic/u128/shift_right.rs ) |
67
66
| 550..560 | [ ` list::Range ` ] ( list/range.rs ) |
67
+ | 560..570 | [ ` BagPeaks ` ] ( mmr/bag_peaks.rs ) |
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ use crate::traits::basic_snippet::SignOffFingerprint;
39
39
pub struct BagPeaks ;
40
40
41
41
impl BagPeaks {
42
- const INCONSISTENT_PEAKS_NUM : usize = 11 ;
42
+ const INCONSISTENT_NUM_PEAKS_ERROR_ID : usize = 560 ;
43
43
}
44
44
45
45
impl BasicSnippet for BagPeaks {
@@ -85,7 +85,7 @@ impl BasicSnippet for BagPeaks {
85
85
dup 1 eq
86
86
// _ *peaks [leaf_count] pop_count (num_peaks==pop_count)
87
87
88
- assert error_id { Self :: INCONSISTENT_PEAKS_NUM }
88
+ assert error_id { Self :: INCONSISTENT_NUM_PEAKS_ERROR_ID }
89
89
hint num_peaks: u32 = stack[ 0 ]
90
90
// _ *peaks [leaf_count] num_peaks
91
91
You can’t perform that action at this time.
0 commit comments