-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(ci): Re-enable certain bb solidity ACIR tests #5065
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
5d954e6
add double_verify_proof_sol that uses Keccak prover and enable bb sol…
vezenovm 1d6c8f8
change names of double_verify_proof tests
vezenovm 1c803f1
Merge branch 'master' into mv/acir-sol-tests-return
vezenovm 419e955
fix command name
vezenovm b622e9b
Merge branch 'master' into mv/acir-sol-tests-return
vezenovm 76e4bfc
fix: add acir tests circleci requires (#5085)
Maddiaa0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
1 change: 0 additions & 1 deletion
1
noir/noir-repo/test_programs/execution_success/double_verify_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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
use dep::std; | ||
|
||
#[recursive] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice find ! |
||
fn main( | ||
verification_key: [Field; 114], | ||
// This is the proof without public inputs attached. | ||
|
5 changes: 5 additions & 0 deletions
5
noir/noir-repo/test_programs/execution_success/double_verify_proof_recursive/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,5 @@ | ||
[package] | ||
name = "double_verify_proof_recursive" | ||
type = "bin" | ||
authors = [""] | ||
[dependencies] |
5 changes: 5 additions & 0 deletions
5
noir/noir-repo/test_programs/execution_success/double_verify_proof_recursive/Prover.toml
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
noir/noir-repo/test_programs/execution_success/double_verify_proof_recursive/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,29 @@ | ||
use dep::std; | ||
|
||
#[recursive] | ||
fn main( | ||
verification_key: [Field; 114], | ||
// 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; 93], | ||
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, | ||
proof_b: [Field; 93] | ||
) { | ||
std::verify_proof( | ||
verification_key.as_slice(), | ||
proof.as_slice(), | ||
public_inputs.as_slice(), | ||
key_hash | ||
); | ||
|
||
std::verify_proof( | ||
verification_key.as_slice(), | ||
proof_b.as_slice(), | ||
public_inputs.as_slice(), | ||
key_hash | ||
); | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ludamad I added this back to the CI. However, I only run a few tests (one basic test and the two recursive aggregation tests).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#5085
Needs to add this to the circle ci definition