core/state: fix state object deep copy #20100 (#1190)

This commit is contained in:
Daniel Liu 2025-07-11 09:47:37 +08:00 committed by GitHub
parent 16638e9e17
commit be97571471
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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