We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Correct TOML should be generated in the Prover.toml file when nargo check is ran.
nargo check
Correct TOML should be generated in the Prover.toml file for arrays. Currently, the output is "[]", whereas it should be [""].
"[]"
[""]
Simply define an array input into main.
Example:
use dep::std; fn main(root : pub Field, leaf : Field, index : Field, hash_path: [Field; 1]) { constrain std::merkle::check_membership(root, leaf, index, hash_path) == 1; }
Prover.toml:
hash_path = "[]" index = "" leaf = "" root = ""
Binary
nargo 0.3.2 (git version hash: 29b1f7d, is dirty: false)
No response
The text was updated successfully, but these errors were encountered:
Hey @SleepingShell, this is addressed in #1104. If you update to v0.4.0 then you'll have this behaviour.
Sorry, something went wrong.
No branches or pull requests
Aim
Correct TOML should be generated in the Prover.toml file when
nargo check
is ran.Expected behavior
Correct TOML should be generated in the Prover.toml file for arrays. Currently, the output is
"[]"
, whereas it should be[""]
.Bug
Simply define an array input into main.
Example:
Prover.toml:
To reproduce
nargo check
Installation method
Binary
Nargo version
nargo 0.3.2 (git version hash: 29b1f7d, is dirty: false)
@noir-lang/noir_wasm version
No response
@noir-lang/barretenberg version
No response
@noir-lang/aztec_backend version
No response
Additional context
No response
Submission Checklist
The text was updated successfully, but these errors were encountered: