Skip to content

Conversation

@karen-sarkisyan
Copy link
Contributor

This PR implements state overrides for RPC calls that support them. State overrides are not part of the JSON-RPC spec and implementations may vary.

This implementation:

  • Errors if both state and stateDiff are provided, consistent with Geth and Reth
  • Does not support movePrecompileToAddress (nor does Reth seem to). I don't believe it's a good idea to use Helios for such simulations anyway.

Copy link
Collaborator

@ncitron ncitron left a comment

Choose a reason for hiding this comment

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

LGTM!

@ncitron ncitron merged commit cfd3f44 into a16z:master Dec 10, 2025
6 of 7 checks passed
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.

2 participants