File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
aggregation_mode/src/backend Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ use config::Config;
2121use fetcher:: { ProofsFetcher , ProofsFetcherError } ;
2222use merkle_tree:: compute_proofs_merkle_root;
2323use risc0_ethereum_contracts:: encode_seal;
24+ use sp1_sdk:: HashableKey ;
2425use std:: str:: FromStr ;
2526use tracing:: { error, info, warn} ;
2627use types:: { AlignedProofAggregationService , AlignedProofAggregationServiceContract } ;
@@ -156,11 +157,13 @@ impl ProofAggregator {
156157 ) -> Result < TransactionReceipt , AggregatedProofSubmissionError > {
157158 let res = match aggregated_proof {
158159 AlignedProof :: SP1 ( proof) => {
160+ let vk_hash = proof. vk . hash_bytes ( ) ;
159161 self . proof_aggregation_service
160162 . verifySP1 (
161163 blob_versioned_hash. into ( ) ,
162164 proof. proof_with_pub_values . public_values . to_vec ( ) . into ( ) ,
163165 proof. proof_with_pub_values . bytes ( ) . into ( ) ,
166+ vk_hash. into ( ) ,
164167 )
165168 . sidecar ( blob)
166169 . send ( )
@@ -175,6 +178,7 @@ impl ProofAggregator {
175178 blob_versioned_hash. into ( ) ,
176179 encoded_seal. into ( ) ,
177180 proof. receipt . journal . bytes . into ( ) ,
181+ proof. image_id . into ( ) ,
178182 )
179183 . sidecar ( blob)
180184 . send ( )
You can’t perform that action at this time.
0 commit comments