Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix supportsInterface function visibility to comply with ERC-165… #2414

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brawncode
Copy link

I noticed that the supportsInterface function was incorrectly declared as pure instead of view.
According to the ERC-165 specification, this function should be view since it may read the contract's state (e.g., checking supported interfaces) but does not modify it.

This change ensures compliance with the standard.

@brawncode brawncode requested a review from a team as a code owner January 25, 2025 19:38
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.

1 participant