Removed a bit of useless tracing in Firehose tracer

This commit is contained in:
Matthieu Vachon 2025-02-07 16:56:09 -05:00
parent 69012519aa
commit 5f3d5f3f19

View file

@ -706,7 +706,6 @@ func (f *Firehose) assignOrdinalAndIndexToReceiptLogs() {
callLogs := []*pbeth.Log{}
for _, call := range trx.Calls {
firehoseTrace("checking call (reverted=%t logs=%d)", call.StateReverted, len(call.Logs))
if call.StateReverted {
continue
}
@ -1234,7 +1233,7 @@ func (f *Firehose) OnBalanceChange(a common.Address, prev, new *big.Int, reason
if *f.applyBackwardCompatibility {
// Known Firehose issue: It's possible to burn Ether by sending some ether to a suicided account. In those case,
// at theend of block producing, StateDB finalize the block by burning ether from the account. This is something
// at the end of block producing, StateDB finalize the block by burning ether from the account. This is something
// we were not tracking in the old Firehose instrumentation.
if reason == tracing.BalanceDecreaseSelfdestructBurn {
return