Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Step 15 Setup Command Failed #520

@DhruvPareek

Description

@DhruvPareek

Running the Step 15 command node --max-old-space-size=614400 ./node_modules/.bin/snarkjs fflonk setup TwitterVerifier.r1cs powersOfTau28_hez_final_25.ptau TwiteerVerifier.zkey on a circuit with roughly 7.5 million constraints (I'm recreating the ZKEmail proof of twitter circuit). I've replaced powersOfTau28_hez_final_25.ptau with powersOfTau28_hez_final_23.ptau and powersOfTau28_hez_final_24.ptau and I get the following error:
Screenshot 2024-08-29 at 5 21 29 PM

If instead I run the command: node --max-old-space-size=614400 ./node_modules/.bin/snarkjs plonk setup TwitterVerifier.r1cs powersOfTau28_hez_final_24.ptau TwiteerVerifier.zkey, I get the following error:
Screenshot_2024-08-29_at_1 32 07_PM

I'm running this on an AWS EC2 instance with 32vCPUs and 64GB of RAM. I don't understand why the fflonk command fails despite the circuit size being within the constraints of the ptau file. I also don't understand what the plonk command's error means, although it seems like it should be a memory issue?

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