Skip to content

Commit

Permalink
Merge branch 'zkevm' into fix-stage-batches-resequence
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Staykov authored Nov 6, 2024
2 parents ddbc956 + 1d05e31 commit 136bb86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/tracers/native/zero.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (t *zeroTracer) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, sco
slot := libcommon.Hash(stackData[stackLen-1].Bytes32())
t.addAccountToTrace(caller)
t.addSLOADToAccount(caller, slot)
case stackLen >= 1 && op == vm.SSTORE:
case stackLen >= 2 && op == vm.SSTORE:
slot := libcommon.Hash(stackData[stackLen-1].Bytes32())
t.addAccountToTrace(caller)
t.addSSTOREToAccount(caller, slot, stackData[stackLen-2].Clone())
Expand Down

0 comments on commit 136bb86

Please sign in to comment.