mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-12 15:03:45 +00:00
Removed a bit of useless tracing in Firehose tracer
This commit is contained in:
parent
69012519aa
commit
5f3d5f3f19
1 changed files with 1 additions and 2 deletions
|
|
@ -706,7 +706,6 @@ func (f *Firehose) assignOrdinalAndIndexToReceiptLogs() {
|
||||||
|
|
||||||
callLogs := []*pbeth.Log{}
|
callLogs := []*pbeth.Log{}
|
||||||
for _, call := range trx.Calls {
|
for _, call := range trx.Calls {
|
||||||
firehoseTrace("checking call (reverted=%t logs=%d)", call.StateReverted, len(call.Logs))
|
|
||||||
if call.StateReverted {
|
if call.StateReverted {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
@ -1234,7 +1233,7 @@ func (f *Firehose) OnBalanceChange(a common.Address, prev, new *big.Int, reason
|
||||||
|
|
||||||
if *f.applyBackwardCompatibility {
|
if *f.applyBackwardCompatibility {
|
||||||
// Known Firehose issue: It's possible to burn Ether by sending some ether to a suicided account. In those case,
|
// 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.
|
// we were not tracking in the old Firehose instrumentation.
|
||||||
if reason == tracing.BalanceDecreaseSelfdestructBurn {
|
if reason == tracing.BalanceDecreaseSelfdestructBurn {
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue