Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile circom file under PLONK proofType #41

Open
jidalii opened this issue Apr 25, 2024 · 0 comments
Open

Failed to compile circom file under PLONK proofType #41

jidalii opened this issue Apr 25, 2024 · 0 comments

Comments

@jidalii
Copy link

jidalii commented Apr 25, 2024

Hi, I am compiling my circom using the circomjs. The compiling of the circom file works fine when I use zkREPL, or using circomjs in the Groth16 proof type. But with PLONK proof type, there is the error of the following:

❯ node main.js
Error compiling the circuit: out/running/circuit_final.zkey: Missing section 1
Detailed stack trace: Error: out/running/circuit_final.zkey: Missing section 1
    at Object.startReadUniqueSection (/Users/jidali/projects/push/server/node_modules/@iden3/binfileutils/build/main.cjs:96:38)
    at readHeader$1 (/Users/jidali/projects/push/server/node_modules/snarkjs/build/main.cjs:392:35)
    at Object.zkeyExportVerificationKey [as exportVerificationKey] (/Users/jidali/projects/push/server/node_modules/snarkjs/build/main.cjs:6094:24)

I wonder how I can solve this issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant