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

Honk verifier implementation #119

Merged
merged 41 commits into from
Apr 18, 2024

Conversation

raugfer
Copy link
Collaborator

@raugfer raugfer commented Apr 15, 2024

This PR adds src/precompiled_circuits/honk.py a Python port of the Solidity Honk proof verifier provided by https://github.com/Maddiaa0/honk-verifier/

Pull Request type

  • Feature

What is the current behavior?

An extension/feature was added, the current behavior lacks this new functionality.

Issue Number: #62

What is the new behavior?

  • Adds src/precompiled_circuits/honk.py that exports verify function to verify Honk proofs
  • Adds two proof verification tests under src/precompiled_circuits/honk_tests folder
  • Extends the GnarkCLI with point addition and scalar multiplication
  • Adds g1 and ng1 commands as extensions to the Gnark golang implementation

Does this introduce a breaking change?

  • No

@raugfer raugfer changed the title Honk verifier impplementation Honk verifier implementation Apr 15, 2024
@raugfer raugfer marked this pull request as ready for review April 18, 2024 14:31
@feltroidprime feltroidprime merged commit 0e42102 into keep-starknet-strange:main Apr 18, 2024
1 check passed
@raugfer raugfer deleted the feat/honk-verifier branch April 18, 2024 20:22
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

Successfully merging this pull request may close these issues.

2 participants