Skip to content

Conversation

@greged93
Copy link

@greged93 greged93 commented Nov 8, 2024

Context

This PR introduces a ScrollStateProviderDatabase, a similar construct as the StateProviderDatabase but providing a cache layer for the code size and the Poseidon code hash of every touched account's bytecode via the ScrollPostExecutionContext (mapping from Keccak hash of an account's bytecode to the code size and Poseidon hash).

Build towards #7 and should be reviewed after #30.

Signed-off-by: Gregory Edison <[email protected]>
@greged93 greged93 marked this pull request as draft November 9, 2024 07:29
Comment on lines +203 to +206
Copy link
Author

@greged93 greged93 Nov 9, 2024

Choose a reason for hiding this comment

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

This is added as an intermediate solution in order for the clippy check to pass. Once the whole code base is migrated to use our ScrollAccountInfo, this can be removed.

@greged93 greged93 force-pushed the greged93/feat/scroll-state-provider branch 3 times, most recently from 0b9285f to 0936180 Compare November 9, 2024 10:59
@greged93 greged93 force-pushed the greged93/feat/scroll-state-provider branch from 0936180 to 2a46a48 Compare November 10, 2024 08:02
@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