Skip to content

Commit

Permalink
Optimize safe casting of signed numbers (#3565)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSandwich authored Jul 20, 2022
1 parent d3ff81b commit 580b7ab
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 96 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
* `ERC721`: optimize transfers by making approval clearing implicit instead of emitting an event. ([#3481](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3481))
* `ERC721`: optimize burn by making approval clearing implicit instead of emitting an event. ([#3538](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3538))
* `ReentrancyGuard`: Reduce code size impact of the modifier by using internal functions. ([#3515](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3515))
* `SafeCast`: optimize downcasting of signed integers. ([#3565](https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3565))

### Compatibility Note

Expand Down
Loading

0 comments on commit 580b7ab

Please sign in to comment.