Skip to content

Consider removing ERC165Storage #3641

@frangio

Description

@frangio

Does it ever make sense to use this contract over ERC165 with overrides and if statements?

The API is a little simpler because it's just a call to _registerInterface. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeChanges that break backwards compatibility of the public API.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions