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

BLS12-381 fails in a powersoftau contribute command. Curve not supported. #36

Closed
glamperd opened this issue Apr 13, 2022 · 2 comments
Closed

Comments

@glamperd
Copy link
Contributor

snarkJS: Error: Curve not supported: 4002409555221667610661788685990436838824310417315709160196267947217350388461752218928110433526561144555515641069568
at getCurveFromQ (/home/root/snarkjs/build/cli.cjs:765:15)
at readPTauHeader (/home/root/snarkjs/build/cli.cjs:842:25)
at async contribute (/home/root/snarkjs/build/cli.cjs:2408:43)
at async Object.powersOfTauContribute [as action] (/home/root/snarkjs/build/cli.cjs:8619:12)
at async clProcessor (/home/root/snarkjs/build/cli.cjs:304:27)

@glamperd
Copy link
Contributor Author

glamperd commented Apr 13, 2022

When logged in base 16, the q value retrieved from the file is this: Curve not supported>>>: 1a0111ea397fe70000000000000000000000000000000000000000000000000000000000000000000000000000000000
It lost precision from the original value.

@glamperd glamperd changed the title BLS12-381 fails in a powersoftau contribute command. Curve not recognised. BLS12-381 fails in a powersoftau contribute command. Curve not supported. Apr 13, 2022
@phated
Copy link
Contributor

phated commented May 17, 2022

Fixed by #37 but we need to update ffjavascript to in all of the dependent repos

@phated phated closed this as completed May 17, 2022
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

2 participants