diff --git a/pkg/loop/internal/median.go b/pkg/loop/internal/median.go index a0a08a625..093b7fdaf 100644 --- a/pkg/loop/internal/median.go +++ b/pkg/loop/internal/median.go @@ -63,6 +63,7 @@ func (m *PluginMedianClient) NewMedianFactory(ctx context.Context, provider type pb.RegisterOffchainConfigDigesterServer(s, &offchainConfigDigesterServer{impl: provider.OffchainConfigDigester()}) pb.RegisterContractConfigTrackerServer(s, &contractConfigTrackerServer{impl: provider.ContractConfigTracker()}) pb.RegisterContractTransmitterServer(s, &contractTransmitterServer{impl: provider.ContractTransmitter()}) + pb.RegisterChainReaderServer(s, &chainReaderServer{impl: provider.ChainReader()}) pb.RegisterReportCodecServer(s, &reportCodecServer{impl: provider.ReportCodec()}) pb.RegisterOnchainConfigCodecServer(s, &onchainConfigCodecServer{impl: provider.OnchainConfigCodec()}) }) diff --git a/pkg/loop/internal/relayer.go b/pkg/loop/internal/relayer.go index 5f4ebc075..f952381d8 100644 --- a/pkg/loop/internal/relayer.go +++ b/pkg/loop/internal/relayer.go @@ -362,7 +362,7 @@ func (r *relayerServer) NewMedianProvider(ctx context.Context, request *pb.NewMe pb.RegisterContractConfigTrackerServer(s, &contractConfigTrackerServer{impl: provider.ContractConfigTracker()}) pb.RegisterContractTransmitterServer(s, &contractTransmitterServer{impl: provider.ContractTransmitter()}) pb.RegisterReportCodecServer(s, &reportCodecServer{impl: provider.ReportCodec()}) - pb.RegisterMedianContractServer(s, &medianContractServer{impl: provider.MedianContract()}) + pb.RegisterChainReaderServer(s, &chainReaderServer{impl: provider.ChainReader()}) pb.RegisterOnchainConfigCodecServer(s, &onchainConfigCodecServer{impl: provider.OnchainConfigCodec()}) }, providerRes) if err != nil {