Skip to content

Commit d0a4be6

Browse files
committed
feat: local verification of aggregated risc0 proof
1 parent b137020 commit d0a4be6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

aggregation_mode/src/aggregators/risc0_aggregator.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ pub(crate) fn aggregate_proofs(
7979
.map_err(|e| ProofAggregationError::Risc0Proving(e.to_string()))?
8080
.receipt;
8181

82+
receipt
83+
.verify(RISC0_AGGREGATOR_PROGRAM_ID)
84+
.map_err(|e| ProofAggregationError::Risc0Proving(e.to_string()))?;
85+
8286
let output = Risc0ProofReceiptAndImageId {
8387
image_id: RISC0_AGGREGATOR_PROGRAM_ID_BYTES,
8488
receipt,

0 commit comments

Comments
 (0)