check failure

This commit is contained in:
Jaremy Creechley 2024-04-24 15:28:06 +03:00
parent 91d4713c57
commit 047e8f6fb1
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
1 changed files with 8 additions and 1 deletions

View File

@ -82,7 +82,14 @@ when isMainModule:
let proof = circom.prove(proofInputs).tryGet
let verRes = circom.verify(proof, proofInputs).tryGet
echo "verify: ", verRes
echo "verify result: ", verRes
block:
proofInputs.slotIndex = 1 # change slot index
let proof = circom.prove(proofInputs).tryGet
echo "verify bad result: ", circom.verify(proof, proofInputs).tryGet
circom.release() # this comes from the rust FFI