Skip to content
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

Only create witnesses for VK and pub inputs in ivc recursion constraint #1117

Open
ledwards2225 opened this issue Oct 2, 2024 · 0 comments
Assignees

Comments

@ledwards2225
Copy link
Collaborator

Currently an ACIR ivc recursion constraint requires witnesses corresponding to the VK, the public inputs, and the proof (without public inputs). The VK and public inputs are genuinely known in the noir program at runtime but the proof is not (since computing the proof requires running the full IVC up to that point). Currently we create dummy witnesses for the proof anyway then link them to the genuine witnesses in the backend. This isn't necessary, requires knowledge of the proof size, and could be misleading. Instead, only create (genuine) witnesses for the VK and public inputs and not the proof.

@ledwards2225 ledwards2225 self-assigned this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant