Skip to content

Commit

Permalink
fix(sdk): implemented verify for EnvProver (#1963)
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk authored and nhtyy committed Feb 8, 2025
1 parent faf5d41 commit 187684c
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 187684c

Please sign in to comment.