Skip to content

Commit

Permalink
[BCI-3837] - Remove tautological check inside EVM TXM (#13857)
Browse files Browse the repository at this point in the history
* remove tautological err check

* add changeset
  • Loading branch information
Farber98 authored Jul 16, 2024
1 parent 873abac commit 6bf25fc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/dull-seals-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

remove tautological err check within evm txm. #internal
4 changes: 1 addition & 3 deletions core/chains/evm/txmgr/evm_tx_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -1704,9 +1704,7 @@ func (o *evmTxStore) UpdateTxUnstartedToInProgress(ctx context.Context, etx *Tx,
pqErr.ConstraintName == "eth_tx_attempts_eth_tx_id_fkey" {
return txmgr.ErrTxRemoved
}
if err != nil {
return pkgerrors.Wrap(err, "UpdateTxUnstartedToInProgress failed to create eth_tx_attempt")
}
return pkgerrors.Wrap(err, "UpdateTxUnstartedToInProgress failed to create eth_tx_attempt")
}
dbAttempt.ToTxAttempt(attempt)
var dbEtx DbEthTx
Expand Down

0 comments on commit 6bf25fc

Please sign in to comment.