Remove ERC165Storage by JulissaDantes · Pull Request #3880 · OpenZeppelin/openzeppelin-contracts (original) (raw)
Fixes #3641
The use of storage makes it more expensive to execute supportsInterface, and also to deploy the contract. Deployment costs are not necessarily worse though, because when storage is not used it requires more bytecode, but probably not enough to match it. After verifying that the percentage of people using ERC165storage
as opposed to the ERC165
version is considerably lower, we are removing the ERC165Storage
contract.
PR Checklist
- Tests
- Documentation
- Changelog entry