Skip to content

Eip 2537 precompile for bls12 381 curve operations #654

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

Open
wants to merge 37 commits into
base: master
Choose a base branch
from

Conversation

lorenzogentile404
Copy link
Contributor

No description provided.

@lorenzogentile404 lorenzogentile404 linked an issue Jun 2, 2025 that may be closed by this pull request
@@ -0,0 +1,11 @@
(module bls)

(defconstraint id-increment ()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we don't do like with other modules and just call WCP to check the id increment ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We used this same approach in ecdata, too. Is there any advantage in doing this with wcp lookups?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

simplicity, we do like this with SHAKIRA, BLAKEMODEXP, less columns, we had a failing edgecase with the manual byte decomposition with EcDAta on mainnet few months ago

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we even have a spec issue to delete it from EcData : https://github.com/Consensys/linea-specification-internal/issues/482

@lorenzogentile404 lorenzogentile404 marked this pull request as ready for review June 11, 2025 20:05
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 this pull request may close these issues.

EIP-2537: Precompile for BLS12-381 curve operations
2 participants