diff --git a/pkg/types/core/relayerset.go b/pkg/types/core/relayerset.go index 0f2b81fdc4..9ec4d6a14b 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 f6112b948a..2b3b8a73ff 100644 --- a/pkg/types/relayer.go +++ b/pkg/types/relayer.go @@ -14,6 +14,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 { @@ -48,8 +49,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.