-
Notifications
You must be signed in to change notification settings - Fork 244
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
Add nargo command to both prove and verify #719
Comments
@TomAFrench what are your thoughts on this? |
I'd question whether this is/should be a common action for users other than us. Noir devs trust that Nargo/backends are implemented correctly and so will properly create a valid proof as long as that the witness for their circuit can be solved, after that point it's out of their hands. Anything after solving the witness is wasted CPU time then surely unless you're actually creating a proof which will be used for anything other than testing? (#626) It feels like we'd be the main users of this action for e2e testing (as we'll be mucking around in the guts of nargo and so could break how we interact with the backend, etc.) so this might be better to have as a flag on Happy to be corrected if I'm missing something though. |
I might be mistaken, but I believe snarkjs has |
Looks like their |
👍 That's what I get for not checking before I opened my mouth. Thanks for looking. |
The --checked flag seems like a good trade-off, I'd imagine that we move towards using @jfecher 's testing framework as time goes by. |
Problem
Proving and immediately verifying afterward is a common usecase but has no single command to do both. It would also be nice if there were an option to do so without writing to the file system between the two steps.
Solution
Add a
nargo run
command to prove and verify.Alternatives considered
Additional context
The text was updated successfully, but these errors were encountered: