-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
41 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.47.1 | ||
0.48.0 |
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
6 changes: 6 additions & 0 deletions
6
noir/noir-repo/test_programs/execution_success/verify_honk_proof/Nargo.toml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[package] | ||
name = "verify_honk_proof" | ||
type = "bin" | ||
authors = [""] | ||
|
||
[dependencies] |
4 changes: 4 additions & 0 deletions
4
noir/noir-repo/test_programs/execution_success/verify_honk_proof/Prover.toml
Large diffs are not rendered by default.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
noir/noir-repo/test_programs/execution_success/verify_honk_proof/src/main.nr
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
|
||
// This circuit aggregates a single Honk proof from `assert_statement_recursive`. | ||
global SIZE_OF_PROOF_IF_LOGN_IS_28 : u32 = 409; | ||
fn main( | ||
verification_key: [Field; 120], | ||
// This is the proof without public inputs attached. | ||
// | ||
// This means: the size of this does not change with the number of public inputs. | ||
proof: [Field; SIZE_OF_PROOF_IF_LOGN_IS_28], | ||
public_inputs: pub [Field; 1], | ||
// This is currently not public. It is fine given that the vk is a part of the circuit definition. | ||
// I believe we want to eventually make it public too though. | ||
key_hash: Field | ||
) { | ||
std::verify_proof( | ||
verification_key, | ||
proof, | ||
public_inputs, | ||
key_hash | ||
); | ||
} |
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