Skip to content

refactor(traces): unify decoder hardfork state - #16417

Open
stevencartavia wants to merge 2 commits into
masterfrom
steven/unified-decoder-hardfork
Open

refactor(traces): unify decoder hardfork state#16417
stevencartavia wants to merge 2 commits into
masterfrom
steven/unified-decoder-hardfork

Conversation

@stevencartavia

Copy link
Copy Markdown
Member

CallTraceDecoder currently stores network-specific hardforks separately even though execution resolves a single FoundryHardfork. This requires callers to decompose that value when configuring and updating the decoder.

Store the resolved FoundryHardfork directly and let network-specific metadata extract its relevant variant internally. This simplifies decoder configuration, precompile detection, and runtime refreshes. It also lets Base use the same builder, state, and update APIs instead of adding a parallel Base upgrade field and feature-gated call-site plumbing.

@github-actions

Copy link
Copy Markdown
Contributor

✅ Changelog found

The deterministic check will validate the changed entry.

@mattsse mattsse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

mattsse
mattsse previously approved these changes Aug 28, 2026

@mattsse mattsse left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@figtracer
figtracer enabled auto-merge (squash) August 29, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants