From c6824bea1946abe24bbc2751e018747fd74c1a86 Mon Sep 17 00:00:00 2001 From: Andrew Low Date: Thu, 7 Dec 2023 22:57:51 -0500 Subject: [PATCH] nits --- analyzer/evmabibackfill/evm_abi_backfill.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/analyzer/evmabibackfill/evm_abi_backfill.go b/analyzer/evmabibackfill/evm_abi_backfill.go index 34a9d6770..77f6f4b04 100644 --- a/analyzer/evmabibackfill/evm_abi_backfill.go +++ b/analyzer/evmabibackfill/evm_abi_backfill.go @@ -173,7 +173,7 @@ func (p *processor) ProcessItem(ctx context.Context, batch *storage.QueryBatch, return fmt.Errorf("error unmarshalling abi: %w", err) } // Parse data - if item.Event != nil { + if item.Event != nil { //nolint:nestif // has complex nested blocks (complexity: 12) (nestif) abiEvent, abiEventArgs, err := abiparse.ParseEvent(item.Event.EventBody.Topics, item.Event.EventBody.Data, &contractAbi) if err != nil { queueIncompatibleEventUpdate(batch, p.runtime, item.Event.Round, item.Event.TxIndex) @@ -197,7 +197,6 @@ func (p *processor) ProcessItem(ctx context.Context, batch *storage.QueryBatch, abiEvent.ID, ) } else if item.Tx != nil { - p.logger.Info("parsing tx", "txerr", item.Tx.TxRevertReason, "txhash", item.Tx.TxHash) method, abiTxArgs, err := abiparse.ParseData(item.Tx.TxData, &contractAbi) if err != nil { queueIncompatibleTxUpdate(batch, p.runtime, item.Tx.TxHash)