Improve gas efficiency in ECDSA#3853
Conversation
|
I agree that |
I've never seen it before, but it's a good. Thank you letting me know about your good work. |
|
@frangio Hello? Should I do anything more for merging? |
Amxx
left a comment
There was a problem hiding this comment.
IMO this is mostly good. Should target 4.9
🦋 Changeset detectedLatest commit: c24ead1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: Hadrien Croubois <[email protected]>
Amxx
left a comment
There was a problem hiding this comment.
Not sure why we have changes to lib/forge-std in this PR.
Maybe this PR was created before #3885? |
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
at some point it was "discarded" during a merge of master into this. I cherry picked the corresponding commit to fix things. |
|
Congrats, your important contribution to this open-source project has earned you a GitPOAP! GitPOAP: 2023 OpenZeppelin Contracts Contributor: Head to gitpoap.io & connect your GitHub account to mint! Learn more about GitPOAPs here. |

Fixes #3853
This PR reduces gas usage of
toTypedDataHashtoEthSignedMessageHash(bytes32)toEthSignedMessageHash(bytes).Here are some results:
PR Checklist