Skip to content

Feat/erc165 lib#23

Merged
dadadave80 merged 2 commits intodevfrom
feat/erc165-lib
Apr 13, 2026
Merged

Feat/erc165 lib#23
dadadave80 merged 2 commits intodevfrom
feat/erc165-lib

Conversation

@dadadave80
Copy link
Copy Markdown
Owner

Move supportsInterface from DiamondLoupeFacet into a new ERC165Facet for cleaner separation of concerns. Update deploy script, test state, and all test files to register and reference the new facet.

Replace storage-based interface checks with an assembly switch-case in
ERC165Lib that returns true for ERC-165, ERC-173, IDiamondCut, and
IDiamondLoupe without touching storage. This eliminates the need for
ERC165Init and its storage writes during initialization.
Move supportsInterface from DiamondLoupeFacet into a new ERC165Facet for
cleaner separation of concerns. Update deploy script, test state, and
all test files to register and reference the new facet.
@dadadave80 dadadave80 merged commit 212caa6 into dev Apr 13, 2026
2 checks passed
@dadadave80 dadadave80 deleted the feat/erc165-lib branch April 13, 2026 21:43
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