HomeSource World

core/state: disable snapshot iteration if it's not fully constructed (#21682)

Description

core/state: disable snapshot iteration if it's not fully constructed (#21682)

  • core/state/snapshot: add diskRoot function
  • core/state/snapshot: disable iteration if the snapshot is generating
  • core/state/snapshot: simplify the function
  • core/state: panic for undefined layer

Details

Provenance
gary rong <garyrong0905@gmail.com>Authored on Wed, Oct 28, 12:27 PM
GitHub <noreply@github.com>Committed on Wed, Oct 28, 12:27 PM
Parents
rGETH18145adf084b: core/state: maintain one more diff layer (#21730)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGETH43c278cdf93d: core/state: disable snapshot iteration if it's not fully constructed (#21682) (authored by gary rong <garyrong0905@gmail.com>).Wed, Oct 28, 12:27 PM