Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions src/Nethermind/Nethermind.Evm/Tracing/CompositeTxTracer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public CompositeTxTracer(IList<ITxTracer> txTracers)
IsTracingStorage |= t.IsTracingStorage;
IsTracingAccess |= t.IsTracingAccess;
IsTracingFees |= t.IsTracingFees;
IsTracingLogs |= t.IsTracingLogs;
}
}

Expand Down Expand Up @@ -187,24 +188,12 @@ public void ReportOperationRemainingGas(long gas)
}
}

public void ReportOperationLogs(LogEntry log)
{
for (int index = 0; index < _txTracers.Count; index++)
{
ITxTracer innerTracer = _txTracers[index];
if (innerTracer.IsTracingInstructions && innerTracer.IsTracingLogs)
{
innerTracer.ReportLog(log);
}
}
}

public void ReportLog(LogEntry log)
{
for (int index = 0; index < _txTracers.Count; index++)
{
ITxTracer innerTracer = _txTracers[index];
if (innerTracer.IsTracingInstructions)
if (innerTracer.IsTracingLogs)
{
innerTracer.ReportLog(log);
}
Expand Down