Skip to content

Commit

Permalink
Added changeset and fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-momin committed Apr 30, 2024
1 parent 06ae015 commit 85a0cdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/funny-snails-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": minor
---

Added API for products to query a transaction's status in the TXM #internal
2 changes: 1 addition & 1 deletion common/txmgr/txmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ func (n *NullTxManager[CHAIN_ID, HEAD, ADDR, TX_HASH, BLOCK_HASH, SEQ, FEE, ERRO
return count, errors.New(n.ErrMsg)
}

func (b *NullTxManager[CHAIN_ID, HEAD, ADDR, TX_HASH, BLOCK_HASH, SEQ, FEE, ERROR]) TxStatusByIdempotencyKey(ctx context.Context, idempotencyKey string) (state txmgrtypes.TxState, txErr ERROR, err error) {
func (n *NullTxManager[CHAIN_ID, HEAD, ADDR, TX_HASH, BLOCK_HASH, SEQ, FEE, ERROR]) TxStatusByIdempotencyKey(ctx context.Context, idempotencyKey string) (state txmgrtypes.TxState, txErr ERROR, err error) {
return "", txErr, nil
}

Expand Down

0 comments on commit 85a0cdb

Please sign in to comment.