File tree Expand file tree Collapse file tree 4 files changed +21
-21
lines changed
batcher/aligned-sdk/src/sdk Expand file tree Collapse file tree 4 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ impl Risc0ImageIdAndPubInputs {
2222 }
2323}
2424
25- // Note: this MerkleTreeBackend is defined in three places
26- // aggregation_mode/src/aggregators/mod.rs
27- // aggregation_mode/src/aggregators/risc0_aggregator.rs and
28- // aggregation_mode/src/aggregators/sp1_aggregator.rs
25+ // Note: this MerkleTreeBackend is defined in three locations
26+ // - aggregation_mode/src/aggregators/mod.rs
27+ // - aggregation_mode/src/aggregators/risc0_aggregator.rs
28+ // - aggregation_mode/src/aggregators/sp1_aggregator.rs
2929// All 3 implementations should match
3030// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1,
3131// Additionally, a version that takes the leaves as already hashed data is defined on:
32- // batcher/aligned-sdk/src/sdk/aggregation.rs
32+ // - batcher/aligned-sdk/src/sdk/aggregation.rs
3333// This one is used in the SDK since,
3434// the user may not have access to the proofs that he didn't submit
3535impl IsMerkleTreeBackend for Risc0ImageIdAndPubInputs {
Original file line number Diff line number Diff line change @@ -19,16 +19,16 @@ impl SP1VkAndPubInputs {
1919 }
2020}
2121
22- // Note: this MerkleTreeBackend is defined in three places
23- // aggregation_mode/src/aggregators/mod.rs
24- // aggregation_mode/src/aggregators/risc0_aggregator.rs and
25- // aggregation_mode/src/aggregators/sp1_aggregator.rs
22+ // Note: this MerkleTreeBackend is defined in three locations
23+ // - aggregation_mode/src/aggregators/mod.rs
24+ // - aggregation_mode/src/aggregators/risc0_aggregator.rs and
25+ // - aggregation_mode/src/aggregators/sp1_aggregator.rs
2626// All 3 implementations should match
2727// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1,
2828// Additionally, a version that takes the leaves as already hashed data is defined on:
29- // batcher/aligned-sdk/src/sdk/aggregation.rs
30- // This one is used in the SDK since,
31- // the user may not have access to the proofs that he didn't submit
29+ // - batcher/aligned-sdk/src/sdk/aggregation.rs
30+ // This one is used in the SDK since
31+ // the user may not have access to the proofs that they didn't submit
3232impl IsMerkleTreeBackend for SP1VkAndPubInputs {
3333 type Data = SP1VkAndPubInputs ;
3434 type Node = [ u8 ; 32 ] ;
Original file line number Diff line number Diff line change @@ -132,14 +132,14 @@ impl AlignedProof {
132132/// — Public inputs.
133133///
134134/// Intermediate nodes in the tree are formed by computing the keccak pairs of child nodes.
135- // Note: this MerkleTreeBackend is defined in three places
136- // aggregation_mode/src/aggregators/mod.rs
137- // aggregation_mode/src/aggregators/risc0_aggregator.rs and
138- // aggregation_mode/src/aggregators/sp1_aggregator.rs
135+ // Note: this MerkleTreeBackend is defined in three locations
136+ // - aggregation_mode/src/aggregators/mod.rs
137+ // - aggregation_mode/src/aggregators/risc0_aggregator.rs
138+ // - aggregation_mode/src/aggregators/sp1_aggregator.rs
139139// All 3 implementations should match
140140// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1,
141141// Additionally, a version that takes the leaves as already hashed data is defined on:
142- // batcher/aligned-sdk/src/sdk/aggregation.rs
142+ // - batcher/aligned-sdk/src/sdk/aggregation.rs
143143// This one is used in the SDK since,
144144// the user may not have access to the proofs that he didn't submit
145145impl IsMerkleTreeBackend for AlignedProof {
Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ pub struct Hash32([u8; 32]);
5555// Note:
5656// We define a version of the backend that takes the leaves as hashed data
5757// since the user may not have access to the proofs that he didn't submit
58- // The original MerkleTreeBackend is defined in three places
59- // aggregation_mode/src/aggregators/mod.rs
60- // aggregation_mode/src/aggregators/risc0_aggregator.rs and
61- // aggregation_mode/src/aggregators/sp1_aggregator.rs
58+ // The original MerkleTreeBackend is defined in three locations
59+ // - aggregation_mode/src/aggregators/mod.rs
60+ // - aggregation_mode/src/aggregators/risc0_aggregator.rs
61+ // - aggregation_mode/src/aggregators/sp1_aggregator.rs
6262// The definition on aggregator/mod.rs supports taking proofs from both Risc0 and SP1
6363// Hashes of all implementations should match
6464impl IsMerkleTreeBackend for Hash32 {
You can’t perform that action at this time.
0 commit comments