From 227d75a8a8841c37d51508ddbfe2787a4641f4e4 Mon Sep 17 00:00:00 2001 From: Domino Valdano <2644901+reductionista@users.noreply.github.com> Date: Wed, 11 Oct 2023 21:22:01 -0700 Subject: [PATCH] WIP --- pkg/loop/internal/median.go | 1 + pkg/loop/internal/relayer.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/loop/internal/median.go b/pkg/loop/internal/median.go index a0a08a6251..093b7fdaf9 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 5f4ebc0750..f952381d8b 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 {