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

Implement In-Rust Version of Proof Satisfaction #3564

Closed
6 of 7 tasks
cronokirby opened this issue Jan 3, 2024 · 0 comments · Fixed by #3605
Closed
6 of 7 tasks

Implement In-Rust Version of Proof Satisfaction #3564

cronokirby opened this issue Jan 3, 2024 · 0 comments · Fixed by #3605
Assignees
Labels
A-zkproofs Area: Design and implementation of ZK-SNARKs for Penumbra

Comments

@cronokirby
Copy link
Contributor

cronokirby commented Jan 3, 2024

This is a follow up to #3563. After doing that, it becomes easy to write a function which implements the function of type Public x Private -> 01 representing the relation the proof is checking. This then makes the test of circuit logic very simple, since we just need to check that for inputs we generate, the rust code agrees with the circuit.

We should add such a function to each circuit, and modify our tests to use it.

Circuits that need to be changed:

  • Spend
  • Output
  • DelegatorVote
  • UndelegateClaim
  • Swap
  • SwapClaim
  • NullifierDerivation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-zkproofs Area: Design and implementation of ZK-SNARKs for Penumbra
Projects
Archived in project
Status: Testnet 65: Deimos
Development

Successfully merging a pull request may close this issue.

2 participants