-
Notifications
You must be signed in to change notification settings - Fork 17
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 RIP-7212 #523
Comments
Thanks @Amxx, we will take a look. We have larger plans for better L2 support, but this is useful enough to do more directly. |
@alcuadrado any preference for the config option? I'd suggest:
Some alternatives:
|
I think it's better to name the standard, because that's more precise than just naming the curve |
To unit test this: A call to the precompile address with this calldata:
should return |
I added support for RIP-7212 in EDR and exposed a config option to Hardhat. On their end, they need to expose it to the end user. |
@Amxx we just released Hardhat v2.22.7, which includes a new You can enable it like this:
|
Describe the feature
RIP-7212 provides a precompile, at address(0x100) for secp256r1 verification. This is already live on multiple networks, including Matic (polygon).
It is currently not possible to test code that relies on this precompile using hardhat.
Some pointers:
Search terms
secp265r1, p256, precompile, RIP-7212, EIP-7212
The text was updated successfully, but these errors were encountered: