You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the test in zksnark_groth.js, but got error like this,
C:\Users\user\code\node_modules\snarkjs\src\gcurve.js:32
return this.F.isZero(p[2]);
^
TypeError: Cannot read property '2' of undefined
at GCurve.isZero (C:\Users\user\code\node_modules\snarkjs\src\gcurve.js:32:31)
at GCurve.double (C:\Users\user\code\node_modules\snarkjs\src\gcurve.js:105:18)
at Object.exports.mulScalar (C:\Users\user\code\node_modules\snarkjs\src\futils.js:31:17)
at GCurve.mulScalar (C:\Users\user\code\node_modules\snarkjs\src\gcurve.js:140:23)
at Object.genProof (C:\Users\user\code\node_modules\snarkjs\src\prover_groth.js:70:42)
at Object.generateProof (C:\Users\user\code\00_Projects\zk\zkVerifier\circom\nodejs-client\proof_generation.js:33:50)
at Object.<anonymous> (C:\Users\user\code\00_Projects\zk\zkVerifier\circom\nodejs-client\index.js:13:7)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
I print out setup.vk_proof, there is no vk_delta_1. In prover_groth.js:70:42 ,
proof.pi_a = G1.add( proof.pi_a, G1.mulScalar( vk_delta_1, r ));
Not sure the error is relative to vk_delta_1 missing.
The text was updated successfully, but these errors were encountered:
I followed the test in zksnark_groth.js, but got error like this,
I print out
setup.vk_proof
, there is novk_delta_1
. Inprover_groth.js:70:42
,Not sure the error is relative to
vk_delta_1
missing.The text was updated successfully, but these errors were encountered: