-
Notifications
You must be signed in to change notification settings - Fork 5
Add trusted setup v3 circuits #94
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for trusted setup v3 circuits by introducing new circuit variants and a universal atomic query circuit type. The changes enable support for variable-length multi-query circuits and stable v3 circuit identifiers.
- Introduces
AtomicQueryV3UniversalPubSignalsfor the universal v3 circuit variant - Adds support for LinkedMultiQuery circuits with configurable query lengths (3, 5, and 10 queries)
- Registers new stable circuit identifiers for v3 atomic query circuits with explicit parameter configurations
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| credentialAtomicQueryV3Universal.go | Implements public signal unmarshaling for the new universal v3 atomic query circuit |
| linkedMultiQuery.go | Adds queryLength field to support variable-length multi-query circuits |
| linkedMultiQuery_test.go | Updates tests to validate different query lengths (3, 5, 10) with table-driven test approach |
| circuits.go | Registers new circuit IDs for v3 stable circuits and LinkedMultiQuery variants with appropriate configurations |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
No description provided.