DelphinusLab/zkWasm

Expected behaviors of failed verification

Closed this issue · 1 comments

Are there any instructions regarding determining failed verifications? I suppose that "halo2_proofs::plonk::verify_proof" should return "false", right?

I am running into a case where "single-verify" panicked due to [Result::unwrap() on an Err value: ConstraintSystemFailure', src/cli/exec.rs:354:6]. Does this indicate a failed verification or something else?

Yes, ConstraintSystemFailure indicates a failure verification.