Skip to content

Conversation

@greged93
Copy link

@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