From 1741f12cba762be084083cc4e094bb3162c2dcc6 Mon Sep 17 00:00:00 2001 From: Jordan Krage Date: Mon, 23 Mar 2026 18:42:08 -0500 Subject: [PATCH] pkg/txmgr: bump framework for txmgr ifaces --- go.mod | 2 +- go.sum | 4 ++-- pkg/txmgr/builder.go | 6 +++--- pkg/txmgr/models.go | 9 +++++++++ 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index 73272b4eb2..1de849d35a 100644 --- a/go.mod +++ b/go.mod @@ -32,7 +32,7 @@ require ( github.com/smartcontractkit/chainlink-data-streams v0.1.12-0.20260227110503-42b236799872 github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251022073203-7d8ae8cf67c1 github.com/smartcontractkit/chainlink-framework/capabilities v0.0.0-20250818175541-3389ac08a563 - github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20260317132927-e8bc2c7b01f1 + github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20260325164211-c77e73c79080 github.com/smartcontractkit/chainlink-framework/metrics v0.0.0-20251020150604-8ab84f7bad1a github.com/smartcontractkit/chainlink-framework/multinode v0.0.0-20251021173435-e86785845942 github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20260226130359-963f935e0396 diff --git a/go.sum b/go.sum index 7e6637568e..5165bf8ea6 100644 --- a/go.sum +++ b/go.sum @@ -660,8 +660,8 @@ github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251022073203-7d8 github.com/smartcontractkit/chainlink-evm/gethwrappers v0.0.0-20251022073203-7d8ae8cf67c1/go.mod h1:oyfOm4k0uqmgZIfxk1elI/59B02shbbJQiiUdPdbMgI= github.com/smartcontractkit/chainlink-framework/capabilities v0.0.0-20250818175541-3389ac08a563 h1:ACpDbAxG4fa4sA83dbtYcrnlpE/y7thNIZfHxTv2ZLs= github.com/smartcontractkit/chainlink-framework/capabilities v0.0.0-20250818175541-3389ac08a563/go.mod h1:jP5mrOLFEYZZkl7EiCHRRIMSSHCQsYypm1OZSus//iI= -github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20260317132927-e8bc2c7b01f1 h1:aUdjMnHpriMkEwsgeqQ/ZuNBjrWw6c46HG57TuPPEbE= -github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20260317132927-e8bc2c7b01f1/go.mod h1:kGprqyjsz6qFNVszOQoHc24wfvCjyipNZFste/3zcbs= +github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20260325164211-c77e73c79080 h1:H1VUXAOzhPOSTQdLHs+eI75SBEjBDwqUkmZPHb6cQ2c= +github.com/smartcontractkit/chainlink-framework/chains v0.0.0-20260325164211-c77e73c79080/go.mod h1:kGprqyjsz6qFNVszOQoHc24wfvCjyipNZFste/3zcbs= github.com/smartcontractkit/chainlink-framework/metrics v0.0.0-20251020150604-8ab84f7bad1a h1:pr0VFI7AWlDVJBEkcvzXWd97V8w8QMNjRdfPVa/IQLk= github.com/smartcontractkit/chainlink-framework/metrics v0.0.0-20251020150604-8ab84f7bad1a/go.mod h1:jo+cUqNcHwN8IF7SInQNXDZ8qzBsyMpnLdYbDswviFc= github.com/smartcontractkit/chainlink-framework/multinode v0.0.0-20251021173435-e86785845942 h1:T/eCDsUI8EJT4n5zSP4w1mz4RHH+ap8qieA17QYfBhk= diff --git a/pkg/txmgr/builder.go b/pkg/txmgr/builder.go index fadbdefce2..4974dfcbe1 100644 --- a/pkg/txmgr/builder.go +++ b/pkg/txmgr/builder.go @@ -94,10 +94,10 @@ func NewEvmTxm( fwdMgr FwdMgr, txAttemptBuilder TxAttemptBuilder, txStore TxStore, - broadcaster *Broadcaster, - confirmer *Confirmer, + broadcaster BroadcasterI, + confirmer ConfirmerI, resender *Resender, - tracker *Tracker, + tracker TrackerI, finalizer Finalizer, txmv2wrapper TxManager, dualBroadcastEnabled bool, diff --git a/pkg/txmgr/models.go b/pkg/txmgr/models.go index bc9f6470ea..f3e6c069fe 100644 --- a/pkg/txmgr/models.go +++ b/pkg/txmgr/models.go @@ -18,9 +18,12 @@ import ( // Type aliases for EVM type ( Confirmer = txmgr.Confirmer[*big.Int, *evmtypes.Head, common.Address, common.Hash, common.Hash, *evmtypes.Receipt, evmtypes.Nonce, gas.EvmFee] + ConfirmerI = txmgr.ConfirmerI[*evmtypes.Head, common.Address, common.Hash] Broadcaster = txmgr.Broadcaster[*big.Int, *evmtypes.Head, common.Address, common.Hash, common.Hash, evmtypes.Nonce, gas.EvmFee] + BroadcasterI = txmgr.BroadcasterI[common.Address] Resender = txmgr.Resender[*big.Int, common.Address, common.Hash, common.Hash, *evmtypes.Receipt, evmtypes.Nonce, gas.EvmFee] Tracker = txmgr.Tracker[*big.Int, common.Address, common.Hash, common.Hash, *evmtypes.Receipt, evmtypes.Nonce, gas.EvmFee] + TrackerI = txmgr.TrackerI[common.Address] Reaper = txmgr.Reaper[*big.Int] TxStore = txmgrtypes.TxStore[common.Address, *big.Int, common.Hash, common.Hash, *evmtypes.Receipt, evmtypes.Nonce, gas.EvmFee] TransactionStore = txmgrtypes.TransactionStore[common.Address, *big.Int, common.Hash, common.Hash, evmtypes.Nonce, gas.EvmFee] @@ -45,6 +48,12 @@ type ( Finalizer = txmgrtypes.Finalizer[common.Hash, *evmtypes.Head] ) +var ( + _ BroadcasterI = &Broadcaster{} + _ ConfirmerI = &Confirmer{} + _ TrackerI = &Tracker{} +) + var _ KeyStore = (keys.Addresses)(nil) // check interface in txmgr to avoid circular import const (