-
Notifications
You must be signed in to change notification settings - Fork 79
Circuit is satisfied but plonk proof verification fails #46
Comments
As far as I remember "is_satisfied" doesn't verify that gate that is tied to public input allocation. In any case you can just put a breakpoint inside a "is_satisfied" function and see a gate number or relation that fails. You can also do the same in verification function and check whether polynomial equality on random point fails (which I would guess), or something more exotic |
I see, I don't have time to dig into it now so here are some other programs I tried which fail:
I am not using any public variable except |
Debugging the program, all I can see is that the very last verification check fails, not sure how to go from there. @shamatar Could you point me to a minimal working example going from a |
Hey George. There is a test,
I'm neglecting any trivial cases like if you used different trusted setups for VK and proving. The test above generates trusted setup as powers of |
Hi! I have the following test using the current tip of
dev
(09474a):I would have expected the proof to be verified correctly because the circuit is satisfied, but this test fails. I checked and it fails in the last check in verification.
Is there something I am doing wrong here? Thanks!
The text was updated successfully, but these errors were encountered: