-
Notifications
You must be signed in to change notification settings - Fork 601
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
feat: add matter-labs based eip1962 precompile impls #1547
base: main
Are you sure you want to change the base?
Conversation
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.
I would want to leave bn behind a feature gate, in case of a need to switch back easily.
crates/precompile/Cargo.toml
Outdated
@@ -63,6 +63,9 @@ serde = "1.0" | |||
serde_json = "1.0" | |||
serde_derive = "1.0" | |||
|
|||
# ecAdd, ecMul, ecPairing | |||
bn = { package = "substrate-bn", version = "0.6", default-features = false } |
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.
looks unused?
The matter labs repo is not |
This add the EIP 196 precompile implementation based on https://github.com/matter-labs/eip1962 instead of the substrate bn library.
This still needs: