Commit 5573a942 authored by Ubuntu's avatar Ubuntu

replace EthRpc with Ring

parent ae62ce6e
...@@ -39,7 +39,7 @@ type BaseType struct { ...@@ -39,7 +39,7 @@ type BaseType struct {
} }
type RingServer struct { type RingServer struct {
metaring.UnimplementedEthRpcServiceServer metaring.UnimplementedRingServiceServer
} }
type server struct { type server struct {
......
...@@ -7,7 +7,7 @@ import "ring/v1/request_response.proto"; ...@@ -7,7 +7,7 @@ import "ring/v1/request_response.proto";
// ShelfService defines methods for managing shelves. // ShelfService defines methods for managing shelves.
//service ShelfService { //service ShelfService {
service EthRpcService{ service RingService{
rpc SendRawTransaction(SendRawTransactionRequest) returns (SendRawTransactionResponse) {} rpc SendRawTransaction(SendRawTransactionRequest) returns (SendRawTransactionResponse) {}
rpc EstimateGas(EstimateGasRequest) returns (EstimateGasResponse) {} rpc EstimateGas(EstimateGasRequest) returns (EstimateGasResponse) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment