Skip to content

[v2] feat(ast): add InterfaceDefinition::compute_interface_id - #2038

Open
hedgar2017 wants to merge 1 commit into
mainfrom
az-interface-id
Open

[v2] feat(ast): add InterfaceDefinition::compute_interface_id#2038
hedgar2017 wants to merge 1 commit into
mainfrom
az-interface-id

Conversation

@hedgar2017

Copy link
Copy Markdown
Contributor

Compute the ERC-165 interface identifier as the XOR of the selectors of the functions the interface itself declares, excluding those inherited from base interfaces (matching type(I).interfaceId), so consumers read it from the binder instead of recomputing the fold.

Compute the ERC-165 interface identifier as the XOR of the selectors of the
functions the interface itself declares, excluding those inherited from base
interfaces (matching `type(I).interfaceId`), so consumers read it from the
binder instead of recomputing the fold.
@hedgar2017
hedgar2017 requested review from a team as code owners August 7, 2026 16:23
@changeset-bot

changeset-bot Bot commented Aug 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: baa6254

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Branchaz-interface-id
Testbedci

⚠️ WARNING: Truncated view!

The full continuous benchmarking report exceeds the maximum length allowed on this platform.

🐰 View full continuous benchmarking report in Bencher

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