diff --git a/core/blockchain_stats.go b/core/blockchain_stats.go index b1dfca1751..81f0e5149b 100644 --- a/core/blockchain_stats.go +++ b/core/blockchain_stats.go @@ -222,7 +222,7 @@ func buildSlowBlockLog(s *ExecuteStats, block *types.Block) slowBlockLog { }, Timing: slowBlockTime{ ExecutionMs: durationToMs(s.Execution), - StateReadMs: durationToMs(s.AccountReads + s.StorageReads + s.CodeReads), + StateReadMs: durationToMs(s.AccountReads + s.StorageReads + s.CodeReads + s.Prefetch), StateHashMs: durationToMs(s.AccountHashes + s.AccountUpdates + s.StorageUpdates), CommitMs: durationToMs(max(s.AccountCommits, s.StorageCommits) + s.DatabaseCommit + s.BlockWrite), TotalMs: durationToMs(s.TotalTime), diff --git a/core/state/reader.go b/core/state/reader.go index c892803967..cee207d30f 100644 --- a/core/state/reader.go +++ b/core/state/reader.go @@ -607,4 +607,3 @@ func (r *reader) GetStats() ReaderStats { StateStats: r.GetStateStats(), } } - diff --git a/core/state/reader_eip_7928.go b/core/state/reader_eip_7928.go index ab9dcabcb8..224d7b00e9 100644 --- a/core/state/reader_eip_7928.go +++ b/core/state/reader_eip_7928.go @@ -395,4 +395,3 @@ func (r *prefetchStateReader) GetStateStats() StateReaderStats { } return StateReaderStats{} } -