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 steps in Tutorial, but ultimately the verification failed.
snarkjs groth16 verify verification_key.json public.json proof.json
[ERROR] snarkJS: Error: Scalar size does not match
at _multiExp (/root/.local/share/fnm/node-versions/v22.4.0/installation/lib/node_modules/snarkjs/node_modules/ffjavascript/build/main.cjs:4978:19)
at WasmCurve.multiExpAffine (/root/.local/share/fnm/node-versions/v22.4.0/installation/lib/node_modules/snarkjs/node_modules/ffjavascript/build/main.cjs:5015:22)
at groth16Verify$1 (/root/.local/share/fnm/node-versions/v22.4.0/installation/lib/node_modules/snarkjs/build/cli.cjs:6171:31)
at async Object.groth16Verify [as action] (/root/.local/share/fnm/node-versions/v22.4.0/installation/lib/node_modules/snarkjs/build/cli.cjs:13017:21)
at async clProcessor (/root/.local/share/fnm/node-versions/v22.4.0/installation/lib/node_modules/snarkjs/build/cli.cjs:483:27)
The text was updated successfully, but these errors were encountered:
Hey, @Subway2023, you are getting this error because your circuit has no public signals. You can fix it by making the note signal public as this is the public data anyway.
Also, please check your inputs, as the values you provide are outside the curve's prime field.
circuit.circom
input.json
I followed the steps in Tutorial, but ultimately the verification failed.
The text was updated successfully, but these errors were encountered: