Remove hardcoded function resolution (#4299)

This commit is contained in:
Francisco
2023-06-02 18:20:58 +01:00
committed by GitHub
parent eecd5e15c7
commit ffceb3cd98
5 changed files with 25 additions and 20 deletions

View File

@ -0,0 +1,5 @@
---
'openzeppelin-solidity': major
---
Overrides are now used internally for a number of functions that were previously hardcoded to their default implementation in certain locations: `ERC1155Supply.totalSupply`, `ERC721.ownerOf`, `ERC721.balanceOf` in `ERC721Enumerable`, and `ERC20.totalSupply` in `ERC20FlashMint`.