@@ -31,6 +31,7 @@ import (
3131 "github.com/smartcontractkit/chainlink-common/pkg/services"
3232 "github.com/smartcontractkit/chainlink-common/pkg/services/servicetest"
3333 "github.com/smartcontractkit/chainlink-common/pkg/types"
34+ "github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3"
3435 "github.com/smartcontractkit/chainlink-common/pkg/types/core"
3536)
3637
@@ -74,8 +75,9 @@ type staticRelayerConfig struct {
7475 pluginArgs types.PluginArgs
7576 contractReaderConfig []byte
7677 chainWriterConfig []byte
77- offRampAddress string
78- pluginType uint32
78+ offRampAddress ccipocr3.UnknownAddress
79+ pluginType ccipocr3.PluginType
80+ transmitterAddress ccipocr3.UnknownEncodedAddress
7981 medianProvider testtypes.MedianProviderTester
8082 agnosticProvider testtypes.PluginProviderTester
8183 mercuryProvider mercurytest.MercuryProviderTester
@@ -101,8 +103,9 @@ func newStaticRelayerConfig(lggr logger.Logger, staticChecks bool) staticRelayer
101103 pluginArgs : PluginArgs ,
102104 contractReaderConfig : []byte ("test" ),
103105 chainWriterConfig : []byte ("chainwriterconfig" ),
104- offRampAddress : "fakeAddress" ,
106+ offRampAddress : [] byte ( "fakeAddress" ) ,
105107 pluginType : 0 ,
108+ transmitterAddress : "fakeAddress" ,
106109 medianProvider : mediantest .MedianProvider (lggr ),
107110 mercuryProvider : mercurytest .MercuryProvider (lggr ),
108111 executionProvider : cciptest .ExecutionProvider (lggr ),
@@ -320,6 +323,7 @@ func (s staticRelayer) NewCCIPProvider(ctx context.Context, r types.CCIPProvider
320323 ChainWriterConfig : s .chainWriterConfig ,
321324 OffRampAddress : s .offRampAddress ,
322325 PluginType : s .pluginType ,
326+ TransmitterAddress : s .transmitterAddress ,
323327 }
324328 if s .StaticChecks && ! equalCCIPProviderArgs (r , ccipProviderArgs ) {
325329 return nil , fmt .Errorf ("expected relay args:\n \t %v\n but got:\n \t %v" , s .relayArgs , r )
@@ -477,8 +481,9 @@ func equalCCIPProviderArgs(a, b types.CCIPProviderArgs) bool {
477481 return a .ExternalJobID == b .ExternalJobID &&
478482 slices .Equal (a .ContractReaderConfig , b .ContractReaderConfig ) &&
479483 slices .Equal (a .ChainWriterConfig , b .ChainWriterConfig ) &&
480- a .OffRampAddress == b .OffRampAddress &&
481- a .PluginType == b .PluginType
484+ slices .Equal (a .OffRampAddress , b .OffRampAddress ) &&
485+ a .PluginType == b .PluginType &&
486+ a .TransmitterAddress == b .TransmitterAddress
482487}
483488
484489func newRelayArgsWithProviderType (_type types.OCR2PluginType ) types.RelayArgs {
0 commit comments