-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update AztecIvc interface to facilitate acir-ivc (#8230)
This PR completes the acir-ivc interface through which a bberg kernel circuit can be properly constructed from a noir program. In particular, the interface allows for the proof/verification_key witnesses used in the noir program to be communicated to the backend via calls to `verify_proof()` (with an appropriate `proof_type` indicator). They can then be "linked" (asserted equal) to the corresponding witnesses used to complete the kernel logic (recursive verifications, databus checks etc.). The main components of the PR are as follows: - A new DSL test suite which demonstrates the new functionality via IVC accumulation of mock kernel and app circuits constructed from acir constraint systems. (Includes a failure test that demonstrates that the "linking" of the witnesses does indeed result in failure when expected). - Reorganization of the methods in AztecIvc related to kernel completion. (basically just splitting things into sub-methods to facilitate the main goal of the PR) - Some minor renaming to remove the `_RECURSION` suffix from the `proof_type` enum entries. (This accounts for most of the changed files). Note: In this PR the linking is actually only done on the proof (not yet the verification key). I'm leaving this as a TODO (issue tagged in code) since it really warrants some long overdue verification key cleanup.
- Loading branch information
1 parent
f3e4f97
commit 665750a
Showing
25 changed files
with
536 additions
and
112 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.