Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core/state: commit snapshot only if the base layer exists (#30493)
This pull request skips the state snapshot update if the base layer is not existent, eliminating the numerous warning logs after an unclean shutdown. Specifically, Geth will rewind its chain head to a historical block after unclean shutdown and state snapshot will be remained as unchanged waiting for recovery. During this period of time, the snapshot is unusable and all state updates should be ignored/skipped for state snapshot update.
- Loading branch information