From 6e002d474e5d48f7a3a0957ec8ed183a3f3bcefb Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Mon, 7 Jul 2025 11:44:31 +0800 Subject: [PATCH] core/state: fix state object deep copy #20100 --- core/state/state_object.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/state/state_object.go b/core/state/state_object.go index b3c37f65411a..40714908ed9a 100644 --- a/core/state/state_object.go +++ b/core/state/state_object.go @@ -383,6 +383,7 @@ func (s *stateObject) deepCopy(db *StateDB) *stateObject { stateObject.code = s.code stateObject.dirtyStorage = s.dirtyStorage.Copy() stateObject.originStorage = s.originStorage.Copy() + stateObject.pendingStorage = s.pendingStorage.Copy() stateObject.selfDestructed = s.selfDestructed stateObject.dirtyCode = s.dirtyCode stateObject.deleted = s.deleted