-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: more robust recursion input generator (#8634)
Introduces the method `write_recursion_inputs_honk` in main.cpp that, given a program, produces the inputs (in the form of a Prover.toml) to a second noir program that recursively verifies a proof of the first. This is used to update/simplify the logic in `regenerate_verify_honk_proof_inputs.sh` as a proof of concept. (Also replaces `update_verify_honk_proof_inputs.py` with similar logic in `ProofSurgeon` that deals more dynamically with the public inputs). The reason for doing this is that similar logic will be needed to create tests for `noir::verify_proof()` for Oink/PG which will have slightly different forms. A flow of this kind will also be used to generate inputs from typescript in the integration and e2e tests.
- Loading branch information
1 parent
9632e0d
commit 020d4fd
Showing
7 changed files
with
132 additions
and
97 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
45 changes: 0 additions & 45 deletions
45
barretenberg/acir_tests/update_verify_honk_proof_inputs.py
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
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