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

Fix: help merging CachedReads across blocks #14993

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

0xNarumi
Copy link
Contributor

@0xNarumi 0xNarumi commented Mar 12, 2025

The fields of CachedReads are now private.
We want to reuse CachedReads across blocks, but having private fields is making our codebase somewhat less clean.
reth is using CachedReads::insert_account, but this isn't sufficient for us since it only replaces the data. We want to extend storage.

If you have any suggestions, please let me know.

@0xNarumi 0xNarumi requested review from mattsse and rakita as code owners March 12, 2025 17:53
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

imo this is reasonable, this way this type can be deconstructed.

needs docs

@mattsse mattsse added the A-execution Related to the Execution and EVM label Mar 12, 2025
@0xNarumi 0xNarumi requested a review from mattsse March 13, 2025 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-execution Related to the Execution and EVM
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants