Skip to content

Commit

Permalink
Fixed parallel execution tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
maoueh committed Sep 13, 2024
1 parent 1c8055f commit 887fa1e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions x/evm/tracers/firehose.go
Original file line number Diff line number Diff line change
Expand Up @@ -780,13 +780,12 @@ func (f *Firehose) OnSeiPostTxCosmosEvents(event seitracing.SeiPostTxCosmosEvent

firehoseInfo("post tx cosmos events on EVM transaction (tracer=%s, added_logs=%d, isolated=%t)", f.tracerID, len(event.AddedLogs), f.transactionIsolated)

var transaction *pbeth.TransactionTrace
if f.transactionIsolated {
if f.transientTransaction == nil {
f.panicInvalidState("transient transaction must be set at this point", 1)
}

f.onPostTxCosmosEventsEvmTx(event, transaction)
f.onPostTxCosmosEventsEvmTx(event, f.transientTransaction)
} else if len(f.block.TransactionTraces) > 0 {
f.onPostTxCosmosEventsEvmTx(event, f.block.TransactionTraces[len(f.block.TransactionTraces)-1])
} else if len(f.block.SystemCalls) > 0 {
Expand Down

0 comments on commit 887fa1e

Please sign in to comment.