Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: scroll revm #30

Closed

Conversation

greged93
Copy link
Collaborator

@greged93 greged93 commented Nov 8, 2024

Context

In order to derive the correct state root for a Scroll block, additional fields are required on accounts: code_size and poseidon_code_hash.

This PR introduces a code copy of the BundleState, StateChangeset, PlainStateReverts and related accounts type (e.g. BundleAccount, AccountInfo) and adds the required fields.

The next steps would be to add the a caching provider which can compute the ScrollPostExecutionContext at runtime.
From there we can start introducing the updated types in Reth behind a feature flag.

Builds towards #7

Signed-off-by: Gregory Edison <[email protected]>
@greged93 greged93 closed this Nov 18, 2024
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