-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
9_conditional
end to end test (#1951)
* update to acvm 0.19.1 * add 9_conditional * use a smaller circuit * add predicate for division * reduce lhs and rhs constraints * pass predicate to inv_var * [DO NOT MERGE] Test removing unconditional assert * fix clippy * remove Option<Expression> * add `assert_eq` and `maybe_eq_predicate` * sort now takes a predicate * add back full 9_conditional * change unwrap to expect
- Loading branch information
1 parent
f99f4bf
commit 2f6741f
Showing
8 changed files
with
418 additions
and
49 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
5 changes: 5 additions & 0 deletions
5
crates/nargo_cli/tests/test_data_ssa_refactor/9_conditional/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] | ||
authors = [""] | ||
compiler_version = "0.1" | ||
|
||
[dependencies] |
38 changes: 38 additions & 0 deletions
38
crates/nargo_cli/tests/test_data_ssa_refactor/9_conditional/Prover.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,38 @@ | ||
c=[2, 4, 3, 0, ] | ||
a=0 | ||
x = [104, 101, 108, 108, 111] | ||
|
||
result = [ | ||
0x2c, | ||
0xf2, | ||
0x4d, | ||
0xba, | ||
0x5f, | ||
0xb0, | ||
0xa3, | ||
0x0e, | ||
0x26, | ||
0xe8, | ||
0x3b, | ||
0x2a, | ||
0xc5, | ||
0xb9, | ||
0xe2, | ||
0x9e, | ||
0x1b, | ||
0x16, | ||
0x1e, | ||
0x5c, | ||
0x1f, | ||
0xa7, | ||
0x42, | ||
0x5e, | ||
0x73, | ||
0x04, | ||
0x33, | ||
0x62, | ||
0x93, | ||
0x8b, | ||
0x98, | ||
0x24, | ||
] |
Oops, something went wrong.