Skip to content

Commit

Permalink
fix: EnvProver verify
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk authored and nhtyy committed Jan 23, 2025
1 parent ab3b5cc commit 14df474
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions crates/sdk/src/env/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,12 @@ impl Prover<CpuProverComponents> for EnvProver {
) -> Result<SP1ProofWithPublicValues> {
self.prover.prove(pk, stdin, mode)
}

fn verify(
&self,
bundle: &SP1ProofWithPublicValues,
vkey: &SP1VerifyingKey,
) -> Result<(), SP1VerificationError> {
self.prover.verify(bundle, vkey)
}
}

0 comments on commit 14df474

Please sign in to comment.