Closed wanseob closed 4 years ago
I investigated it more in detail and it seems the array input is causing the problem.
Works well
// circuit.circom
template Test() {
signal private input a;
}
component main = Test()
// input.json
{
"a": 1
}
Doesn't work
// circuit.circom
template Test() {
signal private input a[1];
}
component main = Test()
// input.json
{
"a[0]": 1
}
Closing this issue because it is not related to this module. If you are having problems on it, please check the input parameter key names. Especially if you are using matrices, please check this PR https://github.com/iden3/circom/pull/59
Problem? Snarkjs raises 3 Hash not found 0 0 0 0 error for an empty circuit
How to reproduce? Here's the used circuit & input.json https://gist.github.com/wanseob/d4d31e204d25cf31416a0af4ee98e2e6
versions: