Skip to content

Commit 69a61f5

Browse files
lwedge99zfy0701
authored andcommitted
Add Mapping keys to post account (OffchainLabs#5)
1 parent 655386d commit 69a61f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/tracers/sentio/prestate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ func (t *sentioPrestateTracer) CaptureTxEnd(restGas uint64) {
211211
newNonce := t.env.StateDB.GetNonce(addr)
212212
newCode := t.env.StateDB.GetCode(addr)
213213
postAccount.CodeAddress = state.CodeAddress
214-
postAccount.MappingKeys = state.MappingKeys
214+
postAccount.MappingKeys = t.pre[addr].MappingKeys
215215

216216
if newBalance.Cmp(t.pre[addr].Balance) != 0 {
217217
modified = true

0 commit comments

Comments
 (0)