Skip to content

Failed to compile circom file under PLONK proofType #41

Open
@jidalii

Description

@jidalii

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions