-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: unify all acir recursion constraints based on RecursionConstrai…
…nt and proof_type (#7993) This PR moves us towards a model where the type of recursive verifier (plonk/honk, eventually IVC) can be specified from noir by setting a `proof_type` constant input to `std::verify_proof()`. The new mechanism has been integrated into the `verify_honk_proof` test program but not yet into the protocol circuits. (The method defaults to Plonk recursion so this is not a breaking change). Other changes/updates: - All types of recursion are specified through `RecursionConstraint` (no more `HonkRecursionConstraint`) - Move handling of recursion_constraints and honk_recursion_constraints into individual methods `process_plonk/honk_recursion_constraints()` in acir_format for greater clarity. (More cleanup along these lines to come) - Move the gate count tracking functionality to a class `GateCounter` --------- Co-authored-by: sirasistant <sirasistant@gmail.com> Co-authored-by: Maxim Vezenov <mvezenov@gmail.com>
- Loading branch information
1 parent
d4046e1
commit 7cb39bc
Showing
18 changed files
with
375 additions
and
270 deletions.
There are no files selected for viewing
371 changes: 184 additions & 187 deletions
371
barretenberg/cpp/src/barretenberg/dsl/acir_format/acir_format.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.