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

[TASK] Update VAnchor to use new SetGadget #138

Closed
Tracked by #137
lazovicff opened this issue Jan 21, 2022 · 0 comments · Fixed by #143
Closed
Tracked by #137

[TASK] Update VAnchor to use new SetGadget #138

lazovicff opened this issue Jan 21, 2022 · 0 comments · Fixed by #143
Assignees

Comments

@lazovicff
Copy link
Contributor

lazovicff commented Jan 21, 2022

VAnchor is using the old SetMembershipGadget that requires computing the diffs outside the circuit and passing them in. This means that you need to know the root beforehand, which is not an ideal way of making proofs. The root will be calculated inside the circuit, based on provided leaf pre-image and Merkle path, so the diffs will also be calculated inside the circuit.

@lazovicff lazovicff changed the title Update VAnchor to use new SetGadget [TASK] Update VAnchor to use new SetGadget Jan 21, 2022
@lazovicff lazovicff self-assigned this Jan 21, 2022
@lazovicff lazovicff linked a pull request Jan 21, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant