-
Notifications
You must be signed in to change notification settings - Fork 204
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
Epic: Folding #4426
Comments
I am going to close #4851 in the nice-to-have list above with the creation of #4962. I wanted to check on removing #4720 as well. #4962 states we plan to remove |
I think that it makes sense to for the backend to return both the opcodes and constraints rather than trying to stitch them together from two different tools. Having a json response from the backend is the priority so we can maintain usage of the noir-gates-diff action but we'll need to have some form of report at some point. |
We can close #4851 but can you open an issue in aztec-packages for adding a human readable report for |
Looks like you made it here AztecProtocol/aztec-packages#6168? |
That's slightly different as I'm just wanting to get the JSON report as an MVP for this feature so we don't brick the github action. A human readable report can come in a separate PR imo. |
Feel free to tackle in the same PR if that's more convenient. |
Ah I didn't see the distinction for human readable report I'll make a separate issue |
Issue to replace #4720 can be found here (AztecProtocol/aztec-packages#6190). Human readable report issue can be found here (AztecProtocol/aztec-packages#6189) |
All issues in this epic have been completed. If new bugs or features come up, they will be created as separate issues. |
Problem
With folding becoming a popular new recursion technique among SNARK proving systems we should implement a clean interface for backends to handle folding multiple ACIR function calls as they see fit.
We currently inline all function calls in ACIR. We pass one ACIR blob to the backend essentially representing a single ACIR function.
Happy Case
ACIR/ACVM circuits should support multiple function calls that backends can implement how they see fit (either by folding or inlining those calls).
Tasks
Nice to have:
Tasks
Program
in a single request to the backend. #4851Project Impact
Blocker
Impact Context
This is needed for meaningfully fast client recursion by not only Aztec but any Noir program. Without folding backends can only implement vanilla IVC recursion which is significantly more expensive and restricts users.
Workaround
None
Workaround Description
No response
Additional Context
Both issues #4427 and #4428 will most likely be implemented in https://github.com/AztecProtocol/aztec-packages as they are both breaking changes.
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: