forked from visoftsolutions/noir_rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: reorganize acir composer (AztecProtocol#3957)
Previously, the proof generation flows defined in bb/main.cpp performed 1 or more additional circuit constructions than were necessary. This work removes the unnecessary computation and generally makes circuit construction more explicit to avoid similar confusion in the future. For example, `init_proving_key()` no longer makes an internal call to `create_circuit()` - instead, the circuit must be constructed explicitly. The code has been otherwise simplified/clarified where possible. Note: removal of the redundant circuit construction should also avoid issues like the one recently encountered by @guipublic where circuit generation without a witness was inconsistent with generation _with_ a witness, leading to srs size issues.
- Loading branch information
1 parent
70b2ffd
commit e6232e8
Showing
7 changed files
with
80 additions
and
109 deletions.
There are no files selected for viewing
This file was deleted.
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
2 changes: 0 additions & 2 deletions
2
barretenberg/cpp/src/barretenberg/dsl/acir_format/acir_format.cpp
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
1 change: 0 additions & 1 deletion
1
barretenberg/cpp/src/barretenberg/dsl/acir_format/acir_format.hpp
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