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

Add support for bls381 #203

Closed
chancehudson opened this issue Jul 5, 2024 · 0 comments · Fixed by #207
Closed

Add support for bls381 #203

chancehudson opened this issue Jul 5, 2024 · 0 comments · Fixed by #207

Comments

@chancehudson
Copy link
Collaborator

Problem

Mopro only supports circom proofs over the alt_bn128 curve. We rely on circom-compat to read the zkey. This package returns a ProvingKey<Bn254> structure from read_zkey.

Details

We should add support for the bls381 curve to mopro as it will be added to ethereum as a precompile in the next hard fork. We'll need test zkeys/wasms built for the bls381 curve.

The zkey binary file includes information about what curve the key is built for. We should automatically use this to change what curve we're making proofs on.

Acceptance criteria

Make a circom proof over the bls381 curve.

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

Successfully merging a pull request may close this issue.

1 participant