Skip to content

Commit 06be491

Browse files
committed
Add missing lookupAccount
1 parent 08cdbb9 commit 06be491

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eth/tracers/native/prestate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ func (t *prestateTracer) OnOpcode(pc uint64, opcode byte, gas, cost uint64, scop
118118
switch {
119119
case stackLen >= 1 && (op == vm.SLOAD || op == vm.SSTORE):
120120
slot := common.Hash(stackData[stackLen-1].Bytes32())
121+
t.lookupAccount(types.ArbosStateAddress)
121122
t.lookupStorage(caller, slot)
122123
case stackLen >= 1 && (op == vm.EXTCODECOPY || op == vm.EXTCODEHASH || op == vm.EXTCODESIZE || op == vm.BALANCE || op == vm.SELFDESTRUCT):
123124
addr := common.Address(stackData[stackLen-1].Bytes20())

0 commit comments

Comments
 (0)