Skip to content

Commit

Permalink
Initialize VoluntaryExitsPool and BlockReceiver in rpc server (#8876
Browse files Browse the repository at this point in the history
)

* Initialize `VoluntaryExitsPool` in rpc server

* initialize `BlockReceiver`
  • Loading branch information
rkapka committed May 11, 2021
1 parent ad4fadb commit f97c7ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions beacon-chain/rpc/service.go
Expand Up @@ -253,6 +253,7 @@ func (s *Service) Start() {
BlockNotifier: s.cfg.BlockNotifier,
AttestationNotifier: s.cfg.OperationNotifier,
Broadcaster: s.cfg.Broadcaster,
BlockReceiver: s.cfg.BlockReceiver,
StateGenService: s.cfg.StateGen,
SyncChecker: s.cfg.SyncService,
StateFetcher: statefetcher.StateProvider{
Expand All @@ -261,6 +262,7 @@ func (s *Service) Start() {
GenesisTimeFetcher: s.cfg.GenesisTimeFetcher,
StateGenService: s.cfg.StateGen,
},
VoluntaryExitsPool: s.cfg.ExitPool,
}
ethpb.RegisterNodeServer(s.grpcServer, nodeServer)
ethpbv1.RegisterBeaconNodeServer(s.grpcServer, nodeServerV1)
Expand Down

0 comments on commit f97c7ee

Please sign in to comment.