forked from cerc-io/laconicd
Rename RPC method to reserve authority and fix proto lint errors (#17)
- Rename RPC method to reserve authority from `ReserveName` to `ReserveAuthority` and `GetBondsModuleBalance` to `GetBondModuleBalance` - Run lint formatter - Fix proto lint errors and regenerate proto bindings Reviewed-on: deep-stack/laconic2d#17 Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
This commit is contained in:
@@ -85,8 +85,8 @@ func GetPayloadFromFile(filePath string) (*registrytypes.ReadablePayload, error)
|
||||
return &payload, nil
|
||||
}
|
||||
|
||||
// GetCmdReserveName is the CLI command for reserving a name.
|
||||
func GetCmdReserveName() *cobra.Command {
|
||||
// GetCmdReserveAuthority is the CLI command for reserving a name.
|
||||
func GetCmdReserveAuthority() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "reserve-name [name]",
|
||||
Short: "Reserve name.",
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ func RegisterInterfaces(registry types.InterfaceRegistry) {
|
||||
registry.RegisterImplementations((*sdk.Msg)(nil),
|
||||
&MsgSetName{},
|
||||
&MsgReserveAuthority{},
|
||||
&MsgDeleteNameAuthority{},
|
||||
&MsgDeleteName{},
|
||||
&MsgSetAuthorityBond{},
|
||||
|
||||
&MsgSetRecord{},
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
package registry
|
||||
|
||||
const (
|
||||
EventTypeSetRecord = "set"
|
||||
EventTypeDeleteName = "delete-name"
|
||||
EventTypeReserveNameAuthority = "reserve-authority"
|
||||
EventTypeAuthorityBond = "authority-bond"
|
||||
EventTypeRenewRecord = "renew-record"
|
||||
EventTypeAssociateBond = "associate-bond"
|
||||
EventTypeDissociateBond = "dissociate-bond"
|
||||
EventTypeDissociateRecords = "dissociate-record"
|
||||
EventTypeReassociateRecords = "re-associate-records"
|
||||
EventTypeSetRecord = "set"
|
||||
EventTypeDeleteName = "delete-name"
|
||||
EventTypeReserveAuthority = "reserve-authority"
|
||||
EventTypeAuthorityBond = "authority-bond"
|
||||
EventTypeRenewRecord = "renew-record"
|
||||
EventTypeAssociateBond = "associate-bond"
|
||||
EventTypeDissociateBond = "dissociate-bond"
|
||||
EventTypeDissociateRecords = "dissociate-record"
|
||||
EventTypeReassociateRecords = "re-associate-records"
|
||||
|
||||
AttributeKeySigner = "signer"
|
||||
AttributeKeyOwner = "owner"
|
||||
|
||||
@@ -87,7 +87,7 @@ func (ms msgServer) SetName(c context.Context, msg *registrytypes.MsgSetName) (*
|
||||
return ®istrytypes.MsgSetNameResponse{}, nil
|
||||
}
|
||||
|
||||
func (ms msgServer) ReserveName(c context.Context, msg *registrytypes.MsgReserveAuthority) (*registrytypes.MsgReserveAuthorityResponse, error) {
|
||||
func (ms msgServer) ReserveAuthority(c context.Context, msg *registrytypes.MsgReserveAuthority) (*registrytypes.MsgReserveAuthorityResponse, error) {
|
||||
if err := msg.ValidateBasic(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -110,7 +110,7 @@ func (ms msgServer) ReserveName(c context.Context, msg *registrytypes.MsgReserve
|
||||
|
||||
ctx.EventManager().EmitEvents(sdk.Events{
|
||||
sdk.NewEvent(
|
||||
registrytypes.EventTypeReserveNameAuthority,
|
||||
registrytypes.EventTypeReserveAuthority,
|
||||
sdk.NewAttribute(registrytypes.AttributeKeySigner, msg.Signer),
|
||||
sdk.NewAttribute(registrytypes.AttributeKeyName, msg.Name),
|
||||
sdk.NewAttribute(registrytypes.AttributeKeyOwner, msg.Owner),
|
||||
@@ -159,7 +159,7 @@ func (ms msgServer) SetAuthorityBond(c context.Context, msg *registrytypes.MsgSe
|
||||
return ®istrytypes.MsgSetAuthorityBondResponse{}, nil
|
||||
}
|
||||
|
||||
func (ms msgServer) DeleteName(c context.Context, msg *registrytypes.MsgDeleteNameAuthority) (*registrytypes.MsgDeleteNameAuthorityResponse, error) {
|
||||
func (ms msgServer) DeleteName(c context.Context, msg *registrytypes.MsgDeleteName) (*registrytypes.MsgDeleteNameResponse, error) {
|
||||
if err := msg.ValidateBasic(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -188,7 +188,7 @@ func (ms msgServer) DeleteName(c context.Context, msg *registrytypes.MsgDeleteNa
|
||||
sdk.NewAttribute(registrytypes.AttributeKeySigner, msg.Signer),
|
||||
),
|
||||
})
|
||||
return ®istrytypes.MsgDeleteNameAuthorityResponse{}, nil
|
||||
return ®istrytypes.MsgDeleteNameResponse{}, nil
|
||||
}
|
||||
|
||||
func (ms msgServer) RenewRecord(c context.Context, msg *registrytypes.MsgRenewRecord) (*registrytypes.MsgRenewRecordResponse, error) {
|
||||
|
||||
@@ -353,7 +353,7 @@ func (k Keeper) SetAuthorityBond(ctx sdk.Context, msg registrytypes.MsgSetAuthor
|
||||
}
|
||||
|
||||
// DeleteName removes a LRN -> Record ID mapping.
|
||||
func (k Keeper) DeleteName(ctx sdk.Context, msg registrytypes.MsgDeleteNameAuthority) error {
|
||||
func (k Keeper) DeleteName(ctx sdk.Context, msg registrytypes.MsgDeleteName) error {
|
||||
signerAddress, err := sdk.AccAddressFromBech32(msg.Signer)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@@ -55,7 +55,7 @@ func (qs queryServer) Records(c context.Context, req *registrytypes.QueryRecords
|
||||
return ®istrytypes.QueryRecordsResponse{Records: records}, nil
|
||||
}
|
||||
|
||||
func (qs queryServer) GetRecord(c context.Context, req *registrytypes.QueryRecordByIdRequest) (*registrytypes.QueryRecordByIdResponse, error) {
|
||||
func (qs queryServer) GetRecord(c context.Context, req *registrytypes.QueryGetRecordRequest) (*registrytypes.QueryGetRecordResponse, error) {
|
||||
ctx := sdk.UnwrapSDKContext(c)
|
||||
id := req.GetId()
|
||||
|
||||
@@ -72,10 +72,10 @@ func (qs queryServer) GetRecord(c context.Context, req *registrytypes.QueryRecor
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return ®istrytypes.QueryRecordByIdResponse{Record: record}, nil
|
||||
return ®istrytypes.QueryGetRecordResponse{Record: record}, nil
|
||||
}
|
||||
|
||||
func (qs queryServer) GetRecordsByBondId(c context.Context, req *registrytypes.QueryRecordsByBondIdRequest) (*registrytypes.QueryRecordsByBondIdResponse, error) {
|
||||
func (qs queryServer) GetRecordsByBondId(c context.Context, req *registrytypes.QueryGetRecordsByBondIdRequest) (*registrytypes.QueryGetRecordsByBondIdResponse, error) {
|
||||
ctx := sdk.UnwrapSDKContext(c)
|
||||
|
||||
records, err := qs.k.GetRecordsByBondId(ctx, req.GetId())
|
||||
@@ -83,7 +83,7 @@ func (qs queryServer) GetRecordsByBondId(c context.Context, req *registrytypes.Q
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return ®istrytypes.QueryRecordsByBondIdResponse{Records: records}, nil
|
||||
return ®istrytypes.QueryGetRecordsByBondIdResponse{Records: records}, nil
|
||||
}
|
||||
|
||||
func (qs queryServer) GetRegistryModuleBalance(c context.Context,
|
||||
|
||||
@@ -93,9 +93,9 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
|
||||
},
|
||||
},
|
||||
{
|
||||
RpcMethod: "ReserveName",
|
||||
Use: "reserve-name [name] [owner]",
|
||||
Short: "Reserve name",
|
||||
RpcMethod: "ReserveAuthority",
|
||||
Use: "reserve-authority [name] [owner]",
|
||||
Short: "Reserve authority name",
|
||||
PositionalArgs: []*autocliv1.PositionalArgDescriptor{
|
||||
{ProtoField: "name"},
|
||||
{ProtoField: "owner"},
|
||||
|
||||
+1
-1
@@ -121,7 +121,7 @@ func (msg MsgSetName) ValidateBasic() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (msg MsgDeleteNameAuthority) ValidateBasic() error {
|
||||
func (msg MsgDeleteName) ValidateBasic() error {
|
||||
if len(msg.Lrn) == 0 {
|
||||
return errorsmod.Wrap(sdkerrors.ErrInvalidRequest, "lrn is required.")
|
||||
}
|
||||
|
||||
+203
-197
@@ -177,6 +177,7 @@ func (m *QueryRecordsRequest) GetPagination() *query.PageRequest {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Array type attribute
|
||||
type QueryRecordsRequest_ArrayInput struct {
|
||||
Values []*QueryRecordsRequest_ValueInput `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||
}
|
||||
@@ -221,6 +222,7 @@ func (m *QueryRecordsRequest_ArrayInput) GetValues() []*QueryRecordsRequest_Valu
|
||||
return nil
|
||||
}
|
||||
|
||||
// Map type attribute
|
||||
type QueryRecordsRequest_MapInput struct {
|
||||
Values map[string]*QueryRecordsRequest_ValueInput `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
}
|
||||
@@ -265,8 +267,9 @@ func (m *QueryRecordsRequest_MapInput) GetValues() map[string]*QueryRecordsReque
|
||||
return nil
|
||||
}
|
||||
|
||||
// Type for record attribute value
|
||||
type QueryRecordsRequest_ValueInput struct {
|
||||
// Type of record attribute value
|
||||
// Value is one of the following types
|
||||
//
|
||||
// Types that are valid to be assigned to Value:
|
||||
// *QueryRecordsRequest_ValueInput_String_
|
||||
@@ -417,6 +420,7 @@ func (*QueryRecordsRequest_ValueInput) XXX_OneofWrappers() []interface{} {
|
||||
}
|
||||
}
|
||||
|
||||
// Type for record attribute key
|
||||
type QueryRecordsRequest_KeyValueInput struct {
|
||||
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||
Value *QueryRecordsRequest_ValueInput `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
@@ -523,23 +527,23 @@ func (m *QueryRecordsResponse) GetPagination() *query.PageResponse {
|
||||
return nil
|
||||
}
|
||||
|
||||
// QueryRecordByIdRequest is request type for registry records by id
|
||||
type QueryRecordByIdRequest struct {
|
||||
// QueryGetRecordRequest is request type for registry records by id
|
||||
type QueryGetRecordRequest struct {
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
}
|
||||
|
||||
func (m *QueryRecordByIdRequest) Reset() { *m = QueryRecordByIdRequest{} }
|
||||
func (m *QueryRecordByIdRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryRecordByIdRequest) ProtoMessage() {}
|
||||
func (*QueryRecordByIdRequest) Descriptor() ([]byte, []int) {
|
||||
func (m *QueryGetRecordRequest) Reset() { *m = QueryGetRecordRequest{} }
|
||||
func (m *QueryGetRecordRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryGetRecordRequest) ProtoMessage() {}
|
||||
func (*QueryGetRecordRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_c642b96b6da07a30, []int{4}
|
||||
}
|
||||
func (m *QueryRecordByIdRequest) XXX_Unmarshal(b []byte) error {
|
||||
func (m *QueryGetRecordRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *QueryRecordByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
func (m *QueryGetRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_QueryRecordByIdRequest.Marshal(b, m, deterministic)
|
||||
return xxx_messageInfo_QueryGetRecordRequest.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalToSizedBuffer(b)
|
||||
@@ -549,42 +553,42 @@ func (m *QueryRecordByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]by
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (m *QueryRecordByIdRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryRecordByIdRequest.Merge(m, src)
|
||||
func (m *QueryGetRecordRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryGetRecordRequest.Merge(m, src)
|
||||
}
|
||||
func (m *QueryRecordByIdRequest) XXX_Size() int {
|
||||
func (m *QueryGetRecordRequest) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *QueryRecordByIdRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryRecordByIdRequest.DiscardUnknown(m)
|
||||
func (m *QueryGetRecordRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryGetRecordRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QueryRecordByIdRequest proto.InternalMessageInfo
|
||||
var xxx_messageInfo_QueryGetRecordRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *QueryRecordByIdRequest) GetId() string {
|
||||
func (m *QueryGetRecordRequest) GetId() string {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// QueryRecordByIdResponse is response type for registry records by id
|
||||
type QueryRecordByIdResponse struct {
|
||||
// QueryGetRecordResponse is response type for registry records by id
|
||||
type QueryGetRecordResponse struct {
|
||||
Record Record `protobuf:"bytes,1,opt,name=record,proto3" json:"record"`
|
||||
}
|
||||
|
||||
func (m *QueryRecordByIdResponse) Reset() { *m = QueryRecordByIdResponse{} }
|
||||
func (m *QueryRecordByIdResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryRecordByIdResponse) ProtoMessage() {}
|
||||
func (*QueryRecordByIdResponse) Descriptor() ([]byte, []int) {
|
||||
func (m *QueryGetRecordResponse) Reset() { *m = QueryGetRecordResponse{} }
|
||||
func (m *QueryGetRecordResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryGetRecordResponse) ProtoMessage() {}
|
||||
func (*QueryGetRecordResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_c642b96b6da07a30, []int{5}
|
||||
}
|
||||
func (m *QueryRecordByIdResponse) XXX_Unmarshal(b []byte) error {
|
||||
func (m *QueryGetRecordResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *QueryRecordByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
func (m *QueryGetRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_QueryRecordByIdResponse.Marshal(b, m, deterministic)
|
||||
return xxx_messageInfo_QueryGetRecordResponse.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalToSizedBuffer(b)
|
||||
@@ -594,44 +598,44 @@ func (m *QueryRecordByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]b
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (m *QueryRecordByIdResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryRecordByIdResponse.Merge(m, src)
|
||||
func (m *QueryGetRecordResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryGetRecordResponse.Merge(m, src)
|
||||
}
|
||||
func (m *QueryRecordByIdResponse) XXX_Size() int {
|
||||
func (m *QueryGetRecordResponse) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *QueryRecordByIdResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryRecordByIdResponse.DiscardUnknown(m)
|
||||
func (m *QueryGetRecordResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryGetRecordResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QueryRecordByIdResponse proto.InternalMessageInfo
|
||||
var xxx_messageInfo_QueryGetRecordResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *QueryRecordByIdResponse) GetRecord() Record {
|
||||
func (m *QueryGetRecordResponse) GetRecord() Record {
|
||||
if m != nil {
|
||||
return m.Record
|
||||
}
|
||||
return Record{}
|
||||
}
|
||||
|
||||
// QueryRecordsByBondIdRequest is request type for get the records by bond-id
|
||||
type QueryRecordsByBondIdRequest struct {
|
||||
// QueryGetRecordsByBondIdRequest is request type for get the records by bond-id
|
||||
type QueryGetRecordsByBondIdRequest struct {
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// pagination defines an optional pagination for the request.
|
||||
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdRequest) Reset() { *m = QueryRecordsByBondIdRequest{} }
|
||||
func (m *QueryRecordsByBondIdRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryRecordsByBondIdRequest) ProtoMessage() {}
|
||||
func (*QueryRecordsByBondIdRequest) Descriptor() ([]byte, []int) {
|
||||
func (m *QueryGetRecordsByBondIdRequest) Reset() { *m = QueryGetRecordsByBondIdRequest{} }
|
||||
func (m *QueryGetRecordsByBondIdRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryGetRecordsByBondIdRequest) ProtoMessage() {}
|
||||
func (*QueryGetRecordsByBondIdRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_c642b96b6da07a30, []int{6}
|
||||
}
|
||||
func (m *QueryRecordsByBondIdRequest) XXX_Unmarshal(b []byte) error {
|
||||
func (m *QueryGetRecordsByBondIdRequest) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *QueryRecordsByBondIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
func (m *QueryGetRecordsByBondIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_QueryRecordsByBondIdRequest.Marshal(b, m, deterministic)
|
||||
return xxx_messageInfo_QueryGetRecordsByBondIdRequest.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalToSizedBuffer(b)
|
||||
@@ -641,51 +645,51 @@ func (m *QueryRecordsByBondIdRequest) XXX_Marshal(b []byte, deterministic bool)
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (m *QueryRecordsByBondIdRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryRecordsByBondIdRequest.Merge(m, src)
|
||||
func (m *QueryGetRecordsByBondIdRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryGetRecordsByBondIdRequest.Merge(m, src)
|
||||
}
|
||||
func (m *QueryRecordsByBondIdRequest) XXX_Size() int {
|
||||
func (m *QueryGetRecordsByBondIdRequest) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *QueryRecordsByBondIdRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryRecordsByBondIdRequest.DiscardUnknown(m)
|
||||
func (m *QueryGetRecordsByBondIdRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryGetRecordsByBondIdRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QueryRecordsByBondIdRequest proto.InternalMessageInfo
|
||||
var xxx_messageInfo_QueryGetRecordsByBondIdRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *QueryRecordsByBondIdRequest) GetId() string {
|
||||
func (m *QueryGetRecordsByBondIdRequest) GetId() string {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdRequest) GetPagination() *query.PageRequest {
|
||||
func (m *QueryGetRecordsByBondIdRequest) GetPagination() *query.PageRequest {
|
||||
if m != nil {
|
||||
return m.Pagination
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// QueryRecordsByBondIdResponse is response type for records list by bond-id
|
||||
type QueryRecordsByBondIdResponse struct {
|
||||
// QueryGetRecordsByBondIdResponse is response type for records list by bond-id
|
||||
type QueryGetRecordsByBondIdResponse struct {
|
||||
Records []Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records"`
|
||||
// pagination defines the pagination in the response.
|
||||
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdResponse) Reset() { *m = QueryRecordsByBondIdResponse{} }
|
||||
func (m *QueryRecordsByBondIdResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryRecordsByBondIdResponse) ProtoMessage() {}
|
||||
func (*QueryRecordsByBondIdResponse) Descriptor() ([]byte, []int) {
|
||||
func (m *QueryGetRecordsByBondIdResponse) Reset() { *m = QueryGetRecordsByBondIdResponse{} }
|
||||
func (m *QueryGetRecordsByBondIdResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*QueryGetRecordsByBondIdResponse) ProtoMessage() {}
|
||||
func (*QueryGetRecordsByBondIdResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_c642b96b6da07a30, []int{7}
|
||||
}
|
||||
func (m *QueryRecordsByBondIdResponse) XXX_Unmarshal(b []byte) error {
|
||||
func (m *QueryGetRecordsByBondIdResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *QueryRecordsByBondIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
func (m *QueryGetRecordsByBondIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_QueryRecordsByBondIdResponse.Marshal(b, m, deterministic)
|
||||
return xxx_messageInfo_QueryGetRecordsByBondIdResponse.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalToSizedBuffer(b)
|
||||
@@ -695,26 +699,26 @@ func (m *QueryRecordsByBondIdResponse) XXX_Marshal(b []byte, deterministic bool)
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (m *QueryRecordsByBondIdResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryRecordsByBondIdResponse.Merge(m, src)
|
||||
func (m *QueryGetRecordsByBondIdResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_QueryGetRecordsByBondIdResponse.Merge(m, src)
|
||||
}
|
||||
func (m *QueryRecordsByBondIdResponse) XXX_Size() int {
|
||||
func (m *QueryGetRecordsByBondIdResponse) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *QueryRecordsByBondIdResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryRecordsByBondIdResponse.DiscardUnknown(m)
|
||||
func (m *QueryGetRecordsByBondIdResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_QueryGetRecordsByBondIdResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_QueryRecordsByBondIdResponse proto.InternalMessageInfo
|
||||
var xxx_messageInfo_QueryGetRecordsByBondIdResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *QueryRecordsByBondIdResponse) GetRecords() []Record {
|
||||
func (m *QueryGetRecordsByBondIdResponse) GetRecords() []Record {
|
||||
if m != nil {
|
||||
return m.Records
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdResponse) GetPagination() *query.PageResponse {
|
||||
func (m *QueryGetRecordsByBondIdResponse) GetPagination() *query.PageResponse {
|
||||
if m != nil {
|
||||
return m.Pagination
|
||||
}
|
||||
@@ -1091,7 +1095,8 @@ func (m *QueryResolveLrnResponse) GetRecord() *Record {
|
||||
return nil
|
||||
}
|
||||
|
||||
// QueryGetRegistryModuleBalanceRequest is request type for registry module accounts balance
|
||||
// QueryGetRegistryModuleBalanceRequest is request type for registry module
|
||||
// accounts balance
|
||||
type QueryGetRegistryModuleBalanceRequest struct {
|
||||
}
|
||||
|
||||
@@ -1128,7 +1133,8 @@ func (m *QueryGetRegistryModuleBalanceRequest) XXX_DiscardUnknown() {
|
||||
|
||||
var xxx_messageInfo_QueryGetRegistryModuleBalanceRequest proto.InternalMessageInfo
|
||||
|
||||
// QueryGetRegistryModuleBalanceResponse is response type for registry module accounts balance
|
||||
// QueryGetRegistryModuleBalanceResponse is response type for registry module
|
||||
// accounts balance
|
||||
type QueryGetRegistryModuleBalanceResponse struct {
|
||||
Balances []*AccountBalance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances,omitempty"`
|
||||
}
|
||||
@@ -1236,10 +1242,10 @@ func init() {
|
||||
proto.RegisterType((*QueryRecordsRequest_ValueInput)(nil), "cerc.registry.v1.QueryRecordsRequest.ValueInput")
|
||||
proto.RegisterType((*QueryRecordsRequest_KeyValueInput)(nil), "cerc.registry.v1.QueryRecordsRequest.KeyValueInput")
|
||||
proto.RegisterType((*QueryRecordsResponse)(nil), "cerc.registry.v1.QueryRecordsResponse")
|
||||
proto.RegisterType((*QueryRecordByIdRequest)(nil), "cerc.registry.v1.QueryRecordByIdRequest")
|
||||
proto.RegisterType((*QueryRecordByIdResponse)(nil), "cerc.registry.v1.QueryRecordByIdResponse")
|
||||
proto.RegisterType((*QueryRecordsByBondIdRequest)(nil), "cerc.registry.v1.QueryRecordsByBondIdRequest")
|
||||
proto.RegisterType((*QueryRecordsByBondIdResponse)(nil), "cerc.registry.v1.QueryRecordsByBondIdResponse")
|
||||
proto.RegisterType((*QueryGetRecordRequest)(nil), "cerc.registry.v1.QueryGetRecordRequest")
|
||||
proto.RegisterType((*QueryGetRecordResponse)(nil), "cerc.registry.v1.QueryGetRecordResponse")
|
||||
proto.RegisterType((*QueryGetRecordsByBondIdRequest)(nil), "cerc.registry.v1.QueryGetRecordsByBondIdRequest")
|
||||
proto.RegisterType((*QueryGetRecordsByBondIdResponse)(nil), "cerc.registry.v1.QueryGetRecordsByBondIdResponse")
|
||||
proto.RegisterType((*QueryNameRecordsRequest)(nil), "cerc.registry.v1.QueryNameRecordsRequest")
|
||||
proto.RegisterType((*QueryNameRecordsResponse)(nil), "cerc.registry.v1.QueryNameRecordsResponse")
|
||||
proto.RegisterType((*QueryWhoisRequest)(nil), "cerc.registry.v1.QueryWhoisRequest")
|
||||
@@ -1256,88 +1262,88 @@ func init() {
|
||||
func init() { proto.RegisterFile("cerc/registry/v1/query.proto", fileDescriptor_c642b96b6da07a30) }
|
||||
|
||||
var fileDescriptor_c642b96b6da07a30 = []byte{
|
||||
// 1295 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4d, 0x6f, 0x1b, 0xc5,
|
||||
0x1b, 0xf7, 0xda, 0xb1, 0xdd, 0x3c, 0xfe, 0xb7, 0xea, 0x7f, 0x08, 0xed, 0x66, 0x13, 0x6c, 0xb3,
|
||||
0xe4, 0xc5, 0x49, 0xe4, 0xdd, 0x26, 0x91, 0xda, 0x2a, 0xe2, 0x12, 0x23, 0x1a, 0x97, 0xbe, 0xa8,
|
||||
0x59, 0xa4, 0x22, 0x71, 0xa9, 0xc6, 0xde, 0xc5, 0x59, 0xb2, 0xde, 0x71, 0x77, 0xd7, 0x2e, 0x4b,
|
||||
0x54, 0x09, 0x21, 0x40, 0x1c, 0x41, 0x9c, 0x10, 0x5c, 0xb8, 0x70, 0xe0, 0xc0, 0xe7, 0xa8, 0xc4,
|
||||
0xa5, 0x12, 0x17, 0x4e, 0x01, 0x25, 0x5c, 0xb8, 0xa1, 0xf2, 0x05, 0xd0, 0xce, 0xcc, 0xae, 0xd7,
|
||||
0xef, 0x4e, 0x04, 0x12, 0x27, 0xef, 0xcc, 0xfc, 0x9e, 0xe7, 0xf9, 0x3d, 0xaf, 0x33, 0x86, 0xc5,
|
||||
0xba, 0xe1, 0xd4, 0x55, 0xc7, 0x68, 0x98, 0xae, 0xe7, 0xf8, 0x6a, 0x67, 0x53, 0x7d, 0xdc, 0x36,
|
||||
0x1c, 0x5f, 0x69, 0x39, 0xc4, 0x23, 0xe8, 0x72, 0x70, 0xaa, 0x84, 0xa7, 0x4a, 0x67, 0x53, 0x5a,
|
||||
0x6c, 0x10, 0xd2, 0xb0, 0x0c, 0x15, 0xb7, 0x4c, 0x15, 0xdb, 0x36, 0xf1, 0xb0, 0x67, 0x12, 0xdb,
|
||||
0x65, 0x78, 0x69, 0xbd, 0x4e, 0xdc, 0x26, 0x71, 0xd5, 0x1a, 0x76, 0x0d, 0xa6, 0x48, 0xed, 0x6c,
|
||||
0xd6, 0x0c, 0x0f, 0x6f, 0xaa, 0x2d, 0xdc, 0x30, 0x6d, 0x0a, 0xe6, 0xd8, 0xb9, 0x06, 0x69, 0x10,
|
||||
0xfa, 0xa9, 0x06, 0x5f, 0x7c, 0x37, 0x1f, 0xd7, 0x10, 0xca, 0xd6, 0x89, 0x19, 0x4a, 0x15, 0x06,
|
||||
0xf8, 0x46, 0xec, 0x28, 0x40, 0x9e, 0x03, 0xb4, 0x1f, 0x18, 0x7e, 0x80, 0x1d, 0xdc, 0x74, 0x35,
|
||||
0xe3, 0x71, 0xdb, 0x70, 0x3d, 0x79, 0x0f, 0x5e, 0xea, 0xd9, 0x75, 0x5b, 0xc4, 0x76, 0x0d, 0x74,
|
||||
0x0d, 0x32, 0x2d, 0xba, 0x23, 0x0a, 0x45, 0xa1, 0x94, 0xdb, 0x12, 0x95, 0x7e, 0x87, 0x15, 0x2e,
|
||||
0xc1, 0x71, 0xf2, 0x5f, 0x19, 0xae, 0x49, 0x33, 0xea, 0xc4, 0xd1, 0x43, 0x03, 0xe8, 0x6d, 0x00,
|
||||
0xec, 0x79, 0x8e, 0x59, 0x6b, 0x7b, 0x46, 0xa0, 0x2d, 0x55, 0xca, 0x6d, 0x6d, 0x0f, 0x6a, 0x1b,
|
||||
0x22, 0xaa, 0xdc, 0x31, 0xfc, 0x87, 0xd8, 0x6a, 0x1b, 0xb7, 0xed, 0x56, 0xdb, 0xd3, 0x62, 0x6a,
|
||||
0xd0, 0x65, 0x48, 0x61, 0xcb, 0x12, 0x93, 0x45, 0xa1, 0x74, 0x41, 0x0b, 0x3e, 0xd1, 0x2d, 0x80,
|
||||
0x6e, 0x20, 0xc5, 0x14, 0x25, 0xbd, 0xa2, 0xb0, 0x98, 0x29, 0x41, 0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, 0x1b, 0xd8, 0xa6, 0x0a, 0x50, 0x05,
|
||||
0x52, 0x4d, 0xdc, 0x12, 0xb3, 0x54, 0x8f, 0x72, 0xb6, 0x74, 0x04, 0x7e, 0x35, 0x71, 0xab, 0x92,
|
||||
0xe5, 0x01, 0x96, 0x4c, 0xb8, 0xd8, 0x53, 0xba, 0xff, 0x5e, 0x32, 0xe4, 0xaf, 0x05, 0x98, 0xeb,
|
||||
0x45, 0xf2, 0x06, 0xbe, 0x09, 0x59, 0x87, 0x6d, 0xf1, 0x1a, 0x1b, 0xd2, 0xc1, 0x4c, 0xa6, 0x32,
|
||||
0xf3, 0xec, 0xb8, 0x90, 0xd0, 0x42, 0x38, 0xda, 0xeb, 0xe9, 0x24, 0xc6, 0x6f, 0x75, 0x62, 0x27,
|
||||
0x31, 0xb3, 0xf1, 0x56, 0x92, 0x4b, 0x70, 0x25, 0x46, 0xad, 0xe2, 0xdf, 0xd6, 0xc3, 0x99, 0x70,
|
||||
0x09, 0x92, 0xa6, 0xce, 0xc3, 0x91, 0x34, 0x75, 0x79, 0x1f, 0xae, 0x0e, 0x20, 0xb9, 0x1f, 0xd7,
|
||||
0x21, 0xc3, 0x88, 0x8d, 0x1e, 0x44, 0x3d, 0x6e, 0x70, 0xb4, 0xdc, 0x86, 0x85, 0x78, 0x5c, 0x2a,
|
||||
0x7e, 0x85, 0xd8, 0xfa, 0x48, 0x06, 0x7d, 0xe3, 0x23, 0x79, 0xde, 0xf1, 0x21, 0x7f, 0x27, 0xc0,
|
||||
0xe2, 0x70, 0xbb, 0xff, 0x9d, 0xbc, 0x60, 0x1e, 0xed, 0xfb, 0xb8, 0x69, 0xf4, 0x0d, 0xeb, 0xde,
|
||||
0x30, 0x08, 0xe7, 0x0e, 0xc3, 0xb7, 0x02, 0x88, 0x83, 0x36, 0x78, 0x08, 0x6e, 0x40, 0xda, 0xc6,
|
||||
0xcd, 0x68, 0xf8, 0x2d, 0x0c, 0x06, 0x20, 0x90, 0xa2, 0x63, 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, 0xd1, 0x8f, 0x02, 0x88, 0xa3, 0x06, 0x32, 0xba, 0x3e, 0xc2, 0xd4, 0x84, 0x49,
|
||||
0x2f, 0xdd, 0x38, 0xb3, 0xdc, 0x64, 0xc2, 0x7c, 0xe4, 0x55, 0x76, 0x9f, 0x9d, 0xe4, 0x85, 0xe7,
|
||||
0x27, 0x79, 0xe1, 0xb7, 0x93, 0xbc, 0xf0, 0xc5, 0x69, 0x3e, 0xf1, 0xfc, 0x34, 0x9f, 0xf8, 0xe5,
|
||||
0x34, 0x9f, 0x78, 0x77, 0xb5, 0x61, 0x7a, 0x4a, 0x47, 0xaf, 0x29, 0x1e, 0xa1, 0xe2, 0x65, 0x93,
|
||||
0xa8, 0x16, 0xae, 0x13, 0xdb, 0xac, 0x6f, 0xe9, 0xea, 0x07, 0x91, 0xb6, 0x5a, 0x86, 0xfe, 0xdf,
|
||||
0xde, 0xfe, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xc5, 0x94, 0x6e, 0x34, 0x42, 0x10, 0x00, 0x00,
|
||||
// 1291 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x57, 0x4d, 0x6f, 0x1b, 0x45,
|
||||
0x18, 0xf6, 0xda, 0xb1, 0xdd, 0xbc, 0xa6, 0x55, 0x19, 0x42, 0xbb, 0xdd, 0x06, 0xdb, 0x2c, 0xf9,
|
||||
0x70, 0x12, 0x65, 0x37, 0x4e, 0xa4, 0xb6, 0x8a, 0xb8, 0xc4, 0x88, 0xc6, 0xa5, 0x1f, 0x4a, 0x17,
|
||||
0xa9, 0x48, 0x5c, 0xaa, 0xb1, 0xbd, 0x38, 0x4b, 0xd6, 0x33, 0xee, 0xee, 0xda, 0xad, 0x89, 0x2a,
|
||||
0x21, 0x04, 0x3d, 0x83, 0x38, 0x21, 0x38, 0x72, 0x42, 0x88, 0xdf, 0x51, 0x89, 0x4b, 0x25, 0x2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7c, 0x41, 0x32, 0x64, 0x5c, 0xcf, 0xb1,
|
||||
0x48, 0x93, 0xf3, 0x55, 0x13, 0x86, 0x78, 0x47, 0x08, 0x52, 0x16, 0xf1, 0x18, 0x65, 0xaa, 0x9a,
|
||||
0x30, 0xfc, 0x17, 0x74, 0x09, 0xd2, 0x1f, 0xd9, 0x14, 0x7b, 0x2c, 0x4b, 0x52, 0x35, 0x61, 0xf0,
|
||||
0x57, 0xa4, 0x40, 0xb6, 0x46, 0xa9, 0x6d, 0x62, 0x22, 0x4f, 0xf9, 0x89, 0xad, 0x26, 0x8c, 0x60,
|
||||
0x01, 0xcd, 0xc0, 0x94, 0x6d, 0x91, 0x3d, 0x39, 0x2d, 0xfc, 0xb3, 0x37, 0x54, 0x85, 0x34, 0xf6,
|
||||
0x93, 0x25, 0x67, 0x4e, 0xb3, 0xa5, 0x41, 0x7e, 0x7d, 0x6e, 0xe6, 0x00, 0x55, 0x20, 0xd5, 0xc2,
|
||||
0x6d, 0x39, 0xcb, 0xfc, 0x68, 0xa7, 0x4b, 0x87, 0xbf, 0xaf, 0x16, 0x6e, 0x57, 0xb2, 0x22, 0xc0,
|
||||
0x8a, 0x05, 0xe7, 0x23, 0xa5, 0xfb, 0xdf, 0x25, 0x43, 0xfd, 0x46, 0x82, 0x99, 0x28, 0x52, 0x34,
|
||||
0xf0, 0x0d, 0xc8, 0x3a, 0x7c, 0x49, 0xd4, 0xd8, 0x31, 0x1d, 0xcc, 0x6d, 0x2a, 0x53, 0xcf, 0x0f,
|
||||
0x0a, 0x09, 0x23, 0x80, 0xa3, 0xed, 0x48, 0x27, 0x71, 0x7d, 0x8b, 0x63, 0x3b, 0x89, 0xd3, 0x86,
|
||||
0x5b, 0x49, 0x5d, 0x84, 0xd7, 0x99, 0xb4, 0x6d, 0xd3, 0xe3, 0x4c, 0xc1, 0x48, 0xb8, 0x00, 0x49,
|
||||
0xab, 0x21, 0xa2, 0x91, 0xb4, 0x1a, 0xea, 0x0e, 0x5c, 0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|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -1357,9 +1363,9 @@ type QueryClient interface {
|
||||
// Records queries all records
|
||||
Records(ctx context.Context, in *QueryRecordsRequest, opts ...grpc.CallOption) (*QueryRecordsResponse, error)
|
||||
// Get record by id
|
||||
GetRecord(ctx context.Context, in *QueryRecordByIdRequest, opts ...grpc.CallOption) (*QueryRecordByIdResponse, error)
|
||||
GetRecord(ctx context.Context, in *QueryGetRecordRequest, opts ...grpc.CallOption) (*QueryGetRecordResponse, error)
|
||||
// Get records by bond id
|
||||
GetRecordsByBondId(ctx context.Context, in *QueryRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryRecordsByBondIdResponse, error)
|
||||
GetRecordsByBondId(ctx context.Context, in *QueryGetRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryGetRecordsByBondIdResponse, error)
|
||||
// NameRecords queries all name records
|
||||
NameRecords(ctx context.Context, in *QueryNameRecordsRequest, opts ...grpc.CallOption) (*QueryNameRecordsResponse, error)
|
||||
// Whois method retrieve the name authority info
|
||||
@@ -1398,8 +1404,8 @@ func (c *queryClient) Records(ctx context.Context, in *QueryRecordsRequest, opts
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *queryClient) GetRecord(ctx context.Context, in *QueryRecordByIdRequest, opts ...grpc.CallOption) (*QueryRecordByIdResponse, error) {
|
||||
out := new(QueryRecordByIdResponse)
|
||||
func (c *queryClient) GetRecord(ctx context.Context, in *QueryGetRecordRequest, opts ...grpc.CallOption) (*QueryGetRecordResponse, error) {
|
||||
out := new(QueryGetRecordResponse)
|
||||
err := c.cc.Invoke(ctx, "/cerc.registry.v1.Query/GetRecord", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1407,8 +1413,8 @@ func (c *queryClient) GetRecord(ctx context.Context, in *QueryRecordByIdRequest,
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *queryClient) GetRecordsByBondId(ctx context.Context, in *QueryRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryRecordsByBondIdResponse, error) {
|
||||
out := new(QueryRecordsByBondIdResponse)
|
||||
func (c *queryClient) GetRecordsByBondId(ctx context.Context, in *QueryGetRecordsByBondIdRequest, opts ...grpc.CallOption) (*QueryGetRecordsByBondIdResponse, error) {
|
||||
out := new(QueryGetRecordsByBondIdResponse)
|
||||
err := c.cc.Invoke(ctx, "/cerc.registry.v1.Query/GetRecordsByBondId", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -1468,9 +1474,9 @@ type QueryServer interface {
|
||||
// Records queries all records
|
||||
Records(context.Context, *QueryRecordsRequest) (*QueryRecordsResponse, error)
|
||||
// Get record by id
|
||||
GetRecord(context.Context, *QueryRecordByIdRequest) (*QueryRecordByIdResponse, error)
|
||||
GetRecord(context.Context, *QueryGetRecordRequest) (*QueryGetRecordResponse, error)
|
||||
// Get records by bond id
|
||||
GetRecordsByBondId(context.Context, *QueryRecordsByBondIdRequest) (*QueryRecordsByBondIdResponse, error)
|
||||
GetRecordsByBondId(context.Context, *QueryGetRecordsByBondIdRequest) (*QueryGetRecordsByBondIdResponse, error)
|
||||
// NameRecords queries all name records
|
||||
NameRecords(context.Context, *QueryNameRecordsRequest) (*QueryNameRecordsResponse, error)
|
||||
// Whois method retrieve the name authority info
|
||||
@@ -1493,10 +1499,10 @@ func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsReq
|
||||
func (*UnimplementedQueryServer) Records(ctx context.Context, req *QueryRecordsRequest) (*QueryRecordsResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method Records not implemented")
|
||||
}
|
||||
func (*UnimplementedQueryServer) GetRecord(ctx context.Context, req *QueryRecordByIdRequest) (*QueryRecordByIdResponse, error) {
|
||||
func (*UnimplementedQueryServer) GetRecord(ctx context.Context, req *QueryGetRecordRequest) (*QueryGetRecordResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GetRecord not implemented")
|
||||
}
|
||||
func (*UnimplementedQueryServer) GetRecordsByBondId(ctx context.Context, req *QueryRecordsByBondIdRequest) (*QueryRecordsByBondIdResponse, error) {
|
||||
func (*UnimplementedQueryServer) GetRecordsByBondId(ctx context.Context, req *QueryGetRecordsByBondIdRequest) (*QueryGetRecordsByBondIdResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method GetRecordsByBondId not implemented")
|
||||
}
|
||||
func (*UnimplementedQueryServer) NameRecords(ctx context.Context, req *QueryNameRecordsRequest) (*QueryNameRecordsResponse, error) {
|
||||
@@ -1556,7 +1562,7 @@ func _Query_Records_Handler(srv interface{}, ctx context.Context, dec func(inter
|
||||
}
|
||||
|
||||
func _Query_GetRecord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(QueryRecordByIdRequest)
|
||||
in := new(QueryGetRecordRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1568,13 +1574,13 @@ func _Query_GetRecord_Handler(srv interface{}, ctx context.Context, dec func(int
|
||||
FullMethod: "/cerc.registry.v1.Query/GetRecord",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(QueryServer).GetRecord(ctx, req.(*QueryRecordByIdRequest))
|
||||
return srv.(QueryServer).GetRecord(ctx, req.(*QueryGetRecordRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Query_GetRecordsByBondId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(QueryRecordsByBondIdRequest)
|
||||
in := new(QueryGetRecordsByBondIdRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1586,7 +1592,7 @@ func _Query_GetRecordsByBondId_Handler(srv interface{}, ctx context.Context, dec
|
||||
FullMethod: "/cerc.registry.v1.Query/GetRecordsByBondId",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(QueryServer).GetRecordsByBondId(ctx, req.(*QueryRecordsByBondIdRequest))
|
||||
return srv.(QueryServer).GetRecordsByBondId(ctx, req.(*QueryGetRecordsByBondIdRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
@@ -2164,7 +2170,7 @@ func (m *QueryRecordsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *QueryRecordByIdRequest) Marshal() (dAtA []byte, err error) {
|
||||
func (m *QueryGetRecordRequest) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||
@@ -2174,12 +2180,12 @@ func (m *QueryRecordByIdRequest) Marshal() (dAtA []byte, err error) {
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *QueryRecordByIdRequest) MarshalTo(dAtA []byte) (int, error) {
|
||||
func (m *QueryGetRecordRequest) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *QueryRecordByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
func (m *QueryGetRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
i := len(dAtA)
|
||||
_ = i
|
||||
var l int
|
||||
@@ -2194,7 +2200,7 @@ func (m *QueryRecordByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *QueryRecordByIdResponse) Marshal() (dAtA []byte, err error) {
|
||||
func (m *QueryGetRecordResponse) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||
@@ -2204,12 +2210,12 @@ func (m *QueryRecordByIdResponse) Marshal() (dAtA []byte, err error) {
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *QueryRecordByIdResponse) MarshalTo(dAtA []byte) (int, error) {
|
||||
func (m *QueryGetRecordResponse) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *QueryRecordByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
func (m *QueryGetRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
i := len(dAtA)
|
||||
_ = i
|
||||
var l int
|
||||
@@ -2227,7 +2233,7 @@ func (m *QueryRecordByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdRequest) Marshal() (dAtA []byte, err error) {
|
||||
func (m *QueryGetRecordsByBondIdRequest) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||
@@ -2237,12 +2243,12 @@ func (m *QueryRecordsByBondIdRequest) Marshal() (dAtA []byte, err error) {
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdRequest) MarshalTo(dAtA []byte) (int, error) {
|
||||
func (m *QueryGetRecordsByBondIdRequest) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
func (m *QueryGetRecordsByBondIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
i := len(dAtA)
|
||||
_ = i
|
||||
var l int
|
||||
@@ -2269,7 +2275,7 @@ func (m *QueryRecordsByBondIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, er
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdResponse) Marshal() (dAtA []byte, err error) {
|
||||
func (m *QueryGetRecordsByBondIdResponse) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||
@@ -2279,12 +2285,12 @@ func (m *QueryRecordsByBondIdResponse) Marshal() (dAtA []byte, err error) {
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdResponse) MarshalTo(dAtA []byte) (int, error) {
|
||||
func (m *QueryGetRecordsByBondIdResponse) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
func (m *QueryGetRecordsByBondIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
i := len(dAtA)
|
||||
_ = i
|
||||
var l int
|
||||
@@ -2910,7 +2916,7 @@ func (m *QueryRecordsResponse) Size() (n int) {
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *QueryRecordByIdRequest) Size() (n int) {
|
||||
func (m *QueryGetRecordRequest) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
@@ -2923,7 +2929,7 @@ func (m *QueryRecordByIdRequest) Size() (n int) {
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *QueryRecordByIdResponse) Size() (n int) {
|
||||
func (m *QueryGetRecordResponse) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
@@ -2934,7 +2940,7 @@ func (m *QueryRecordByIdResponse) Size() (n int) {
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdRequest) Size() (n int) {
|
||||
func (m *QueryGetRecordsByBondIdRequest) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
@@ -2951,7 +2957,7 @@ func (m *QueryRecordsByBondIdRequest) Size() (n int) {
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *QueryRecordsByBondIdResponse) Size() (n int) {
|
||||
func (m *QueryGetRecordsByBondIdResponse) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
@@ -4140,7 +4146,7 @@ func (m *QueryRecordsResponse) Unmarshal(dAtA []byte) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *QueryRecordByIdRequest) Unmarshal(dAtA []byte) error {
|
||||
func (m *QueryGetRecordRequest) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
for iNdEx < l {
|
||||
@@ -4163,10 +4169,10 @@ func (m *QueryRecordByIdRequest) Unmarshal(dAtA []byte) error {
|
||||
fieldNum := int32(wire >> 3)
|
||||
wireType := int(wire & 0x7)
|
||||
if wireType == 4 {
|
||||
return fmt.Errorf("proto: QueryRecordByIdRequest: wiretype end group for non-group")
|
||||
return fmt.Errorf("proto: QueryGetRecordRequest: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: QueryRecordByIdRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
return fmt.Errorf("proto: QueryGetRecordRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
@@ -4222,7 +4228,7 @@ func (m *QueryRecordByIdRequest) Unmarshal(dAtA []byte) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *QueryRecordByIdResponse) Unmarshal(dAtA []byte) error {
|
||||
func (m *QueryGetRecordResponse) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
for iNdEx < l {
|
||||
@@ -4245,10 +4251,10 @@ func (m *QueryRecordByIdResponse) Unmarshal(dAtA []byte) error {
|
||||
fieldNum := int32(wire >> 3)
|
||||
wireType := int(wire & 0x7)
|
||||
if wireType == 4 {
|
||||
return fmt.Errorf("proto: QueryRecordByIdResponse: wiretype end group for non-group")
|
||||
return fmt.Errorf("proto: QueryGetRecordResponse: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: QueryRecordByIdResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
return fmt.Errorf("proto: QueryGetRecordResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
@@ -4305,7 +4311,7 @@ func (m *QueryRecordByIdResponse) Unmarshal(dAtA []byte) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *QueryRecordsByBondIdRequest) Unmarshal(dAtA []byte) error {
|
||||
func (m *QueryGetRecordsByBondIdRequest) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
for iNdEx < l {
|
||||
@@ -4328,10 +4334,10 @@ func (m *QueryRecordsByBondIdRequest) Unmarshal(dAtA []byte) error {
|
||||
fieldNum := int32(wire >> 3)
|
||||
wireType := int(wire & 0x7)
|
||||
if wireType == 4 {
|
||||
return fmt.Errorf("proto: QueryRecordsByBondIdRequest: wiretype end group for non-group")
|
||||
return fmt.Errorf("proto: QueryGetRecordsByBondIdRequest: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: QueryRecordsByBondIdRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
return fmt.Errorf("proto: QueryGetRecordsByBondIdRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
@@ -4423,7 +4429,7 @@ func (m *QueryRecordsByBondIdRequest) Unmarshal(dAtA []byte) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *QueryRecordsByBondIdResponse) Unmarshal(dAtA []byte) error {
|
||||
func (m *QueryGetRecordsByBondIdResponse) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
for iNdEx < l {
|
||||
@@ -4446,10 +4452,10 @@ func (m *QueryRecordsByBondIdResponse) Unmarshal(dAtA []byte) error {
|
||||
fieldNum := int32(wire >> 3)
|
||||
wireType := int(wire & 0x7)
|
||||
if wireType == 4 {
|
||||
return fmt.Errorf("proto: QueryRecordsByBondIdResponse: wiretype end group for non-group")
|
||||
return fmt.Errorf("proto: QueryGetRecordsByBondIdResponse: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: QueryRecordsByBondIdResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
return fmt.Errorf("proto: QueryGetRecordsByBondIdResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
|
||||
@@ -88,7 +88,7 @@ func local_request_Query_Records_0(ctx context.Context, marshaler runtime.Marsha
|
||||
}
|
||||
|
||||
func request_Query_GetRecord_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq QueryRecordByIdRequest
|
||||
var protoReq QueryGetRecordRequest
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
var (
|
||||
@@ -115,7 +115,7 @@ func request_Query_GetRecord_0(ctx context.Context, marshaler runtime.Marshaler,
|
||||
}
|
||||
|
||||
func local_request_Query_GetRecord_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq QueryRecordByIdRequest
|
||||
var protoReq QueryGetRecordRequest
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
var (
|
||||
@@ -146,7 +146,7 @@ var (
|
||||
)
|
||||
|
||||
func request_Query_GetRecordsByBondId_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq QueryRecordsByBondIdRequest
|
||||
var protoReq QueryGetRecordsByBondIdRequest
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
var (
|
||||
@@ -180,7 +180,7 @@ func request_Query_GetRecordsByBondId_0(ctx context.Context, marshaler runtime.M
|
||||
}
|
||||
|
||||
func local_request_Query_GetRecordsByBondId_0(ctx context.Context, marshaler runtime.Marshaler, server QueryServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq QueryRecordsByBondIdRequest
|
||||
var protoReq QueryGetRecordsByBondIdRequest
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
var (
|
||||
|
||||
+155
-155
@@ -287,7 +287,7 @@ func (m *MsgSetNameResponse) XXX_DiscardUnknown() {
|
||||
|
||||
var xxx_messageInfo_MsgSetNameResponse proto.InternalMessageInfo
|
||||
|
||||
// MsgReserveName
|
||||
// MsgReserveAuthority
|
||||
type MsgReserveAuthority struct {
|
||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||
Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
|
||||
@@ -349,7 +349,7 @@ func (m *MsgReserveAuthority) GetOwner() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
// MsgReserveNameResponse
|
||||
// MsgReserveAuthorityResponse
|
||||
type MsgReserveAuthorityResponse struct {
|
||||
}
|
||||
|
||||
@@ -484,24 +484,24 @@ func (m *MsgSetAuthorityBondResponse) XXX_DiscardUnknown() {
|
||||
|
||||
var xxx_messageInfo_MsgSetAuthorityBondResponse proto.InternalMessageInfo
|
||||
|
||||
// MsgDeleteNameAuthority
|
||||
type MsgDeleteNameAuthority struct {
|
||||
// MsgDeleteName
|
||||
type MsgDeleteName struct {
|
||||
Lrn string `protobuf:"bytes,1,opt,name=lrn,proto3" json:"lrn,omitempty"`
|
||||
Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
|
||||
}
|
||||
|
||||
func (m *MsgDeleteNameAuthority) Reset() { *m = MsgDeleteNameAuthority{} }
|
||||
func (m *MsgDeleteNameAuthority) String() string { return proto.CompactTextString(m) }
|
||||
func (*MsgDeleteNameAuthority) ProtoMessage() {}
|
||||
func (*MsgDeleteNameAuthority) Descriptor() ([]byte, []int) {
|
||||
func (m *MsgDeleteName) Reset() { *m = MsgDeleteName{} }
|
||||
func (m *MsgDeleteName) String() string { return proto.CompactTextString(m) }
|
||||
func (*MsgDeleteName) ProtoMessage() {}
|
||||
func (*MsgDeleteName) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_3c6eb2e5a4d8fa03, []int{9}
|
||||
}
|
||||
func (m *MsgDeleteNameAuthority) XXX_Unmarshal(b []byte) error {
|
||||
func (m *MsgDeleteName) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *MsgDeleteNameAuthority) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
func (m *MsgDeleteName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_MsgDeleteNameAuthority.Marshal(b, m, deterministic)
|
||||
return xxx_messageInfo_MsgDeleteName.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalToSizedBuffer(b)
|
||||
@@ -511,48 +511,48 @@ func (m *MsgDeleteNameAuthority) XXX_Marshal(b []byte, deterministic bool) ([]by
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (m *MsgDeleteNameAuthority) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MsgDeleteNameAuthority.Merge(m, src)
|
||||
func (m *MsgDeleteName) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MsgDeleteName.Merge(m, src)
|
||||
}
|
||||
func (m *MsgDeleteNameAuthority) XXX_Size() int {
|
||||
func (m *MsgDeleteName) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *MsgDeleteNameAuthority) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MsgDeleteNameAuthority.DiscardUnknown(m)
|
||||
func (m *MsgDeleteName) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MsgDeleteName.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MsgDeleteNameAuthority proto.InternalMessageInfo
|
||||
var xxx_messageInfo_MsgDeleteName proto.InternalMessageInfo
|
||||
|
||||
func (m *MsgDeleteNameAuthority) GetLrn() string {
|
||||
func (m *MsgDeleteName) GetLrn() string {
|
||||
if m != nil {
|
||||
return m.Lrn
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *MsgDeleteNameAuthority) GetSigner() string {
|
||||
func (m *MsgDeleteName) GetSigner() string {
|
||||
if m != nil {
|
||||
return m.Signer
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// MsgDeleteNameAuthorityResponse
|
||||
type MsgDeleteNameAuthorityResponse struct {
|
||||
// MsgDeleteNameResponse
|
||||
type MsgDeleteNameResponse struct {
|
||||
}
|
||||
|
||||
func (m *MsgDeleteNameAuthorityResponse) Reset() { *m = MsgDeleteNameAuthorityResponse{} }
|
||||
func (m *MsgDeleteNameAuthorityResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*MsgDeleteNameAuthorityResponse) ProtoMessage() {}
|
||||
func (*MsgDeleteNameAuthorityResponse) Descriptor() ([]byte, []int) {
|
||||
func (m *MsgDeleteNameResponse) Reset() { *m = MsgDeleteNameResponse{} }
|
||||
func (m *MsgDeleteNameResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*MsgDeleteNameResponse) ProtoMessage() {}
|
||||
func (*MsgDeleteNameResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_3c6eb2e5a4d8fa03, []int{10}
|
||||
}
|
||||
func (m *MsgDeleteNameAuthorityResponse) XXX_Unmarshal(b []byte) error {
|
||||
func (m *MsgDeleteNameResponse) XXX_Unmarshal(b []byte) error {
|
||||
return m.Unmarshal(b)
|
||||
}
|
||||
func (m *MsgDeleteNameAuthorityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
func (m *MsgDeleteNameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
if deterministic {
|
||||
return xxx_messageInfo_MsgDeleteNameAuthorityResponse.Marshal(b, m, deterministic)
|
||||
return xxx_messageInfo_MsgDeleteNameResponse.Marshal(b, m, deterministic)
|
||||
} else {
|
||||
b = b[:cap(b)]
|
||||
n, err := m.MarshalToSizedBuffer(b)
|
||||
@@ -562,17 +562,17 @@ func (m *MsgDeleteNameAuthorityResponse) XXX_Marshal(b []byte, deterministic boo
|
||||
return b[:n], nil
|
||||
}
|
||||
}
|
||||
func (m *MsgDeleteNameAuthorityResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MsgDeleteNameAuthorityResponse.Merge(m, src)
|
||||
func (m *MsgDeleteNameResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MsgDeleteNameResponse.Merge(m, src)
|
||||
}
|
||||
func (m *MsgDeleteNameAuthorityResponse) XXX_Size() int {
|
||||
func (m *MsgDeleteNameResponse) XXX_Size() int {
|
||||
return m.Size()
|
||||
}
|
||||
func (m *MsgDeleteNameAuthorityResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MsgDeleteNameAuthorityResponse.DiscardUnknown(m)
|
||||
func (m *MsgDeleteNameResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MsgDeleteNameResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MsgDeleteNameAuthorityResponse proto.InternalMessageInfo
|
||||
var xxx_messageInfo_MsgDeleteNameResponse proto.InternalMessageInfo
|
||||
|
||||
// MsgRenewRecord
|
||||
type MsgRenewRecord struct {
|
||||
@@ -1050,8 +1050,8 @@ func init() {
|
||||
proto.RegisterType((*MsgReserveAuthorityResponse)(nil), "cerc.registry.v1.MsgReserveAuthorityResponse")
|
||||
proto.RegisterType((*MsgSetAuthorityBond)(nil), "cerc.registry.v1.MsgSetAuthorityBond")
|
||||
proto.RegisterType((*MsgSetAuthorityBondResponse)(nil), "cerc.registry.v1.MsgSetAuthorityBondResponse")
|
||||
proto.RegisterType((*MsgDeleteNameAuthority)(nil), "cerc.registry.v1.MsgDeleteNameAuthority")
|
||||
proto.RegisterType((*MsgDeleteNameAuthorityResponse)(nil), "cerc.registry.v1.MsgDeleteNameAuthorityResponse")
|
||||
proto.RegisterType((*MsgDeleteName)(nil), "cerc.registry.v1.MsgDeleteName")
|
||||
proto.RegisterType((*MsgDeleteNameResponse)(nil), "cerc.registry.v1.MsgDeleteNameResponse")
|
||||
proto.RegisterType((*MsgRenewRecord)(nil), "cerc.registry.v1.MsgRenewRecord")
|
||||
proto.RegisterType((*MsgRenewRecordResponse)(nil), "cerc.registry.v1.MsgRenewRecordResponse")
|
||||
proto.RegisterType((*MsgAssociateBond)(nil), "cerc.registry.v1.MsgAssociateBond")
|
||||
@@ -1067,72 +1067,72 @@ func init() {
|
||||
func init() { proto.RegisterFile("cerc/registry/v1/tx.proto", fileDescriptor_3c6eb2e5a4d8fa03) }
|
||||
|
||||
var fileDescriptor_3c6eb2e5a4d8fa03 = []byte{
|
||||
// 1037 bytes of a gzipped FileDescriptorProto
|
||||
// 1036 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x97, 0x41, 0x6f, 0xe3, 0x44,
|
||||
0x14, 0xc7, 0x3b, 0xc9, 0x6e, 0x4b, 0x5e, 0xa0, 0xea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0xfe, 0x7e, 0x3e, 0xd2, 0x87, 0x44, 0x5a, 0x83, 0xe2, 0xc0, 0xb1,
|
||||
0x83, 0x6d, 0x78, 0x43, 0x6f, 0xa6, 0x6f, 0x19, 0x41, 0x32, 0xbd, 0x61, 0x2c, 0xc3, 0xc5, 0x78,
|
||||
0x86, 0x93, 0x69, 0x5a, 0x07, 0x29, 0x72, 0x1b, 0x26, 0x09, 0x1b, 0xf0, 0x76, 0x8f, 0x99, 0x1a,
|
||||
0x61, 0xc4, 0xb9, 0x20, 0x47, 0x8f, 0xdd, 0x47, 0xd4, 0xb1, 0xdc, 0xb1, 0x24, 0xc1, 0x2d, 0x5b,
|
||||
0x1f, 0x92, 0x20, 0x2c, 0x1f, 0xe7, 0x9e, 0xe3, 0x3a, 0xdc, 0xa6, 0xa3, 0x28, 0xb8, 0xff, 0x23,
|
||||
0x19, 0x7b, 0x0b, 0x36, 0x33, 0xa2, 0x08, 0x88, 0x6f, 0x11, 0xa7, 0x38, 0x21, 0xae, 0xb0, 0x75,
|
||||
0xa9, 0x6d, 0x64, 0x52, 0xc4, 0x2a, 0xb1, 0xf0, 0xff, 0x2b, 0x71, 0x4e, 0x9e, 0x7c, 0xd6, 0x59,
|
||||
0x16, 0xc1, 0xfa, 0x31, 0xdc, 0xed, 0x31, 0xf3, 0x43, 0x32, 0x20, 0x2e, 0xf1, 0x32, 0x19, 0xe5,
|
||||
0x2c, 0x7d, 0x52, 0x39, 0x19, 0x4b, 0xc6, 0xab, 0x83, 0x92, 0xed, 0x50, 0x84, 0x1c, 0xc3, 0x2a,
|
||||
0xcf, 0x9e, 0x4d, 0x46, 0x41, 0x3b, 0x76, 0xa1, 0xe4, 0x97, 0x65, 0xd4, 0x90, 0x8d, 0xe9, 0xa4,
|
||||
0xb6, 0xed, 0xa7, 0x41, 0x98, 0xc2, 0x44, 0x44, 0x13, 0xda, 0x1b, 0xfe, 0x38, 0xbf, 0x2d, 0x93,
|
||||
0x70, 0x15, 0xbe, 0xdb, 0x58, 0x68, 0x01, 0xf5, 0x3b, 0x82, 0xb5, 0x1e, 0x33, 0x8f, 0x18, 0xa3,
|
||||
0x7d, 0x4b, 0x77, 0x09, 0x3f, 0xb0, 0xd7, 0xc1, 0x75, 0xe3, 0x07, 0x2c, 0x43, 0x65, 0x16, 0x5c,
|
||||
0xec, 0xea, 0x4b, 0xb8, 0xe3, 0x1d, 0x86, 0xf5, 0xda, 0x77, 0xb5, 0x50, 0xb6, 0x37, 0x61, 0x23,
|
||||
0x15, 0x5d, 0xa0, 0x8d, 0xf8, 0x67, 0x2e, 0x32, 0xfa, 0xe7, 0xc1, 0x6e, 0xe2, 0xd3, 0x9c, 0xa4,
|
||||
0x52, 0xa0, 0x9a, 0x15, 0x58, 0x80, 0xfd, 0x81, 0xe0, 0x1d, 0x5e, 0x24, 0xfa, 0x2c, 0xda, 0x31,
|
||||
0x94, 0x6d, 0x32, 0x3a, 0x4d, 0xe2, 0xdd, 0x9b, 0x4e, 0x6a, 0x0d, 0x1f, 0x2f, 0x66, 0x0c, 0x11,
|
||||
0xe3, 0x53, 0x5a, 0xc9, 0x26, 0xa3, 0xae, 0x4f, 0x7a, 0x0c, 0x65, 0x3a, 0x30, 0x4e, 0x93, 0x95,
|
||||
0x11, 0x73, 0x15, 0x33, 0x86, 0xae, 0xe2, 0x53, 0x5a, 0x89, 0x0e, 0x8c, 0xee, 0x7f, 0x28, 0x92,
|
||||
0x1a, 0x6c, 0x65, 0xee, 0x29, 0xdc, 0x75, 0xe7, 0x59, 0x19, 0x8a, 0x3d, 0x66, 0x4a, 0x63, 0x28,
|
||||
0x45, 0xd7, 0xa4, 0x92, 0xbe, 0x10, 0xe2, 0x57, 0x93, 0xdc, 0x9c, 0x6f, 0x17, 0x29, 0xdd, 0x7d,
|
||||
0xfa, 0xe7, 0x3f, 0x3f, 0x16, 0x14, 0x5c, 0x55, 0x53, 0x37, 0x35, 0x23, 0xee, 0x69, 0x70, 0x25,
|
||||
0x7d, 0x8d, 0xa0, 0x1c, 0xff, 0x2a, 0xd4, 0x33, 0xbd, 0xc7, 0x14, 0x72, 0xeb, 0x3a, 0x85, 0x20,
|
||||
0x68, 0x72, 0x82, 0x3a, 0x56, 0xd4, 0x8c, 0xb7, 0x82, 0x77, 0x48, 0x01, 0xc3, 0x37, 0x08, 0xde,
|
||||
0x4a, 0x7e, 0x03, 0x70, 0x66, 0x8c, 0x84, 0x46, 0xde, 0xbf, 0x5e, 0x23, 0x48, 0x5a, 0x9c, 0x04,
|
||||
0xe3, 0x7a, 0x9a, 0x44, 0x1c, 0x0e, 0x3f, 0x67, 0xe9, 0x7b, 0x04, 0xab, 0x33, 0xad, 0xbb, 0x93,
|
||||
0x19, 0x28, 0x29, 0x92, 0xef, 0x2f, 0x20, 0x12, 0x38, 0xf7, 0x38, 0xce, 0x0e, 0xde, 0x4e, 0xe3,
|
||||
0x18, 0x56, 0x92, 0xe7, 0x67, 0x04, 0x77, 0xd2, 0xfd, 0xda, 0xbc, 0x26, 0x5a, 0xa0, 0x93, 0xdb,
|
||||
0x8b, 0xe9, 0x04, 0xd8, 0x7b, 0x1c, 0xac, 0x89, 0x77, 0xe7, 0x82, 0x39, 0x01, 0xc5, 0x2f, 0x08,
|
||||
0xa4, 0x8c, 0x8e, 0xdd, 0xcb, 0x29, 0x90, 0x59, 0xa1, 0xac, 0x2e, 0x28, 0x14, 0x78, 0x07, 0x1c,
|
||||
0x6f, 0x0f, 0x37, 0xb2, 0x0a, 0x4a, 0x4f, 0xf1, 0x7d, 0x01, 0x2b, 0xe1, 0x0b, 0xa8, 0x9a, 0xd7,
|
||||
0x34, 0x9e, 0x55, 0xde, 0x9d, 0x67, 0x15, 0xd1, 0x31, 0x8f, 0x5e, 0xc5, 0x72, 0x76, 0x43, 0xf1,
|
||||
0x97, 0xc5, 0x77, 0xbc, 0x9d, 0xf8, 0x13, 0x85, 0xc7, 0x6d, 0xe4, 0x6c, 0x31, 0xf9, 0x88, 0x91,
|
||||
0x0f, 0x16, 0x92, 0x2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xe2, 0x20, 0x80, 0x6b, 0x63, 0x7d, 0x38, 0x98, 0xfe, 0xd4, 0x96, 0xbd, 0xd1, 0xb1, 0x21,
|
||||
0xdd, 0x83, 0x65, 0x66, 0x99, 0x36, 0x71, 0xca, 0x39, 0xef, 0x51, 0x2d, 0xf8, 0x25, 0xbd, 0x0f,
|
||||
0x2b, 0x67, 0xfa, 0x78, 0x40, 0x75, 0xa3, 0x9c, 0xaf, 0xa1, 0x66, 0xb1, 0xbd, 0xde, 0x9a, 0x5d,
|
||||
0x76, 0xeb, 0x63, 0x5f, 0xd0, 0xb9, 0xf5, 0x7c, 0x52, 0x5d, 0xd2, 0x42, 0xfd, 0x61, 0xf1, 0xe9,
|
||||
0xcb, 0x67, 0x7b, 0x41, 0x1e, 0xdc, 0x80, 0xb5, 0x28, 0xab, 0x46, 0xd8, 0x19, 0xb5, 0x19, 0x91,
|
||||
0x56, 0x21, 0x17, 0xe2, 0x6a, 0x39, 0xcb, 0xc0, 0xbf, 0x21, 0x58, 0x09, 0xf2, 0x49, 0xef, 0xc2,
|
||||
0xb2, 0xc3, 0xd5, 0x3c, 0x5e, 0x6c, 0x97, 0x93, 0xd6, 0x41, 0xb6, 0x40, 0x27, 0x3d, 0x02, 0xf0,
|
||||
0xfc, 0x74, 0xf7, 0xb1, 0x43, 0x58, 0x39, 0x57, 0xcb, 0x37, 0x8b, 0xed, 0x8d, 0xe4, 0x53, 0x27,
|
||||
0xa1, 0xa6, 0xb3, 0xef, 0x21, 0x5f, 0x4d, 0xaa, 0xdb, 0x7e, 0x95, 0xa6, 0x0f, 0x87, 0x85, 0x8a,
|
||||
0xcc, 0x68, 0x91, 0xdc, 0xf8, 0x13, 0x00, 0x7f, 0x3d, 0x1f, 0xe9, 0x43, 0x22, 0x95, 0x20, 0x3f,
|
||||
0x70, 0xec, 0x60, 0x19, 0xde, 0xd0, 0x9b, 0xe9, 0x5b, 0x46, 0x50, 0x4c, 0x6f, 0x18, 0xa9, 0x70,
|
||||
0x3e, 0x5a, 0xe1, 0x78, 0x99, 0xd6, 0x40, 0x9a, 0xa6, 0x0d, 0x8b, 0x84, 0x0d, 0x78, 0xab, 0xcb,
|
||||
0x4c, 0x8d, 0x30, 0xe2, 0x9c, 0x93, 0xa3, 0xc7, 0xee, 0x23, 0xea, 0x58, 0xee, 0x58, 0x92, 0xe0,
|
||||
0x96, 0xad, 0x0f, 0x49, 0x60, 0xcb, 0xc7, 0x99, 0x7d, 0x5c, 0x83, 0xdb, 0x74, 0x34, 0x35, 0xf7,
|
||||
0x7f, 0xc4, 0xbd, 0x37, 0x61, 0x23, 0xc5, 0x45, 0x40, 0x7c, 0x87, 0x38, 0xc5, 0x09, 0x71, 0x45,
|
||||
0xac, 0x43, 0x6d, 0x23, 0x95, 0x22, 0xb2, 0x13, 0x73, 0xaf, 0xbe, 0x13, 0xe7, 0xd4, 0xc9, 0x67,
|
||||
0x9d, 0x65, 0x11, 0xac, 0x1f, 0xc2, 0x9d, 0x2e, 0x33, 0x3f, 0x20, 0x03, 0xe2, 0x92, 0x8c, 0x06,
|
||||
0x65, 0x14, 0x2a, 0x6e, 0x73, 0x1f, 0xde, 0x8e, 0xe5, 0x11, 0x06, 0x63, 0x58, 0xe5, 0xb5, 0xb2,
|
||||
0xc9, 0x28, 0x38, 0x7c, 0x1d, 0x28, 0xf8, 0x9b, 0x70, 0x7a, 0xfc, 0xea, 0x57, 0x93, 0xea, 0x96,
|
||||
0xbf, 0x68, 0x11, 0x0a, 0x97, 0x3d, 0x9d, 0xd0, 0xde, 0xf0, 0xc7, 0xd9, 0x87, 0x30, 0xce, 0x54,
|
||||
0x86, 0x7b, 0x71, 0x6b, 0x01, 0xf5, 0x07, 0x82, 0x52, 0x97, 0x99, 0x47, 0x8c, 0xd1, 0xbe, 0xa5,
|
||||
0xbb, 0x84, 0xb7, 0xe7, 0x75, 0x70, 0xdd, 0x78, 0x3b, 0x65, 0x28, 0xcf, 0x82, 0x8b, 0x55, 0x7d,
|
||||
0x01, 0x77, 0xbd, 0x1e, 0x58, 0xaf, 0x7d, 0x55, 0x0b, 0x55, 0x7b, 0x03, 0xd6, 0x13, 0xee, 0x02,
|
||||
0x6d, 0xc4, 0x5f, 0x6a, 0xd3, 0xa0, 0xdf, 0x0f, 0x76, 0x13, 0x2f, 0xe2, 0x38, 0x95, 0x02, 0x95,
|
||||
0x34, 0x63, 0x01, 0xf6, 0x27, 0xe2, 0x1b, 0x57, 0x23, 0xfa, 0x2c, 0xda, 0x31, 0x14, 0x6d, 0x32,
|
||||
0xea, 0xc5, 0xf1, 0x1e, 0x5c, 0x4d, 0xaa, 0x75, 0x1f, 0x2f, 0x12, 0x0c, 0x11, 0xa3, 0x53, 0x5a,
|
||||
0xc1, 0x26, 0xa3, 0x8e, 0x4f, 0x7a, 0x0c, 0x45, 0x3a, 0x30, 0x7a, 0xf1, 0x9d, 0x11, 0x49, 0x15,
|
||||
0x09, 0x86, 0xa9, 0xa2, 0x53, 0x5a, 0x81, 0x0e, 0x8c, 0xce, 0xff, 0xd8, 0x24, 0x55, 0xd8, 0x4c,
|
||||
0x5d, 0x53, 0xb8, 0xea, 0xf6, 0x37, 0x45, 0xc8, 0x77, 0x99, 0x29, 0x8d, 0xa1, 0x30, 0xfd, 0x28,
|
||||
0x2a, 0xc9, 0xd7, 0x7f, 0xf4, 0x43, 0x24, 0x37, 0xe6, 0xc7, 0x45, 0x49, 0x77, 0x9e, 0xfe, 0xf5,
|
||||
0xef, 0x8f, 0x39, 0x05, 0x57, 0xd4, 0xc4, 0x77, 0x99, 0x11, 0xb7, 0x17, 0x7c, 0x80, 0xbe, 0x46,
|
||||
0x50, 0x8c, 0xbe, 0x15, 0x6a, 0xa9, 0xd9, 0x23, 0x0a, 0xb9, 0x79, 0x9d, 0x42, 0x10, 0x34, 0x38,
|
||||
0x41, 0x0d, 0x2b, 0x6a, 0xca, 0xcd, 0xc0, 0x6b, 0x52, 0xc0, 0xf0, 0x2d, 0x82, 0x3b, 0xf1, 0x77,
|
||||
0x00, 0x4e, 0xf5, 0x88, 0x69, 0xe4, 0xbd, 0xeb, 0x35, 0x82, 0xa4, 0xc9, 0x49, 0x30, 0xae, 0x25,
|
||||
0x49, 0x44, 0x73, 0x78, 0x9f, 0xa5, 0xef, 0x11, 0xac, 0xce, 0x1c, 0xdd, 0xed, 0x54, 0xa3, 0xb8,
|
||||
0x48, 0xde, 0x5f, 0x40, 0x24, 0x70, 0x1e, 0x70, 0x9c, 0x6d, 0xbc, 0x95, 0xc4, 0x31, 0xac, 0x38,
|
||||
0xcf, 0x2f, 0x08, 0xee, 0x26, 0xcf, 0x6b, 0xe3, 0x1a, 0xb7, 0x40, 0x27, 0xb7, 0x16, 0xd3, 0x09,
|
||||
0xb0, 0x77, 0x38, 0x58, 0x03, 0xef, 0xcc, 0x05, 0x73, 0x02, 0x8a, 0x5f, 0x11, 0x48, 0x29, 0x27,
|
||||
0x76, 0x37, 0x63, 0x83, 0xcc, 0x0a, 0x65, 0x75, 0x41, 0xa1, 0xc0, 0x3b, 0xe0, 0x78, 0xbb, 0xb8,
|
||||
0x9e, 0xb6, 0xa1, 0xf4, 0x04, 0xdf, 0xe7, 0xb0, 0x12, 0xde, 0x77, 0x2a, 0x59, 0x87, 0xc6, 0x8b,
|
||||
0xca, 0x3b, 0xf3, 0xa2, 0xc2, 0x1d, 0x73, 0xf7, 0x0a, 0x96, 0xd3, 0x0f, 0x14, 0xbf, 0x47, 0x7c,
|
||||
0x09, 0x10, 0xf9, 0x88, 0x57, 0xd3, 0xcb, 0x2f, 0x04, 0xf2, 0xee, 0x35, 0x02, 0xe1, 0x5d, 0xe7,
|
||||
0xde, 0x55, 0xbc, 0x99, 0xd2, 0x18, 0xae, 0xf6, 0xed, 0x7f, 0x42, 0x50, 0x4a, 0xdc, 0xba, 0xea,
|
||||
0x19, 0x65, 0x8e, 0xcb, 0xe4, 0x83, 0x85, 0x64, 0x82, 0x68, 0x9f, 0x13, 0xd5, 0xf1, 0x76, 0x5a,
|
||||
0x2f, 0xf8, 0x33, 0x3d, 0x5d, 0x20, 0xfc, 0x8c, 0xa0, 0x94, 0xb8, 0x87, 0xd5, 0xb3, 0xaa, 0x1e,
|
||||
0x93, 0x65, 0x70, 0x65, 0xde, 0xa4, 0xe6, 0x6c, 0x61, 0xaf, 0x4b, 0x82, 0x89, 0x1f, 0x2f, 0xf9,
|
||||
0xf6, 0x57, 0x2f, 0x9f, 0xed, 0xa1, 0xce, 0xd1, 0xf3, 0x0b, 0x05, 0xbd, 0xb8, 0x50, 0xd0, 0x3f,
|
||||
0x17, 0x0a, 0xfa, 0xe1, 0x52, 0x59, 0x7a, 0x71, 0xa9, 0x2c, 0xfd, 0x7d, 0xa9, 0x2c, 0x7d, 0xba,
|
||||
0x6b, 0x5a, 0x6e, 0xeb, 0xdc, 0x38, 0x6d, 0xb9, 0x94, 0x27, 0x3c, 0xb0, 0xa8, 0x3a, 0xd0, 0xfb,
|
||||
0xd4, 0xb6, 0xfa, 0x6d, 0x43, 0x7d, 0x22, 0xf2, 0x9f, 0x2e, 0xf3, 0xff, 0x38, 0xef, 0xfd, 0x17,
|
||||
0x00, 0x00, 0xff, 0xff, 0x69, 0x83, 0x2d, 0xbe, 0x80, 0x0d, 0x00, 0x00,
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
@@ -1161,10 +1161,10 @@ type MsgClient interface {
|
||||
ReassociateRecords(ctx context.Context, in *MsgReassociateRecords, opts ...grpc.CallOption) (*MsgReassociateRecordsResponse, error)
|
||||
// SetName will store the name with given lrn and name
|
||||
SetName(ctx context.Context, in *MsgSetName, opts ...grpc.CallOption) (*MsgSetNameResponse, error)
|
||||
// Reserve name
|
||||
ReserveName(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error)
|
||||
// Delete Name method will remove authority name
|
||||
DeleteName(ctx context.Context, in *MsgDeleteNameAuthority, opts ...grpc.CallOption) (*MsgDeleteNameAuthorityResponse, error)
|
||||
DeleteName(ctx context.Context, in *MsgDeleteName, opts ...grpc.CallOption) (*MsgDeleteNameResponse, error)
|
||||
// Reserve authority name
|
||||
ReserveAuthority(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error)
|
||||
// SetAuthorityBond
|
||||
SetAuthorityBond(ctx context.Context, in *MsgSetAuthorityBond, opts ...grpc.CallOption) (*MsgSetAuthorityBondResponse, error)
|
||||
}
|
||||
@@ -1240,18 +1240,18 @@ func (c *msgClient) SetName(ctx context.Context, in *MsgSetName, opts ...grpc.Ca
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *msgClient) ReserveName(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) {
|
||||
out := new(MsgReserveAuthorityResponse)
|
||||
err := c.cc.Invoke(ctx, "/cerc.registry.v1.Msg/ReserveName", in, out, opts...)
|
||||
func (c *msgClient) DeleteName(ctx context.Context, in *MsgDeleteName, opts ...grpc.CallOption) (*MsgDeleteNameResponse, error) {
|
||||
out := new(MsgDeleteNameResponse)
|
||||
err := c.cc.Invoke(ctx, "/cerc.registry.v1.Msg/DeleteName", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *msgClient) DeleteName(ctx context.Context, in *MsgDeleteNameAuthority, opts ...grpc.CallOption) (*MsgDeleteNameAuthorityResponse, error) {
|
||||
out := new(MsgDeleteNameAuthorityResponse)
|
||||
err := c.cc.Invoke(ctx, "/cerc.registry.v1.Msg/DeleteName", in, out, opts...)
|
||||
func (c *msgClient) ReserveAuthority(ctx context.Context, in *MsgReserveAuthority, opts ...grpc.CallOption) (*MsgReserveAuthorityResponse, error) {
|
||||
out := new(MsgReserveAuthorityResponse)
|
||||
err := c.cc.Invoke(ctx, "/cerc.registry.v1.Msg/ReserveAuthority", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1283,10 +1283,10 @@ type MsgServer interface {
|
||||
ReassociateRecords(context.Context, *MsgReassociateRecords) (*MsgReassociateRecordsResponse, error)
|
||||
// SetName will store the name with given lrn and name
|
||||
SetName(context.Context, *MsgSetName) (*MsgSetNameResponse, error)
|
||||
// Reserve name
|
||||
ReserveName(context.Context, *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error)
|
||||
// Delete Name method will remove authority name
|
||||
DeleteName(context.Context, *MsgDeleteNameAuthority) (*MsgDeleteNameAuthorityResponse, error)
|
||||
DeleteName(context.Context, *MsgDeleteName) (*MsgDeleteNameResponse, error)
|
||||
// Reserve authority name
|
||||
ReserveAuthority(context.Context, *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error)
|
||||
// SetAuthorityBond
|
||||
SetAuthorityBond(context.Context, *MsgSetAuthorityBond) (*MsgSetAuthorityBondResponse, error)
|
||||
}
|
||||
@@ -1316,12 +1316,12 @@ func (*UnimplementedMsgServer) ReassociateRecords(ctx context.Context, req *MsgR
|
||||
func (*UnimplementedMsgServer) SetName(ctx context.Context, req *MsgSetName) (*MsgSetNameResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SetName not implemented")
|
||||
}
|
||||
func (*UnimplementedMsgServer) ReserveName(ctx context.Context, req *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ReserveName not implemented")
|
||||
}
|
||||
func (*UnimplementedMsgServer) DeleteName(ctx context.Context, req *MsgDeleteNameAuthority) (*MsgDeleteNameAuthorityResponse, error) {
|
||||
func (*UnimplementedMsgServer) DeleteName(ctx context.Context, req *MsgDeleteName) (*MsgDeleteNameResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method DeleteName not implemented")
|
||||
}
|
||||
func (*UnimplementedMsgServer) ReserveAuthority(ctx context.Context, req *MsgReserveAuthority) (*MsgReserveAuthorityResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method ReserveAuthority not implemented")
|
||||
}
|
||||
func (*UnimplementedMsgServer) SetAuthorityBond(ctx context.Context, req *MsgSetAuthorityBond) (*MsgSetAuthorityBondResponse, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method SetAuthorityBond not implemented")
|
||||
}
|
||||
@@ -1456,26 +1456,8 @@ func _Msg_SetName_Handler(srv interface{}, ctx context.Context, dec func(interfa
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Msg_ReserveName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(MsgReserveAuthority)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(MsgServer).ReserveName(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/cerc.registry.v1.Msg/ReserveName",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(MsgServer).ReserveName(ctx, req.(*MsgReserveAuthority))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Msg_DeleteName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(MsgDeleteNameAuthority)
|
||||
in := new(MsgDeleteName)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -1487,7 +1469,25 @@ func _Msg_DeleteName_Handler(srv interface{}, ctx context.Context, dec func(inte
|
||||
FullMethod: "/cerc.registry.v1.Msg/DeleteName",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(MsgServer).DeleteName(ctx, req.(*MsgDeleteNameAuthority))
|
||||
return srv.(MsgServer).DeleteName(ctx, req.(*MsgDeleteName))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _Msg_ReserveAuthority_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(MsgReserveAuthority)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(MsgServer).ReserveAuthority(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/cerc.registry.v1.Msg/ReserveAuthority",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(MsgServer).ReserveAuthority(ctx, req.(*MsgReserveAuthority))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
@@ -1542,14 +1542,14 @@ var _Msg_serviceDesc = grpc.ServiceDesc{
|
||||
MethodName: "SetName",
|
||||
Handler: _Msg_SetName_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ReserveName",
|
||||
Handler: _Msg_ReserveName_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "DeleteName",
|
||||
Handler: _Msg_DeleteName_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "ReserveAuthority",
|
||||
Handler: _Msg_ReserveAuthority_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "SetAuthorityBond",
|
||||
Handler: _Msg_SetAuthorityBond_Handler,
|
||||
@@ -1886,7 +1886,7 @@ func (m *MsgSetAuthorityBondResponse) MarshalToSizedBuffer(dAtA []byte) (int, er
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *MsgDeleteNameAuthority) Marshal() (dAtA []byte, err error) {
|
||||
func (m *MsgDeleteName) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||
@@ -1896,12 +1896,12 @@ func (m *MsgDeleteNameAuthority) Marshal() (dAtA []byte, err error) {
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *MsgDeleteNameAuthority) MarshalTo(dAtA []byte) (int, error) {
|
||||
func (m *MsgDeleteName) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *MsgDeleteNameAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
func (m *MsgDeleteName) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
i := len(dAtA)
|
||||
_ = i
|
||||
var l int
|
||||
@@ -1923,7 +1923,7 @@ func (m *MsgDeleteNameAuthority) MarshalToSizedBuffer(dAtA []byte) (int, error)
|
||||
return len(dAtA) - i, nil
|
||||
}
|
||||
|
||||
func (m *MsgDeleteNameAuthorityResponse) Marshal() (dAtA []byte, err error) {
|
||||
func (m *MsgDeleteNameResponse) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
||||
@@ -1933,12 +1933,12 @@ func (m *MsgDeleteNameAuthorityResponse) Marshal() (dAtA []byte, err error) {
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *MsgDeleteNameAuthorityResponse) MarshalTo(dAtA []byte) (int, error) {
|
||||
func (m *MsgDeleteNameResponse) MarshalTo(dAtA []byte) (int, error) {
|
||||
size := m.Size()
|
||||
return m.MarshalToSizedBuffer(dAtA[:size])
|
||||
}
|
||||
|
||||
func (m *MsgDeleteNameAuthorityResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
func (m *MsgDeleteNameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
||||
i := len(dAtA)
|
||||
_ = i
|
||||
var l int
|
||||
@@ -2412,7 +2412,7 @@ func (m *MsgSetAuthorityBondResponse) Size() (n int) {
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *MsgDeleteNameAuthority) Size() (n int) {
|
||||
func (m *MsgDeleteName) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
@@ -2429,7 +2429,7 @@ func (m *MsgDeleteNameAuthority) Size() (n int) {
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *MsgDeleteNameAuthorityResponse) Size() (n int) {
|
||||
func (m *MsgDeleteNameResponse) Size() (n int) {
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
@@ -3519,7 +3519,7 @@ func (m *MsgSetAuthorityBondResponse) Unmarshal(dAtA []byte) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *MsgDeleteNameAuthority) Unmarshal(dAtA []byte) error {
|
||||
func (m *MsgDeleteName) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
for iNdEx < l {
|
||||
@@ -3542,10 +3542,10 @@ func (m *MsgDeleteNameAuthority) Unmarshal(dAtA []byte) error {
|
||||
fieldNum := int32(wire >> 3)
|
||||
wireType := int(wire & 0x7)
|
||||
if wireType == 4 {
|
||||
return fmt.Errorf("proto: MsgDeleteNameAuthority: wiretype end group for non-group")
|
||||
return fmt.Errorf("proto: MsgDeleteName: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: MsgDeleteNameAuthority: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
return fmt.Errorf("proto: MsgDeleteName: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
@@ -3633,7 +3633,7 @@ func (m *MsgDeleteNameAuthority) Unmarshal(dAtA []byte) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *MsgDeleteNameAuthorityResponse) Unmarshal(dAtA []byte) error {
|
||||
func (m *MsgDeleteNameResponse) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
for iNdEx < l {
|
||||
@@ -3656,10 +3656,10 @@ func (m *MsgDeleteNameAuthorityResponse) Unmarshal(dAtA []byte) error {
|
||||
fieldNum := int32(wire >> 3)
|
||||
wireType := int(wire & 0x7)
|
||||
if wireType == 4 {
|
||||
return fmt.Errorf("proto: MsgDeleteNameAuthorityResponse: wiretype end group for non-group")
|
||||
return fmt.Errorf("proto: MsgDeleteNameResponse: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: MsgDeleteNameAuthorityResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
return fmt.Errorf("proto: MsgDeleteNameResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
default:
|
||||
|
||||
+85
-85
@@ -285,48 +285,12 @@ func local_request_Msg_SetName_0(ctx context.Context, marshaler runtime.Marshale
|
||||
|
||||
}
|
||||
|
||||
var (
|
||||
filter_Msg_ReserveName_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}
|
||||
)
|
||||
|
||||
func request_Msg_ReserveName_0(ctx context.Context, marshaler runtime.Marshaler, client MsgClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq MsgReserveAuthority
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
if err := req.ParseForm(); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Msg_ReserveName_0); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
|
||||
msg, err := client.ReserveName(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||
return msg, metadata, err
|
||||
|
||||
}
|
||||
|
||||
func local_request_Msg_ReserveName_0(ctx context.Context, marshaler runtime.Marshaler, server MsgServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq MsgReserveAuthority
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
if err := req.ParseForm(); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Msg_ReserveName_0); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
|
||||
msg, err := server.ReserveName(ctx, &protoReq)
|
||||
return msg, metadata, err
|
||||
|
||||
}
|
||||
|
||||
var (
|
||||
filter_Msg_DeleteName_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}
|
||||
)
|
||||
|
||||
func request_Msg_DeleteName_0(ctx context.Context, marshaler runtime.Marshaler, client MsgClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq MsgDeleteNameAuthority
|
||||
var protoReq MsgDeleteName
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
if err := req.ParseForm(); err != nil {
|
||||
@@ -342,7 +306,7 @@ func request_Msg_DeleteName_0(ctx context.Context, marshaler runtime.Marshaler,
|
||||
}
|
||||
|
||||
func local_request_Msg_DeleteName_0(ctx context.Context, marshaler runtime.Marshaler, server MsgServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq MsgDeleteNameAuthority
|
||||
var protoReq MsgDeleteName
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
if err := req.ParseForm(); err != nil {
|
||||
@@ -357,6 +321,42 @@ func local_request_Msg_DeleteName_0(ctx context.Context, marshaler runtime.Marsh
|
||||
|
||||
}
|
||||
|
||||
var (
|
||||
filter_Msg_ReserveAuthority_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}
|
||||
)
|
||||
|
||||
func request_Msg_ReserveAuthority_0(ctx context.Context, marshaler runtime.Marshaler, client MsgClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq MsgReserveAuthority
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
if err := req.ParseForm(); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Msg_ReserveAuthority_0); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
|
||||
msg, err := client.ReserveAuthority(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
|
||||
return msg, metadata, err
|
||||
|
||||
}
|
||||
|
||||
func local_request_Msg_ReserveAuthority_0(ctx context.Context, marshaler runtime.Marshaler, server MsgServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
|
||||
var protoReq MsgReserveAuthority
|
||||
var metadata runtime.ServerMetadata
|
||||
|
||||
if err := req.ParseForm(); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Msg_ReserveAuthority_0); err != nil {
|
||||
return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
|
||||
}
|
||||
|
||||
msg, err := server.ReserveAuthority(ctx, &protoReq)
|
||||
return msg, metadata, err
|
||||
|
||||
}
|
||||
|
||||
var (
|
||||
filter_Msg_SetAuthorityBond_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}
|
||||
)
|
||||
@@ -560,29 +560,6 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server
|
||||
|
||||
})
|
||||
|
||||
mux.Handle("POST", pattern_Msg_ReserveName_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
var stream runtime.ServerTransportStream
|
||||
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
return
|
||||
}
|
||||
resp, md, err := local_request_Msg_ReserveName_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
return
|
||||
}
|
||||
|
||||
forward_Msg_ReserveName_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||
|
||||
})
|
||||
|
||||
mux.Handle("POST", pattern_Msg_DeleteName_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
@@ -606,6 +583,29 @@ func RegisterMsgHandlerServer(ctx context.Context, mux *runtime.ServeMux, server
|
||||
|
||||
})
|
||||
|
||||
mux.Handle("POST", pattern_Msg_ReserveAuthority_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
var stream runtime.ServerTransportStream
|
||||
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
return
|
||||
}
|
||||
resp, md, err := local_request_Msg_ReserveAuthority_0(rctx, inboundMarshaler, server, req, pathParams)
|
||||
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
return
|
||||
}
|
||||
|
||||
forward_Msg_ReserveAuthority_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||
|
||||
})
|
||||
|
||||
mux.Handle("POST", pattern_Msg_SetAuthorityBond_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
@@ -810,26 +810,6 @@ func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client
|
||||
|
||||
})
|
||||
|
||||
mux.Handle("POST", pattern_Msg_ReserveName_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
return
|
||||
}
|
||||
resp, md, err := request_Msg_ReserveName_0(rctx, inboundMarshaler, client, req, pathParams)
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
return
|
||||
}
|
||||
|
||||
forward_Msg_ReserveName_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||
|
||||
})
|
||||
|
||||
mux.Handle("POST", pattern_Msg_DeleteName_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
@@ -850,6 +830,26 @@ func RegisterMsgHandlerClient(ctx context.Context, mux *runtime.ServeMux, client
|
||||
|
||||
})
|
||||
|
||||
mux.Handle("POST", pattern_Msg_ReserveAuthority_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
|
||||
rctx, err := runtime.AnnotateContext(ctx, mux, req)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
return
|
||||
}
|
||||
resp, md, err := request_Msg_ReserveAuthority_0(rctx, inboundMarshaler, client, req, pathParams)
|
||||
ctx = runtime.NewServerMetadataContext(ctx, md)
|
||||
if err != nil {
|
||||
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
|
||||
return
|
||||
}
|
||||
|
||||
forward_Msg_ReserveAuthority_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
|
||||
|
||||
})
|
||||
|
||||
mux.Handle("POST", pattern_Msg_SetAuthorityBond_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
|
||||
ctx, cancel := context.WithCancel(req.Context())
|
||||
defer cancel()
|
||||
@@ -888,10 +888,10 @@ var (
|
||||
|
||||
pattern_Msg_SetName_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "registry", "v1", "set_name"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||
|
||||
pattern_Msg_ReserveName_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "registry", "v1", "reserve_name"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||
|
||||
pattern_Msg_DeleteName_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "registry", "v1", "delete_name"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||
|
||||
pattern_Msg_ReserveAuthority_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "registry", "v1", "reserve_authority"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||
|
||||
pattern_Msg_SetAuthorityBond_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"cerc", "registry", "v1", "set_authority_bond"}, "", runtime.AssumeColonVerbOpt(false)))
|
||||
)
|
||||
|
||||
@@ -910,9 +910,9 @@ var (
|
||||
|
||||
forward_Msg_SetName_0 = runtime.ForwardResponseMessage
|
||||
|
||||
forward_Msg_ReserveName_0 = runtime.ForwardResponseMessage
|
||||
|
||||
forward_Msg_DeleteName_0 = runtime.ForwardResponseMessage
|
||||
|
||||
forward_Msg_ReserveAuthority_0 = runtime.ForwardResponseMessage
|
||||
|
||||
forward_Msg_SetAuthorityBond_0 = runtime.ForwardResponseMessage
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user