From 5d7445ab4ff267ff1a9eb898a6b7fdedce685c2e Mon Sep 17 00:00:00 2001 From: Dennis Won Date: Fri, 20 Sep 2019 20:29:19 -0700 Subject: [PATCH] run scripts/install_build_tools.sh to make sure build tools are of correct versions --- README.md | 2 ++ api/client/service/proto/client.pb.go | 16 ---------------- api/proto/message/message.pb.go | 10 ---------- .../syncing/downloader/proto/downloader.pb.go | 10 ---------- 4 files changed, 2 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index efdedbb8b..934069372 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,8 @@ make ``` +Note: make sure to run ``` scripts/install_build_tools.sh ```to make sure build tools are of correct versions. + ## Build If you want to bypass the Makefile: diff --git a/api/client/service/proto/client.pb.go b/api/client/service/proto/client.pb.go index 028e17b0c..5df844c57 100644 --- a/api/client/service/proto/client.pb.go +++ b/api/client/service/proto/client.pb.go @@ -8,8 +8,6 @@ import ( fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" math "math" ) @@ -390,20 +388,6 @@ type ClientServiceServer interface { GetStakingContractInfo(context.Context, *StakingContractInfoRequest) (*StakingContractInfoResponse, error) } -// UnimplementedClientServiceServer can be embedded to have forward compatible implementations. -type UnimplementedClientServiceServer struct { -} - -func (*UnimplementedClientServiceServer) FetchAccountState(ctx context.Context, req *FetchAccountStateRequest) (*FetchAccountStateResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method FetchAccountState not implemented") -} -func (*UnimplementedClientServiceServer) GetFreeToken(ctx context.Context, req *GetFreeTokenRequest) (*GetFreeTokenResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetFreeToken not implemented") -} -func (*UnimplementedClientServiceServer) GetStakingContractInfo(ctx context.Context, req *StakingContractInfoRequest) (*StakingContractInfoResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetStakingContractInfo not implemented") -} - func RegisterClientServiceServer(s *grpc.Server, srv ClientServiceServer) { s.RegisterService(&_ClientService_serviceDesc, srv) } diff --git a/api/proto/message/message.pb.go b/api/proto/message/message.pb.go index 0005111af..b4eb2e404 100644 --- a/api/proto/message/message.pb.go +++ b/api/proto/message/message.pb.go @@ -8,8 +8,6 @@ import ( fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" math "math" ) @@ -918,14 +916,6 @@ type ClientServiceServer interface { Process(context.Context, *Message) (*Response, error) } -// UnimplementedClientServiceServer can be embedded to have forward compatible implementations. -type UnimplementedClientServiceServer struct { -} - -func (*UnimplementedClientServiceServer) Process(ctx context.Context, req *Message) (*Response, error) { - return nil, status.Errorf(codes.Unimplemented, "method Process not implemented") -} - func RegisterClientServiceServer(s *grpc.Server, srv ClientServiceServer) { s.RegisterService(&_ClientService_serviceDesc, srv) } diff --git a/api/service/syncing/downloader/proto/downloader.pb.go b/api/service/syncing/downloader/proto/downloader.pb.go index 2cd167c24..03e39db71 100644 --- a/api/service/syncing/downloader/proto/downloader.pb.go +++ b/api/service/syncing/downloader/proto/downloader.pb.go @@ -8,8 +8,6 @@ import ( fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" math "math" ) @@ -319,14 +317,6 @@ type DownloaderServer interface { Query(context.Context, *DownloaderRequest) (*DownloaderResponse, error) } -// UnimplementedDownloaderServer can be embedded to have forward compatible implementations. -type UnimplementedDownloaderServer struct { -} - -func (*UnimplementedDownloaderServer) Query(ctx context.Context, req *DownloaderRequest) (*DownloaderResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method Query not implemented") -} - func RegisterDownloaderServer(s *grpc.Server, srv DownloaderServer) { s.RegisterService(&_Downloader_serviceDesc, srv) }