diff --git a/common/txmgr/types/mocks/head.go b/common/txmgr/types/mocks/head.go index 826d4b82d28..441584c3d2b 100644 --- a/common/txmgr/types/mocks/head.go +++ b/common/txmgr/types/mocks/head.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.20.0. DO NOT EDIT. +// Code generated by mockery v2.22.1. DO NOT EDIT. package mocks diff --git a/common/txmgr/types/mocks/head_trackable.go b/common/txmgr/types/mocks/head_trackable.go index 03aa56b1d96..d2282bc1187 100644 --- a/common/txmgr/types/mocks/head_trackable.go +++ b/common/txmgr/types/mocks/head_trackable.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.20.0. DO NOT EDIT. +// Code generated by mockery v2.22.1. DO NOT EDIT. package mocks diff --git a/core/chains/evm/headtracker/mocks/head_broadcaster.go b/core/chains/evm/headtracker/mocks/head_broadcaster.go index 6c0f9f3fce7..8505fda58b7 100644 --- a/core/chains/evm/headtracker/mocks/head_broadcaster.go +++ b/core/chains/evm/headtracker/mocks/head_broadcaster.go @@ -5,9 +5,10 @@ package mocks import ( context "context" - headtrackertypes "github.com/smartcontractkit/chainlink/core/chains/evm/headtracker/types" mock "github.com/stretchr/testify/mock" + txmgrtypes "github.com/smartcontractkit/chainlink/common/txmgr/types" + types "github.com/smartcontractkit/chainlink/core/chains/evm/types" ) @@ -94,15 +95,15 @@ func (_m *HeadBroadcaster) Start(_a0 context.Context) error { } // Subscribe provides a mock function with given fields: callback -func (_m *HeadBroadcaster) Subscribe(callback headtrackertypes.HeadTrackable) (*types.Head, func()) { +func (_m *HeadBroadcaster) Subscribe(callback txmgrtypes.HeadTrackable[*types.Head]) (*types.Head, func()) { ret := _m.Called(callback) var r0 *types.Head var r1 func() - if rf, ok := ret.Get(0).(func(headtrackertypes.HeadTrackable) (*types.Head, func())); ok { + if rf, ok := ret.Get(0).(func(txmgrtypes.HeadTrackable[*types.Head]) (*types.Head, func())); ok { return rf(callback) } - if rf, ok := ret.Get(0).(func(headtrackertypes.HeadTrackable) *types.Head); ok { + if rf, ok := ret.Get(0).(func(txmgrtypes.HeadTrackable[*types.Head]) *types.Head); ok { r0 = rf(callback) } else { if ret.Get(0) != nil { @@ -110,7 +111,7 @@ func (_m *HeadBroadcaster) Subscribe(callback headtrackertypes.HeadTrackable) (* } } - if rf, ok := ret.Get(1).(func(headtrackertypes.HeadTrackable) func()); ok { + if rf, ok := ret.Get(1).(func(txmgrtypes.HeadTrackable[*types.Head]) func()); ok { r1 = rf(callback) } else { if ret.Get(1) != nil { diff --git a/core/chains/evm/txmgr/mocks/tx_manager.go b/core/chains/evm/txmgr/mocks/tx_manager.go index 2ca26ea56a4..29cd2b11ea8 100644 --- a/core/chains/evm/txmgr/mocks/tx_manager.go +++ b/core/chains/evm/txmgr/mocks/tx_manager.go @@ -1,4 +1,4 @@ -// Code generated by mockery v2.20.0. DO NOT EDIT. +// Code generated by mockery v2.22.1. DO NOT EDIT. package mocks