-
Notifications
You must be signed in to change notification settings - Fork 230
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(noir_js): Expose UltraHonk and integration tests (#5656)
# Description ## Problem\* Resolves #5574 ## Summary\* Similar to nargo's break from connecting to backends, we are looking to have developers use bb.js exclusively to access proving, verifying, gate counts, etc. Until the UX that NoirJS provides is worked in bb.js we can expose UltraHonk through NoirJS with minimal changes. This change is purely additive. I have added a new `UltraHonkBackend` that implements `Backend` and `VerifierBackend` similarly to the existing `BarretenbergBackend`. For the `Verifier` interface I just added a new method `verifyUltraHonkProof`. I have added integration tests that copy the existing integration tests. Once we are ready to move off of UltraPlonk the old tests and interfaces can be removed. ## Additional Context Reference the issue for more context. ## Documentation\* Check one: - [ ] No documentation needed. - [x] Documentation included in this PR. - [ ] **[For Experimental Features]** Documentation to be submitted in a separate PR. # PR Checklist\* - [X] I have tested the changes locally. - [X] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings.
- Loading branch information
Showing
6 changed files
with
381 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.