Skip to content

[v2] feat(ast): add EventDefinition::compute_topic - #2037

Open
hedgar2017 wants to merge 1 commit into
mainfrom
az-event-topic
Open

[v2] feat(ast): add EventDefinition::compute_topic#2037
hedgar2017 wants to merge 1 commit into
mainfrom
az-event-topic

Conversation

@hedgar2017

Copy link
Copy Markdown
Contributor

Extract hash_from_signature as the keccak256 of a canonical signature; the 4-byte selector is its truncation and the event topic is the whole hash, so both derive from one primitive. Lets consumers read an event topic from the binder instead of hashing the signature themselves.

Extract hash_from_signature as the keccak256 of a canonical signature; the
4-byte selector is its truncation and the event topic is the whole hash, so
both derive from one primitive. Lets consumers read an event topic from the
binder instead of hashing the signature themselves.
@hedgar2017
hedgar2017 requested review from a team as code owners August 7, 2026 16:22
@changeset-bot

changeset-bot Bot commented Aug 7, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 017eda8

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-event-topic
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