core/overlay: copy BaseRoot in TransitionState.Copy

This commit is contained in:
Galoretka 2025-09-15 10:18:08 +03:00 committed by GitHub
parent c2fcc27132
commit 09e6bccf6b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,6 +60,7 @@ func (ts *TransitionState) Copy() *TransitionState {
CurrentSlotHash: ts.CurrentSlotHash, CurrentSlotHash: ts.CurrentSlotHash,
CurrentPreimageOffset: ts.CurrentPreimageOffset, CurrentPreimageOffset: ts.CurrentPreimageOffset,
StorageProcessed: ts.StorageProcessed, StorageProcessed: ts.StorageProcessed,
BaseRoot: ts.BaseRoot,
} }
if ts.CurrentAccountAddress != nil { if ts.CurrentAccountAddress != nil {
addr := *ts.CurrentAccountAddress addr := *ts.CurrentAccountAddress