adding verification

This commit is contained in:
Jaremy Creechley 2024-05-28 23:40:10 +01:00
parent cee3340bd5
commit 6b3e3d20b6
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
1 changed files with 2 additions and 0 deletions

View File

@ -136,6 +136,8 @@ proc verify*(
doAssert ctx.get_pub_inputs(inputs.addr) == ERR_OK doAssert ctx.get_pub_inputs(inputs.addr) == ERR_OK
echo "inputs val: ", inputs.repr
try: try:
let res = verifyCircuit(proof.unsafeAddr, inputs, self.vkp) let res = verifyCircuit(proof.unsafeAddr, inputs, self.vkp)