bsc icon indicating copy to clipboard operation
bsc copied to clipboard

core/state: simplify statedb copy

Open allformless opened this issue 3 months ago • 2 comments

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
  • ...

allformless avatar Sep 16 '25 02:09 allformless

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 avatar Sep 29 '25 08:09 buddh0

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

buddh0 avatar Sep 29 '25 09:09 buddh0