diff --git a/.changeset/funny-snails-shake.md b/.changeset/funny-snails-shake.md new file mode 100644 index 00000000000..dad6c90872b --- /dev/null +++ b/.changeset/funny-snails-shake.md @@ -0,0 +1,5 @@ +--- +"chainlink": minor +--- + +Added API for products to query a transaction's status in the TXM #internal diff --git a/common/txmgr/txmgr.go b/common/txmgr/txmgr.go index c619fae6fe6..ee8296f5cb9 100644 --- a/common/txmgr/txmgr.go +++ b/common/txmgr/txmgr.go @@ -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 }