From 874e9d1514ae8a55bfc82124669de2949958dfbf Mon Sep 17 00:00:00 2001 From: Jerry Date: Wed, 29 Oct 2025 17:00:33 -0700 Subject: [PATCH] Completed reset prefetcher --- core/state/statedb.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/state/statedb.go b/core/state/statedb.go index c5c72a7d94..dc5d7bb1d2 100644 --- a/core/state/statedb.go +++ b/core/state/statedb.go @@ -535,6 +535,8 @@ func (s *StateDB) StopPrefetcher() { func (s *StateDB) ResetPrefetcher() { s.prefetcher = nil s.mutations = make(map[common.Address]*mutation) + s.stateObjects = make(map[common.Address]*stateObject) + s.stateObjectsDestruct = make(map[common.Address]*stateObject) } // setError remembers the first non-nil error it is called with.