diff --git a/rpc/backend/blocks.go b/rpc/backend/blocks.go index 6607fcbc07..a91118168a 100644 --- a/rpc/backend/blocks.go +++ b/rpc/backend/blocks.go @@ -339,6 +339,7 @@ func (b *Backend) parseSyntheticTxFromBlockResults( return nil, nil } if additional == nil || res == nil { + b.logger.Debug("synthetic ethereum tx not found in msgs: block %d, index %d", block.Height, i) return nil, nil } return b.parseSyntethicTxFromAdditionalFields(additional), additional diff --git a/rpc/types/events.go b/rpc/types/events.go index 886b0e6a87..3026d13158 100644 --- a/rpc/types/events.go +++ b/rpc/types/events.go @@ -271,7 +271,7 @@ func ParseTxBlockResult( } if len(txs.Txs) == 0 { - return nil, nil, fmt.Errorf("ethereum tx not found in msgs: block %d, index %d", height, txIndex) + return nil, nil, nil } parsedTx := txs.Txs[0] if parsedTx.Type == CosmosEVMTxType {