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
pragma circom 2.0.0;
include "../../node_modules/circomlib/circuits/eddsaposeidon.circom";
component main = EdDSAPoseidonVerifier();
it throws
Error: Scalar size does not match
at _multiExp (node_modules/ffjavascript/build/main.cjs:4972:19)
at WasmCurve.multiExpAffine (node_modules/ffjavascript/build/main.cjs:5009:22)
at Object.groth16Verify [as verify] (node_modules/snarkjs/build/main.cjs:1357:31)
at async Context.<anonymous> (test/eddsa-test.ts:55:21)
If I make some signals public, it works fine:
pragma circom 2.0.0;
include "../../node_modules/circomlib/circuits/eddsaposeidon.circom";
component main {public [Ax,Ay]} = EdDSAPoseidonVerifier();
The text was updated successfully, but these errors were encountered:
This was my test circuit:
it throws
If I make some signals public, it works fine:
The text was updated successfully, but these errors were encountered: