mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Move RPC Protos Into V2 Namespace (#9254)
* moved rpc protos * gazelle * change pb * validator health * edit name * naming
This commit is contained in:
@@ -11,7 +11,6 @@ import (
|
||||
recovery "github.com/grpc-ecosystem/go-grpc-middleware/recovery"
|
||||
grpc_opentracing "github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing"
|
||||
grpc_prometheus "github.com/grpc-ecosystem/go-grpc-prometheus"
|
||||
healthpb "github.com/prysmaticlabs/prysm/proto/beacon/rpc/v1"
|
||||
ethpb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1"
|
||||
pb "github.com/prysmaticlabs/prysm/proto/prysm/v2"
|
||||
"github.com/prysmaticlabs/prysm/shared/event"
|
||||
@@ -63,7 +62,7 @@ type Server struct {
|
||||
beaconChainClient ethpb.BeaconChainClient
|
||||
beaconNodeClient ethpb.NodeClient
|
||||
beaconNodeValidatorClient ethpb.BeaconNodeValidatorClient
|
||||
beaconNodeHealthClient healthpb.HealthClient
|
||||
beaconNodeHealthClient pb.HealthClient
|
||||
valDB db.Database
|
||||
ctx context.Context
|
||||
cancel context.CancelFunc
|
||||
@@ -185,7 +184,7 @@ func (s *Server) Start() {
|
||||
reflection.Register(s.grpcServer)
|
||||
pb.RegisterAuthServer(s.grpcServer, s)
|
||||
pb.RegisterWalletServer(s.grpcServer, s)
|
||||
pb.RegisterHealthServer(s.grpcServer, s)
|
||||
pb.RegisterValidatorHealthServer(s.grpcServer, s)
|
||||
pb.RegisterBeaconServer(s.grpcServer, s)
|
||||
pb.RegisterAccountsServer(s.grpcServer, s)
|
||||
pb.RegisterSlashingProtectionServer(s.grpcServer, s)
|
||||
|
||||
Reference in New Issue
Block a user