diff --git a/proto/da/da.proto b/proto/da/da.proto index e28f83f..c96f0d6 100644 --- a/proto/da/da.proto +++ b/proto/da/da.proto @@ -9,8 +9,8 @@ service DAService { // Get returns Blob for each given ID, or an error. rpc Get(GetRequest) returns (GetResponse) {} - // GetIDs returns IDs of all Blobs located in DA at given height. - rpc GetIDs(GetIDsRequest) returns (GetIDsResponse) {} + // GetIds returns IDs of all Blobs located in DA at given height. + rpc GetIds(GetIdsRequest) returns (GetIdsResponse) {} // GetProofs returns inclusion Proofs for all Blobs located in DA at given height. rpc GetProofs(GetProofsRequest) returns (GetProofsResponse) {} @@ -70,14 +70,14 @@ message GetResponse { repeated Blob blobs = 1; } -// GetIDsRequest is the request type for the GetIDs rpc method. -message GetIDsRequest { +// GetIdsRequest is the request type for the GetIds rpc method. +message GetIdsRequest { uint64 height = 1; Namespace namespace = 2; } -// GetIDsResponse is the response type for the GetIDs rpc method. -message GetIDsResponse { +// GetIdsResponse is the response type for the GetIds rpc method. +message GetIdsResponse { repeated ID ids = 1; } diff --git a/proxy/grpc/client.go b/proxy/grpc/client.go index 7ade7a1..c52b883 100644 --- a/proxy/grpc/client.go +++ b/proxy/grpc/client.go @@ -66,8 +66,8 @@ func (c *Client) Get(ctx context.Context, ids []da.ID, namespace da.Namespace) ( // GetIDs returns IDs of all Blobs located in DA at given height. func (c *Client) GetIDs(ctx context.Context, height uint64, namespace da.Namespace) ([]da.ID, error) { - req := &pbda.GetIDsRequest{Height: height, Namespace: &pbda.Namespace{Value: namespace}} - resp, err := c.client.GetIDs(ctx, req) + req := &pbda.GetIdsRequest{Height: height, Namespace: &pbda.Namespace{Value: namespace}} + resp, err := c.client.GetIds(ctx, req) if err != nil { return nil, err } diff --git a/proxy/grpc/server.go b/proxy/grpc/server.go index 5d5c2fb..f6c59f5 100644 --- a/proxy/grpc/server.go +++ b/proxy/grpc/server.go @@ -37,13 +37,13 @@ func (p *proxySrv) Get(ctx context.Context, request *pbda.GetRequest) (*pbda.Get return &pbda.GetResponse{Blobs: blobsDA2PB(blobs)}, err } -func (p *proxySrv) GetIDs(ctx context.Context, request *pbda.GetIDsRequest) (*pbda.GetIDsResponse, error) { +func (p *proxySrv) GetIds(ctx context.Context, request *pbda.GetIdsRequest) (*pbda.GetIdsResponse, error) { ids, err := p.target.GetIDs(ctx, request.Height, request.Namespace.GetValue()) if err != nil { return nil, err } - return &pbda.GetIDsResponse{Ids: idsDA2PB(ids)}, nil + return &pbda.GetIdsResponse{Ids: idsDA2PB(ids)}, nil } func (p *proxySrv) Commit(ctx context.Context, request *pbda.CommitRequest) (*pbda.CommitResponse, error) { diff --git a/types/pb/da/da.pb.go b/types/pb/da/da.pb.go index 4e29ab5..e515c6b 100644 --- a/types/pb/da/da.pb.go +++ b/types/pb/da/da.pb.go @@ -432,24 +432,24 @@ func (m *GetResponse) GetBlobs() []*Blob { return nil } -// GetIDsRequest is the request type for the GetIDs rpc method. -type GetIDsRequest struct { +// GetIdsRequest is the request type for the GetIds rpc method. +type GetIdsRequest struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` Namespace *Namespace `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` } -func (m *GetIDsRequest) Reset() { *m = GetIDsRequest{} } -func (m *GetIDsRequest) String() string { return proto.CompactTextString(m) } -func (*GetIDsRequest) ProtoMessage() {} -func (*GetIDsRequest) Descriptor() ([]byte, []int) { +func (m *GetIdsRequest) Reset() { *m = GetIdsRequest{} } +func (m *GetIdsRequest) String() string { return proto.CompactTextString(m) } +func (*GetIdsRequest) ProtoMessage() {} +func (*GetIdsRequest) Descriptor() ([]byte, []int) { return fileDescriptor_feb508392bc12c0f, []int{9} } -func (m *GetIDsRequest) XXX_Unmarshal(b []byte) error { +func (m *GetIdsRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetIdsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetIDsRequest.Marshal(b, m, deterministic) + return xxx_messageInfo_GetIdsRequest.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -459,49 +459,49 @@ func (m *GetIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error return b[:n], nil } } -func (m *GetIDsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIDsRequest.Merge(m, src) +func (m *GetIdsRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetIdsRequest.Merge(m, src) } -func (m *GetIDsRequest) XXX_Size() int { +func (m *GetIdsRequest) XXX_Size() int { return m.Size() } -func (m *GetIDsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetIDsRequest.DiscardUnknown(m) +func (m *GetIdsRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetIdsRequest.DiscardUnknown(m) } -var xxx_messageInfo_GetIDsRequest proto.InternalMessageInfo +var xxx_messageInfo_GetIdsRequest proto.InternalMessageInfo -func (m *GetIDsRequest) GetHeight() uint64 { +func (m *GetIdsRequest) GetHeight() uint64 { if m != nil { return m.Height } return 0 } -func (m *GetIDsRequest) GetNamespace() *Namespace { +func (m *GetIdsRequest) GetNamespace() *Namespace { if m != nil { return m.Namespace } return nil } -// GetIDsResponse is the response type for the GetIDs rpc method. -type GetIDsResponse struct { +// GetIdsResponse is the response type for the GetIds rpc method. +type GetIdsResponse struct { Ids []*ID `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"` } -func (m *GetIDsResponse) Reset() { *m = GetIDsResponse{} } -func (m *GetIDsResponse) String() string { return proto.CompactTextString(m) } -func (*GetIDsResponse) ProtoMessage() {} -func (*GetIDsResponse) Descriptor() ([]byte, []int) { +func (m *GetIdsResponse) Reset() { *m = GetIdsResponse{} } +func (m *GetIdsResponse) String() string { return proto.CompactTextString(m) } +func (*GetIdsResponse) ProtoMessage() {} +func (*GetIdsResponse) Descriptor() ([]byte, []int) { return fileDescriptor_feb508392bc12c0f, []int{10} } -func (m *GetIDsResponse) XXX_Unmarshal(b []byte) error { +func (m *GetIdsResponse) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } -func (m *GetIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { +func (m *GetIdsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { - return xxx_messageInfo_GetIDsResponse.Marshal(b, m, deterministic) + return xxx_messageInfo_GetIdsResponse.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.MarshalToSizedBuffer(b) @@ -511,19 +511,19 @@ func (m *GetIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, erro return b[:n], nil } } -func (m *GetIDsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetIDsResponse.Merge(m, src) +func (m *GetIdsResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetIdsResponse.Merge(m, src) } -func (m *GetIDsResponse) XXX_Size() int { +func (m *GetIdsResponse) XXX_Size() int { return m.Size() } -func (m *GetIDsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetIDsResponse.DiscardUnknown(m) +func (m *GetIdsResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetIdsResponse.DiscardUnknown(m) } -var xxx_messageInfo_GetIDsResponse proto.InternalMessageInfo +var xxx_messageInfo_GetIdsResponse proto.InternalMessageInfo -func (m *GetIDsResponse) GetIds() []*ID { +func (m *GetIdsResponse) GetIds() []*ID { if m != nil { return m.Ids } @@ -948,8 +948,8 @@ func init() { proto.RegisterType((*MaxBlobSizeResponse)(nil), "da.MaxBlobSizeResponse") proto.RegisterType((*GetRequest)(nil), "da.GetRequest") proto.RegisterType((*GetResponse)(nil), "da.GetResponse") - proto.RegisterType((*GetIDsRequest)(nil), "da.GetIDsRequest") - proto.RegisterType((*GetIDsResponse)(nil), "da.GetIDsResponse") + proto.RegisterType((*GetIdsRequest)(nil), "da.GetIdsRequest") + proto.RegisterType((*GetIdsResponse)(nil), "da.GetIdsResponse") proto.RegisterType((*GetProofsRequest)(nil), "da.GetProofsRequest") proto.RegisterType((*GetProofsResponse)(nil), "da.GetProofsResponse") proto.RegisterType((*CommitRequest)(nil), "da.CommitRequest") @@ -980,27 +980,27 @@ var fileDescriptor_feb508392bc12c0f = []byte{ 0x28, 0xf8, 0x1e, 0xab, 0x1b, 0x8d, 0x42, 0xd3, 0x6a, 0x97, 0x5a, 0x1e, 0x69, 0xf5, 0xbb, 0xae, 0x08, 0xa1, 0x47, 0x60, 0x4e, 0xf5, 0x60, 0xea, 0xf9, 0x86, 0xd1, 0xb4, 0xda, 0x15, 0x91, 0x8f, 0xa7, 0xe5, 0x26, 0x79, 0xfc, 0x04, 0xac, 0x08, 0x54, 0xe9, 0x70, 0xa0, 0x28, 0x34, 0x68, 0xdc, - 0xb2, 0xe8, 0x13, 0x02, 0x5c, 0x19, 0xc6, 0x9f, 0xa0, 0xd2, 0xa3, 0xbc, 0xdf, 0x65, 0x5a, 0xc6, - 0x21, 0x94, 0x4e, 0xa9, 0x3f, 0x3e, 0xe5, 0x4a, 0xb1, 0x7a, 0x6d, 0x27, 0xe2, 0x21, 0x54, 0x35, - 0xaa, 0xd2, 0x91, 0xf9, 0x75, 0xf8, 0x0b, 0xec, 0xf5, 0x28, 0x8f, 0x06, 0xcf, 0x6e, 0x78, 0x16, - 0x2f, 0x61, 0x7f, 0x0d, 0x5a, 0x29, 0x39, 0x82, 0xd2, 0x2c, 0x8a, 0x28, 0x78, 0x53, 0xb4, 0x47, - 0x35, 0xae, 0x4a, 0xe0, 0xaf, 0x50, 0x91, 0x66, 0xd1, 0x7a, 0x36, 0x4c, 0x71, 0x3b, 0x55, 0x1d, - 0xa8, 0x6a, 0x74, 0x25, 0xe9, 0x19, 0x58, 0x27, 0xb1, 0x39, 0x35, 0x49, 0x55, 0x00, 0x24, 0x9e, - 0x75, 0xd7, 0x4b, 0xf0, 0x0f, 0xa8, 0x0c, 0x16, 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// Reference imports to suppress errors if they are not otherwise used. @@ -1019,8 +1019,8 @@ type DAServiceClient interface { MaxBlobSize(ctx context.Context, in *MaxBlobSizeRequest, opts ...grpc.CallOption) (*MaxBlobSizeResponse, error) // Get returns Blob for each given ID, or an error. Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error) - // GetIDs returns IDs of all Blobs located in DA at given height. - GetIDs(ctx context.Context, in *GetIDsRequest, opts ...grpc.CallOption) (*GetIDsResponse, error) + // GetIds returns IDs of all Blobs located in DA at given height. + GetIds(ctx context.Context, in *GetIdsRequest, opts ...grpc.CallOption) (*GetIdsResponse, error) // GetProofs returns inclusion Proofs for all Blobs located in DA at given height. GetProofs(ctx context.Context, in *GetProofsRequest, opts ...grpc.CallOption) (*GetProofsResponse, error) // Commit creates a Commitment for each given Blob. @@ -1057,9 +1057,9 @@ func (c *dAServiceClient) Get(ctx context.Context, in *GetRequest, opts ...grpc. return out, nil } -func (c *dAServiceClient) GetIDs(ctx context.Context, in *GetIDsRequest, opts ...grpc.CallOption) (*GetIDsResponse, error) { - out := new(GetIDsResponse) - err := c.cc.Invoke(ctx, "/da.DAService/GetIDs", in, out, opts...) +func (c *dAServiceClient) GetIds(ctx context.Context, in *GetIdsRequest, opts ...grpc.CallOption) (*GetIdsResponse, error) { + out := new(GetIdsResponse) + err := c.cc.Invoke(ctx, "/da.DAService/GetIds", in, out, opts...) if err != nil { return nil, err } @@ -1108,8 +1108,8 @@ type DAServiceServer interface { MaxBlobSize(context.Context, *MaxBlobSizeRequest) (*MaxBlobSizeResponse, error) // Get returns Blob for each given ID, or an error. Get(context.Context, *GetRequest) (*GetResponse, error) - // GetIDs returns IDs of all Blobs located in DA at given height. - GetIDs(context.Context, *GetIDsRequest) (*GetIDsResponse, error) + // GetIds returns IDs of all Blobs located in DA at given height. + GetIds(context.Context, *GetIdsRequest) (*GetIdsResponse, error) // GetProofs returns inclusion Proofs for all Blobs located in DA at given height. GetProofs(context.Context, *GetProofsRequest) (*GetProofsResponse, error) // Commit creates a Commitment for each given Blob. @@ -1130,8 +1130,8 @@ func (*UnimplementedDAServiceServer) MaxBlobSize(ctx context.Context, req *MaxBl func (*UnimplementedDAServiceServer) Get(ctx context.Context, req *GetRequest) (*GetResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Get not implemented") } -func (*UnimplementedDAServiceServer) GetIDs(ctx context.Context, req *GetIDsRequest) (*GetIDsResponse, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetIDs not implemented") +func (*UnimplementedDAServiceServer) GetIds(ctx context.Context, req *GetIdsRequest) (*GetIdsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetIds not implemented") } func (*UnimplementedDAServiceServer) GetProofs(ctx context.Context, req *GetProofsRequest) (*GetProofsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetProofs not implemented") @@ -1186,20 +1186,20 @@ func _DAService_Get_Handler(srv interface{}, ctx context.Context, dec func(inter return interceptor(ctx, in, info, handler) } -func _DAService_GetIDs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetIDsRequest) +func _DAService_GetIds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetIdsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { - return srv.(DAServiceServer).GetIDs(ctx, in) + return srv.(DAServiceServer).GetIds(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/da.DAService/GetIDs", + FullMethod: "/da.DAService/GetIds", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DAServiceServer).GetIDs(ctx, req.(*GetIDsRequest)) + return srv.(DAServiceServer).GetIds(ctx, req.(*GetIdsRequest)) } return interceptor(ctx, in, info, handler) } @@ -1289,8 +1289,8 @@ var _DAService_serviceDesc = grpc.ServiceDesc{ Handler: _DAService_Get_Handler, }, { - MethodName: "GetIDs", - Handler: _DAService_GetIDs_Handler, + MethodName: "GetIds", + Handler: _DAService_GetIds_Handler, }, { MethodName: "GetProofs", @@ -1600,7 +1600,7 @@ func (m *GetResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetIDsRequest) Marshal() (dAtA []byte, err error) { +func (m *GetIdsRequest) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1610,12 +1610,12 @@ func (m *GetIDsRequest) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetIDsRequest) MarshalTo(dAtA []byte) (int, error) { +func (m *GetIdsRequest) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetIDsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetIdsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -1640,7 +1640,7 @@ func (m *GetIDsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } -func (m *GetIDsResponse) Marshal() (dAtA []byte, err error) { +func (m *GetIdsResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) n, err := m.MarshalToSizedBuffer(dAtA[:size]) @@ -1650,12 +1650,12 @@ func (m *GetIDsResponse) Marshal() (dAtA []byte, err error) { return dAtA[:n], nil } -func (m *GetIDsResponse) MarshalTo(dAtA []byte) (int, error) { +func (m *GetIdsResponse) MarshalTo(dAtA []byte) (int, error) { size := m.Size() return m.MarshalToSizedBuffer(dAtA[:size]) } -func (m *GetIDsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { +func (m *GetIdsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int @@ -2171,7 +2171,7 @@ func (m *GetResponse) Size() (n int) { return n } -func (m *GetIDsRequest) Size() (n int) { +func (m *GetIdsRequest) Size() (n int) { if m == nil { return 0 } @@ -2187,7 +2187,7 @@ func (m *GetIDsRequest) Size() (n int) { return n } -func (m *GetIDsResponse) Size() (n int) { +func (m *GetIdsResponse) Size() (n int) { if m == nil { return 0 } @@ -3093,7 +3093,7 @@ func (m *GetResponse) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetIDsRequest) Unmarshal(dAtA []byte) error { +func (m *GetIdsRequest) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3116,10 +3116,10 @@ func (m *GetIDsRequest) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetIDsRequest: wiretype end group for non-group") + return fmt.Errorf("proto: GetIdsRequest: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetIDsRequest: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetIdsRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: @@ -3198,7 +3198,7 @@ func (m *GetIDsRequest) Unmarshal(dAtA []byte) error { } return nil } -func (m *GetIDsResponse) Unmarshal(dAtA []byte) error { +func (m *GetIdsResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 for iNdEx < l { @@ -3221,10 +3221,10 @@ func (m *GetIDsResponse) Unmarshal(dAtA []byte) error { fieldNum := int32(wire >> 3) wireType := int(wire & 0x7) if wireType == 4 { - return fmt.Errorf("proto: GetIDsResponse: wiretype end group for non-group") + return fmt.Errorf("proto: GetIdsResponse: wiretype end group for non-group") } if fieldNum <= 0 { - return fmt.Errorf("proto: GetIDsResponse: illegal tag %d (wire type %d)", fieldNum, wire) + return fmt.Errorf("proto: GetIdsResponse: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { case 1: