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

Issue with Phase 2 of Power of Tau Ceremony for an EdDSA ECC Verification Circuit #70

Open
gokulsan opened this issue Oct 13, 2020 · 2 comments

Comments

@gokulsan
Copy link

Dear All, I was trying to implement an EdDSA Elliptic Curve Signature Verification using iden3 Circom and SnarkJS. I am getting around 5700+ constraints and hence my local machine is not able to complete the phase 2 of power of tau ceremony. Have you anyone faced similiar issues with power of tau ceremony.

@kuco23
Copy link

kuco23 commented Aug 8, 2022

Did you find a solution? I have a similar issue with Merkle Proof checking that produces 180000 constraints and get the error circuit too big for this power of tau ceremony`.

@majunze2001
Copy link

You should increase the parameters when starting a new powers of tau ceremony.
snarkjs powersoftau new bn128 14 pot14_0000.ptau -v

The second parameter, in this case 14, is the power of two of the maximum number of constraints that the ceremony can accept: in this case, the number of constraints is 2 ^ 14 = 16,384. The maximum value supported here is 28, which means you can use snarkjs to securely generate zk-snark parameters for circuits with up to 2 ^ 28 (≈268 million) constraints.

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

3 participants