Skip to content

Commit 42001ed

Browse files
committed
fix: compilation
1 parent 2dc3550 commit 42001ed

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

aggregation_mode/src/backend/fetcher.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,8 @@ impl ProofsFetcher {
118118

119119
let elf = p.vm_program_code?;
120120
let proof_with_pub_values = bincode::deserialize(&p.proof).ok()?;
121-
let sp1_proof = SP1ProofWithPubValuesAndElf::new_with_verification(
122-
proof_with_pub_values,
123-
elf,
124-
);
121+
let sp1_proof =
122+
SP1ProofWithPubValuesAndElf::new(proof_with_pub_values, elf);
125123

126124
match sp1_proof {
127125
Ok(proof) => Some(AlignedProof::SP1(proof.into())),
@@ -146,8 +144,7 @@ impl ProofsFetcher {
146144
bincode::deserialize(&p.proof).ok()?;
147145

148146
let receipt = Receipt::new(inner_receipt, public_inputs);
149-
let risc0_proof =
150-
Risc0ProofReceiptAndImageId::new_with_verification(image_id, receipt);
147+
let risc0_proof = Risc0ProofReceiptAndImageId::new(image_id, receipt);
151148

152149
match risc0_proof {
153150
Ok(proof) => Some(AlignedProof::Risc0(proof.into())),

0 commit comments

Comments
 (0)