Skip to content

Conversation

@Amxx
Copy link
Collaborator

@Amxx Amxx commented Jul 15, 2022

The transition for 0.7.0 to 0.8.0 include a behavior changed that was missed.
Since 0.8.0, abi.decode reverts if the bytes raw data overflow the target type.

This PR fixes unexpected reverts for

  • SignatureChecker.isValidSignatureNow
  • ERC165Checker.supportsERC165InterfaceUnchecked

PR Checklist

  • Tests
  • Changelog entry

@frangio frangio enabled auto-merge (squash) July 18, 2022 20:50
@frangio frangio merged commit 628a6e2 into OpenZeppelin:master Jul 18, 2022
frangio added a commit that referenced this pull request Jul 19, 2022
Co-authored-by: Francisco Giordano <[email protected]>
(cherry picked from commit 628a6e2)
@Amxx Amxx deleted the fix/SignatureChecked branch July 27, 2022 21:12
@OpenZeppelin OpenZeppelin deleted a comment from trevpeace Feb 28, 2024
@OpenZeppelin OpenZeppelin deleted a comment from trevpeace Feb 28, 2024
@OpenZeppelin OpenZeppelin deleted a comment from trevpeace Feb 28, 2024
@OpenZeppelin OpenZeppelin deleted a comment from trevpeace Feb 28, 2024
@ernestognw ernestognw mentioned this pull request Aug 25, 2025
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants