diff --git a/pkg/types/core/relayerset.go b/pkg/types/core/relayerset.go index e1357b8bb..27e502290 100644 --- a/pkg/types/core/relayerset.go +++ b/pkg/types/core/relayerset.go @@ -5,6 +5,7 @@ import ( "github.com/smartcontractkit/chainlink-common/pkg/services" "github.com/smartcontractkit/chainlink-common/pkg/types" + ocrtypes "github.com/smartcontractkit/libocr/offchainreporting2plus/types" ) type RelayerSet interface { @@ -16,8 +17,9 @@ type RelayerSet interface { } type PluginArgs struct { - TransmitterID string - PluginConfig []byte + TransmitterID string + PluginConfig []byte + CapRegConfigTracker ocrtypes.ContractConfigTracker } type RelayArgs struct { diff --git a/pkg/types/relayer.go b/pkg/types/relayer.go index f848834c8..796ce1252 100644 --- a/pkg/types/relayer.go +++ b/pkg/types/relayer.go @@ -15,6 +15,7 @@ import ( "github.com/smartcontractkit/chainlink-common/pkg/types/chains/ton" "github.com/smartcontractkit/chainlink-common/pkg/types/query" "github.com/smartcontractkit/chainlink-common/pkg/types/query/primitives" + ocrtypes "github.com/smartcontractkit/libocr/offchainreporting2plus/types" ) type RelayID struct { @@ -49,8 +50,9 @@ func (i *RelayID) UnmarshalString(s string) error { // It's possible that the plugin config might actually be different // per relay type, so we pass the config directly through. type PluginArgs struct { - TransmitterID string - PluginConfig []byte + TransmitterID string + PluginConfig []byte + CapRegConfigTracker ocrtypes.ContractConfigTracker } // RelayArgs are the args required to create relayer.