@@ -218,6 +218,9 @@ func (i *pluginOracleCreator) Create(ctx context.Context, donID uint32, config c
218218 return nil , fmt .Errorf ("failed to populate extraDataCodecRegistry with codecs from CCIPProviders: %w" , err )
219219 }
220220
221+ i .lggr .Debugw ("OGT finished populating ExtraDataCodecRegistry with codecs from CCIPProviders" )
222+ ccipcommon .GetExtraDataCodecRegistry ().LogRegisteredFamilies (i .lggr )
223+
221224 // build the onchain keyring. it will be the signing key for the destination chain family.
222225 keybundle , ok := i .ocrKeyBundles [destChainFamily ]
223226 if ! ok {
@@ -514,10 +517,18 @@ func (i *pluginOracleCreator) createCCIPProviders(
514517 if len (transmitter ) == 0 {
515518 return nil , errors .New ("transmitter list is empty" )
516519 }
520+ i .lggr .Infow ("OGT creating CCIP provider" ,
521+ "pluginType" , pluginType .String (),
522+ "chainSelector" , chainSelector ,
523+ "chainID" , relayID .ChainID ,
524+ "offrampAddrStr" , offrampAddrStr ,
525+ "relayer" , relayer .Name (),
526+ )
517527 ccipProvider , err := relayer .NewCCIPProvider (ctx , types.CCIPProviderArgs {
518- PluginType : cciptypes .PluginType (config .Config .PluginType ),
519- OffRampAddress : config .Config .OfframpAddress ,
520- TransmitterAddress : cciptypes .UnknownEncodedAddress (transmitter [0 ]),
528+ PluginType : cciptypes .PluginType (config .Config .PluginType ),
529+ OffRampAddress : config .Config .OfframpAddress ,
530+ TransmitterAddress : cciptypes .UnknownEncodedAddress (transmitter [0 ]),
531+ ExtraDataCodecBundle : ccipcommon .GetExtraDataCodecRegistry (),
521532 })
522533 if err != nil {
523534 return nil , fmt .Errorf ("failed to create CCIP provider for relay ID %s: %w" , relayID , err )
@@ -594,6 +605,10 @@ func (i *pluginOracleCreator) populateCodecRegistriesWithProviderCodecs(
594605
595606 sourceChainExtraDataCodec := codec .SourceChainExtraDataCodec
596607 if sourceChainExtraDataCodec != nil {
608+ i .lggr .Infow ("OGT registering SourceChainExtraDataCodec from CCIPProvider to global registry" ,
609+ "chainSelector" , chainSelector ,
610+ "chainFamily" , chainFamily ,
611+ )
597612 edcr .RegisterCodec (chainFamily , sourceChainExtraDataCodec )
598613 } else {
599614 i .lggr .Warnw ("CCIPProvider codec has no SourceChainExtraDataCodec" , "chainSelector" , chainSelector )
0 commit comments