Skip to content

Conversation

@allformless
Copy link
Collaborator

Description

core/state: simplify statedb copy

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

@buddh0 buddh0 marked this pull request as draft September 25, 2025 06:32
@buddh0 buddh0 marked this pull request as ready for review September 29, 2025 08:24
@buddh0
Copy link
Collaborator

buddh0 commented Sep 29, 2025

now the statedb has cache now, so copy items in prefetcher is useless
so just remove CopyDoPrefetch, also align more code with go-ethereum

@buddh0 buddh0 marked this pull request as draft September 29, 2025 09:11
@buddh0
Copy link
Collaborator

buddh0 commented Sep 29, 2025

when a prefetcher do a copy, it will stop the origin prefetch
so pending this PR for now, until the prefetcher is refactored by next upstream

Copy link
Collaborator

@zzzckck zzzckck left a comment

Choose a reason for hiding this comment

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

need more investigation about the TriePrefetch copy code, marked it pending first.

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.

4 participants