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 have been reworking the build system a bit. I was unable to build initially b/c the 20th powers of tau aren't included in the distribution. I'm pretty sure the build process is unchanged. The commands that are running are:
I have been reworking the build system a bit. I was unable to build initially b/c the 20th powers of tau aren't included in the distribution. I'm pretty sure the build process is unchanged. The commands that are running are:
circom circuits/sig-check/circuit.circom --r1cs --wasm --sym
npx snarkjs r1cs info "build/circuits/sig-check/circuit.r1cs"
npx snarkjs zkey new "build/circuits/sig-check/circuit.r1cs" "build/ptaus/pot20_final.ptau" "build/keys/sig-check/circuit.zkey"
npx snarkjs zkey contribute "build/keys/sig-check/circuit.zkey" "build/keys/sig-check/new_circuit.zkey" -e="1636395152546"
npx snarkjs zkey export verificationkey "build/keys/sig-check/new_circuit.zkey" "build/keys/sig-check/verification_key.json"
node "build/circuits/sig-check/circuit_js/generate_witness.js" "build/circuits/sig-check/circuit_js/circuit.wasm" "circuits/sig-check/input.json" "build/circuits/sig-check/witness.wtns"
npx snarkjs groth16 prove "build/keys/sig-check/new_circuit.zkey" "build/circuits/sig-check/witness.wtns" "build/circuits/sig-check/proof.json" "build/circuits/sig-check/public.json"
npx snarkjs groth16 verify "build/keys/sig-check/verification_key.json" "build/circuits/sig-check/public.json" "build/circuits/sig-check/proof.json"
The proof verification fails with
Scalar size does not match
. The same build steps work for the other two circuits.The text was updated successfully, but these errors were encountered: