Skip to content

Commit efcd65d

Browse files
Transpile d334aef1b
1 parent 846374b commit efcd65d

File tree

7 files changed

+182
-247
lines changed

7 files changed

+182
-247
lines changed

.changeset/mighty-melons-cheer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'openzeppelin-solidity': patch
3+
---
4+
5+
`P256`: Adjust precompile detection in `verifyNative` to consider empty `returndata` on invalid verification. Previously, invalid signatures would've reverted with a `MissingPrecompile` error in chains with RIP-7212 support.

hardhat.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ module.exports = {
102102
// we rely on the `code-size` compiler warning, that will cause a compilation error.
103103
allowUnlimitedContractSize: true,
104104
initialBaseFeePerGas: argv.coverage ? 0 : undefined,
105+
enableRip7212: true,
105106
},
106107
},
107108
exposed: {

0 commit comments

Comments
 (0)