diff --git a/eth/tracers/native/erc7562.go b/eth/tracers/native/erc7562.go index 0bf80d77b5..d0a2813381 100644 --- a/eth/tracers/native/erc7562.go +++ b/eth/tracers/native/erc7562.go @@ -308,6 +308,7 @@ func (t *erc7562Tracer) OnLog(log1 *types.Log) { Address: log1.Address, Topics: log1.Topics, Data: log1.Data, + Index: hexutil.Uint(log1.Index), Position: hexutil.Uint(len(t.callstackWithOpcodes[len(t.callstackWithOpcodes)-1].Calls)), } t.callstackWithOpcodes[len(t.callstackWithOpcodes)-1].Logs = append(t.callstackWithOpcodes[len(t.callstackWithOpcodes)-1].Logs, l)