-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ZK proofs creation fallible #181
Comments
A related thing to consider. Currently we have Specifically it is important for the |
Continuing the topic of the Now if it is out of range, and we create a proof with it, then it'll fail to verify on the other side, and the other side will think we sent an invalid proof, which is itself a provable offense. So what should we do if one of the Maybe this even deserves its own issue. |
If this was the case, that would make our life easier for sure. Thinking out loud: the party that receives an out-of-range
Definitely! :) |
Filed #187 |
Just to address that: |
Instead of crashing on assertions at the start of each
new()
in ZK proofs, we can just return aLocalError
since the message-making methods are fallible.The text was updated successfully, but these errors were encountered: