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

LEVM: Add support for the EIP-2537 #1638

Open
7 tasks
ilitteri opened this issue Jan 6, 2025 · 1 comment
Open
7 tasks

LEVM: Add support for the EIP-2537 #1638

ilitteri opened this issue Jan 6, 2025 · 1 comment
Assignees
Labels
levm Lambda EVM implementation pectra

Comments

@ilitteri
Copy link
Contributor

ilitteri commented Jan 6, 2025

Implement the BLS12-381 precompile following the reference spec https://eips.ethereum.org/EIPS/eip-2537.

Tip

Work in different PRs to keep them short and easier to review. The first one will include the addition of the dependency, but the following should only include the implementation.

Track

  • BLS12_G1ADD
  • BLS12_G1MSM
  • BLS12_G2ADD
  • BLS12_G2MSM
  • BLS12_PAIRING_CHECK
  • BLS12_MAP_FP_TO_G1
  • BLS12_MAP_FP2_TO_G2
@ilitteri ilitteri added levm Lambda EVM implementation pectra labels Jan 6, 2025
@ilitteri ilitteri changed the title LEVM: Support EIP-2537 LEVM: Add support for the EIP-2537 Jan 6, 2025
@LucasUTNFRD LucasUTNFRD self-assigned this Jan 10, 2025
@fborello-lambda
Copy link
Contributor

A comment in case we forget patching the crate when using levm for the prover.
If we use: bls12_381 = "0.8.0"
The patch for the zk_prover would be: https://github.com/sp1-patches/bls12_381/tree/patch-v0.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
levm Lambda EVM implementation pectra
Projects
Status: No status
Development

No branches or pull requests

4 participants