From 887fa1e6f2cb32d41fdcf7e629562f488c70ff7a Mon Sep 17 00:00:00 2001 From: Matthieu Vachon Date: Fri, 13 Sep 2024 14:55:48 -0400 Subject: [PATCH] Fixed parallel execution tracing --- x/evm/tracers/firehose.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/x/evm/tracers/firehose.go b/x/evm/tracers/firehose.go index bf73c68a3..4c79b9405 100644 --- a/x/evm/tracers/firehose.go +++ b/x/evm/tracers/firehose.go @@ -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 {