Skip to content

core: refactor StateProcessor to accept ChainContext interface#32739

Merged
s1na merged 6 commits into
ethereum:masterfrom
hero5512:refactor-stateprocessor
Oct 2, 2025
Merged

core: refactor StateProcessor to accept ChainContext interface#32739
s1na merged 6 commits into
ethereum:masterfrom
hero5512:refactor-stateprocessor

Conversation

@hero5512
Copy link
Copy Markdown
Contributor

@hero5512 hero5512 commented Sep 24, 2025

This pr implements #32733 to enable StateProcessor to be accepted custom data format.

Release notes

This introduces a breaking change to users using geth EVM as a library. The NewStateProcessor function now takes one parameter which has the chainConfig embedded instead of 2 parameters.

@hero5512 hero5512 marked this pull request as draft September 24, 2025 22:50
Comment thread core/state_processor.go Outdated
@hero5512 hero5512 marked this pull request as ready for review September 25, 2025 01:55
Comment thread core/state_processor.go Outdated
@hero5512 hero5512 requested a review from s1na as a code owner September 25, 2025 15:21
Comment thread core/state_processor.go Outdated
Comment thread core/state_processor.go
Copy link
Copy Markdown
Contributor

@s1na s1na left a comment

Choose a reason for hiding this comment

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

LGTM

We should note in the release docs that this introduces a breaking change to the StateProcessor interface.

@s1na s1na added this to the 1.16.5 milestone Sep 30, 2025
@rjl493456442 rjl493456442 self-assigned this Sep 30, 2025
@rjl493456442 rjl493456442 changed the title core: refactor StateProcessor to accept ChainReader interface core: refactor StateProcessor to accept ChainContext interface Sep 30, 2025
@s1na s1na removed the status:triage label Oct 2, 2025
@s1na s1na merged commit fc8c8c1 into ethereum:master Oct 2, 2025
7 of 8 checks passed
Sahil-4555 pushed a commit to Sahil-4555/go-ethereum that referenced this pull request Oct 12, 2025
…eum#32739)

This pr implements ethereum#32733
to make StateProcessor more customisable.

## Compatibility notes

This introduces a breaking change to users using geth EVM as a library.
The `NewStateProcessor` function now takes one parameter which has the
chainConfig embedded instead of 2 parameters.
atkinsonholly pushed a commit to atkinsonholly/ephemery-geth that referenced this pull request Nov 24, 2025
…eum#32739)

This pr implements ethereum#32733
to make StateProcessor more customisable.

## Compatibility notes

This introduces a breaking change to users using geth EVM as a library.
The `NewStateProcessor` function now takes one parameter which has the
chainConfig embedded instead of 2 parameters.
prestoalvarez pushed a commit to prestoalvarez/go-ethereum that referenced this pull request Nov 27, 2025
…eum#32739)

This pr implements ethereum#32733
to make StateProcessor more customisable.

## Compatibility notes

This introduces a breaking change to users using geth EVM as a library.
The `NewStateProcessor` function now takes one parameter which has the
chainConfig embedded instead of 2 parameters.
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.

5 participants