-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
BEP-439: Implement EIP-2537: Precompile for BLS12-381 curve operations #2719
Conversation
…#29441) This PR updates the bls contracts from our internal implementation which is an unmaintained fork of the kilic library to the gnark-crypto library that is actively maintained by consensys. It also updates the gas-costs according to the EIP
lint error for commits from upstream, so ignore |
please reserve all commits when merging into develop! |
the implement is aligned with pectrac-devnet-3, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
listo
convert to draft, for the gas cost will change |
What is the reason for this? :) |
has been upstreamed in PR #2761 |
0x08Dc6385204D434f0A407902eF6A271de0366912 |
1 similar comment
0x08Dc6385204D434f0A407902eF6A271de0366912 |
[ ] |
Description
BEP-439: Implement EIP-2537: Precompile for BLS12-381 curve operations
Rationale
tell us why we need these changes...
Example
how to verify the code implement? two steps:
bsc/core/vm/testdata/precompiles
are the same withgo-ethereum/core/vm/testdata/precompiles
at the latest commitall pass
Changes
the first two commitss are picked from upstream
the third commit refers to ethereum/go-ethereum#29552