Skip to content

feat(slang): lower type(C).interfaceId for abstract contracts - #792

Draft
nebasuke wants to merge 1 commit into
mainfrom
slang-abstract-interface-id
Draft

nebasuke wants to merge 1 commit into
mainfrom
slang-abstract-interface-id

Conversation

@nebasuke

@nebasuke nebasuke commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

interfaceId support for abstract contracts. Pending NomicFoundation/slang#2235.

Claude summary

type(C).interfaceId compiles when C is an abstract contract, with the identifier solc computes.

solc gives every abstract contract an ERC-165 identifier, and OpenZeppelin 4.x's IGovernor is one, so every Governor deployment in the Sourcify sweep hits this. Needs slang#2180's ContractDefinition::compute_interface_id.

This branch has not been deployed

No deployments
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