From a8653691434827db1bf4eeeb888fb9e174a4b603 Mon Sep 17 00:00:00 2001 From: foxytanuki Date: Tue, 26 Dec 2023 16:48:48 +0900 Subject: [PATCH] Update QueryDomainRegistrationFeeRequest message --- proto/mycel/registry/query.proto | 3 +- x/registry/types/query.pb.go | 198 +++++++++++++++++++------------ x/registry/types/query.pb.gw.go | 26 +++- 3 files changed, 151 insertions(+), 76 deletions(-) diff --git a/proto/mycel/registry/query.proto b/proto/mycel/registry/query.proto index b19d5d6c..6b5f75d3 100644 --- a/proto/mycel/registry/query.proto +++ b/proto/mycel/registry/query.proto @@ -61,7 +61,7 @@ service Query { rpc DomainRegistrationFee(QueryDomainRegistrationFeeRequest) returns (QueryDomainRegistrationFeeResponse) { option (google.api.http).get = - "/mycel-domain/mycel/registry/domain_registration_fee/{name}/{parent}"; + "/mycel-domain/mycel/registry/domain_registration_fee/{name}/{parent}/{registerer}"; } // Queries a list of Role items. @@ -141,6 +141,7 @@ message QueryDomainRegistrationFeeRequest { string name = 1; string parent = 2; uint64 registrationPeriodInYear = 3; + string registerer = 4; } message QueryDomainRegistrationFeeResponse { diff --git a/x/registry/types/query.pb.go b/x/registry/types/query.pb.go index 4191c27d..c70dd825 100644 --- a/x/registry/types/query.pb.go +++ b/x/registry/types/query.pb.go @@ -743,6 +743,7 @@ type QueryDomainRegistrationFeeRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Parent string `protobuf:"bytes,2,opt,name=parent,proto3" json:"parent,omitempty"` RegistrationPeriodInYear uint64 `protobuf:"varint,3,opt,name=registrationPeriodInYear,proto3" json:"registrationPeriodInYear,omitempty"` + Registerer string `protobuf:"bytes,4,opt,name=registerer,proto3" json:"registerer,omitempty"` } func (m *QueryDomainRegistrationFeeRequest) Reset() { *m = QueryDomainRegistrationFeeRequest{} } @@ -799,6 +800,13 @@ func (m *QueryDomainRegistrationFeeRequest) GetRegistrationPeriodInYear() uint64 return 0 } +func (m *QueryDomainRegistrationFeeRequest) GetRegisterer() string { + if m != nil { + return m.Registerer + } + return "" +} + type QueryDomainRegistrationFeeResponse struct { IsRegistrable bool `protobuf:"varint,1,opt,name=isRegistrable,proto3" json:"isRegistrable,omitempty"` Fee github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=fee,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"fee"` @@ -996,79 +1004,80 @@ func init() { func init() { proto.RegisterFile("mycel/registry/query.proto", fileDescriptor_0f2c8f2d33ba1956) } var fileDescriptor_0f2c8f2d33ba1956 = []byte{ - // 1145 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x57, 0x4f, 0x6f, 0xdc, 0x44, - 0x14, 0x8f, 0x93, 0x4d, 0x68, 0x5f, 0x21, 0x25, 0x43, 0x88, 0x36, 0x06, 0xbc, 0xe9, 0x94, 0xd2, - 0x00, 0x8a, 0x27, 0x7f, 0x9a, 0x82, 0x4a, 0x91, 0x48, 0x88, 0x52, 0x10, 0xa1, 0x0d, 0x6e, 0x2f, - 0x20, 0x55, 0x91, 0x77, 0x77, 0xe2, 0x18, 0xbc, 0x1e, 0xc7, 0xe3, 0x2d, 0x89, 0x56, 0x7b, 0xe9, - 0x15, 0x21, 0x55, 0x42, 0x7c, 0x07, 0x40, 0x70, 0xe0, 0x80, 0x38, 0xf0, 0x01, 0xa8, 0x04, 0x87, - 0x4a, 0x5c, 0x38, 0x51, 0x94, 0xf0, 0x2d, 0xb8, 0x20, 0x8f, 0xc7, 0xdd, 0xb5, 0xd7, 0x76, 0x76, - 0xc3, 0x9e, 0xd6, 0x9e, 0xf7, 0x67, 0x7e, 0xef, 0x37, 0x3f, 0xbf, 0x37, 0x0b, 0x6a, 0xe3, 0xb0, - 0x46, 0x1d, 0xe2, 0x53, 0xcb, 0xe6, 0x81, 0x7f, 0x48, 0xf6, 0x9b, 0xd4, 0x3f, 0xd4, 0x3d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b, 0x44, 0x57, 0xd1, 0x95, 0x08, 0xd1, - 0x42, 0x44, 0x26, 0x39, 0xe1, 0x82, 0x48, 0x5a, 0xe1, 0x07, 0xd4, 0x46, 0xdf, 0x2a, 0x30, 0x95, - 0x4c, 0xbc, 0xe6, 0x38, 0x39, 0x90, 0xf3, 0x6e, 0x4f, 0x39, 0x90, 0x73, 0xaf, 0x40, 0x78, 0x55, - 0x40, 0x26, 0x68, 0x61, 0x20, 0xc8, 0xe8, 0x27, 0x05, 0xa6, 0x7a, 0x66, 0x0f, 0x5a, 0xcc, 0xe3, - 0x2b, 0x6f, 0xb2, 0xaa, 0x4b, 0x03, 0x44, 0x48, 0xc4, 0x6f, 0x09, 0xc4, 0xab, 0x68, 0x85, 0x9c, - 0x7c, 0x45, 0x97, 0xd4, 0x92, 0x56, 0xd4, 0x8c, 0xda, 0xe8, 0x1b, 0x05, 0xa6, 0x7b, 0x52, 0x87, - 0x34, 0x2f, 0xe6, 0xf1, 0x36, 0x20, 0xf4, 0xa2, 0xc9, 0x8e, 0x5f, 0x17, 0xd0, 0x2f, 0xa1, 0x8b, - 0x7d, 0x40, 0x47, 0x3f, 0x2a, 0x70, 0x3e, 0xd5, 0xfe, 0x51, 0xae, 0x20, 0xb3, 0x87, 0x9a, 0x4a, - 0xfa, 0xf6, 0x97, 0x08, 0xdf, 0x16, 0x08, 0xdf, 0x40, 0xab, 0x85, 0x72, 0x48, 0xff, 0xa1, 0x22, - 0x2d, 0xf1, 0xd8, 0x46, 0xdf, 0x2b, 0x80, 0x52, 0xa9, 0x43, 0x72, 0x73, 0x45, 0x39, 0x10, 0xec, - 0xfc, 0x81, 0xda, 0xa7, 0x8a, 0xd3, 0xb0, 0xd1, 0xef, 0x0a, 0x3c, 0x9f, 0x39, 0x5a, 0x50, 0xf6, - 0xe1, 0x16, 0x0d, 0x45, 0x75, 0x79, 0x90, 0x10, 0x89, 0x7b, 0x4b, 0xe0, 0xde, 0x44, 0x1b, 0xfd, - 0xe0, 0xee, 0x1e, 0x1f, 0x3b, 0xbb, 0x94, 0xf6, 0x88, 0xfb, 0x4b, 0x05, 0x4a, 0x61, 0x4b, 0x46, - 0x73, 0x99, 0x50, 0xba, 0x7a, 0xbf, 0x7a, 0xa1, 0xc0, 0x43, 0x62, 0x7b, 0x47, 0x60, 0xbb, 0x86, - 0xde, 0x2c, 0xc4, 0x16, 0xb6, 0x79, 0xd2, 0xea, 0x4c, 0x8d, 0x36, 0x69, 0xc9, 0x29, 0xd1, 0x5e, - 0x7f, 0xef, 0xe1, 0x91, 0xa6, 0x3c, 0x3a, 0xd2, 0x94, 0xbf, 0x8f, 0x34, 0xe5, 0xc1, 0xb1, 0x36, - 0xf2, 0xe8, 0x58, 0x1b, 0xf9, 0xf3, 0x58, 0x1b, 0xf9, 0x44, 0xef, 0x9a, 0xad, 0x19, 0xd9, 0x0f, - 0xba, 0x3a, 0x4f, 0x38, 0x67, 0xab, 0x13, 0xe2, 0x7f, 0xc5, 0xca, 0x7f, 0x01, 0x00, 0x00, 0xff, - 0xff, 0xfd, 0x7b, 0x5f, 0x01, 0xa7, 0x10, 0x00, 0x00, + // 1161 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x97, 0xcb, 0x6f, 0xdc, 0x44, + 0x18, 0xc0, 0xe3, 0x64, 0x13, 0xda, 0x8f, 0x92, 0x92, 0x21, 0x44, 0x9b, 0x05, 0xbc, 0xe9, 0x94, + 0xd2, 0x00, 0x8a, 0x27, 0x8f, 0xa6, 0xa0, 0x52, 0x24, 0x12, 0xaa, 0x16, 0x44, 0x68, 0x53, 0xa7, + 0x97, 0x22, 0x55, 0x91, 0x37, 0x3b, 0x71, 0x0c, 0x5e, 0x8f, 0xe3, 0x71, 0x4a, 0xa2, 0xd5, 0x5e, + 0x7a, 0xe2, 0x82, 0x54, 0x09, 0xf1, 0x3f, 0xf0, 0x3c, 0x70, 0x40, 0x1c, 0x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0x35, 0xd2, 0xb3, 0xbe, 0x22, 0x7c, + 0x57, 0x10, 0xbe, 0x85, 0x16, 0x4b, 0xdb, 0x21, 0xfb, 0x87, 0x8b, 0xb4, 0xc5, 0x63, 0x07, 0xfd, + 0xa0, 0x01, 0xca, 0xb8, 0x8e, 0x92, 0x5b, 0xd8, 0x94, 0x7d, 0x61, 0x17, 0x0f, 0xdc, 0x1e, 0xbb, + 0x38, 0x8b, 0x8d, 0xfe, 0xd2, 0xe0, 0xc5, 0xdc, 0xd1, 0x82, 0xf2, 0x8b, 0x5b, 0x36, 0x34, 0x6b, + 0xf3, 0xfd, 0x98, 0x28, 0xee, 0xbb, 0x82, 0x7b, 0x0d, 0xdd, 0xee, 0x85, 0x3b, 0x39, 0x3e, 0xd6, + 0x37, 0x29, 0xcd, 0x36, 0x37, 0x69, 0x77, 0x47, 0x67, 0x07, 0x7d, 0xa9, 0x41, 0x25, 0x3a, 0x9f, + 0xd1, 0x54, 0x2e, 0x57, 0x62, 0x10, 0xd4, 0xce, 0x95, 0x68, 0x28, 0xd0, 0xf7, 0x04, 0xe8, 0x15, + 0xf4, 0x76, 0x29, 0x68, 0x74, 0xe6, 0x93, 0x76, 0x77, 0x84, 0x74, 0x48, 0x5b, 0x8d, 0x8c, 0xce, + 0xf2, 0x07, 0x8f, 0xf6, 0x75, 0xed, 0xf1, 0xbe, 0xae, 0xfd, 0xb3, 0xaf, 0x6b, 0x0f, 0x0f, 0xf4, + 0x81, 0xc7, 0x07, 0xfa, 0xc0, 0x9f, 0x07, 0xfa, 0xc0, 0x27, 0x46, 0x62, 0xd0, 0xe6, 0x78, 0xdf, + 0x4d, 0x1c, 0x43, 0xd1, 0xd0, 0x6d, 0x8c, 0x88, 0x3f, 0x21, 0x0b, 0xff, 0x05, 0x00, 0x00, 0xff, + 0xff, 0xf1, 0x1a, 0xed, 0x4b, 0xd4, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2020,6 +2029,13 @@ func (m *QueryDomainRegistrationFeeRequest) MarshalToSizedBuffer(dAtA []byte) (i _ = i var l int _ = l + if len(m.Registerer) > 0 { + i -= len(m.Registerer) + copy(dAtA[i:], m.Registerer) + i = encodeVarintQuery(dAtA, i, uint64(len(m.Registerer))) + i-- + dAtA[i] = 0x22 + } if m.RegistrationPeriodInYear != 0 { i = encodeVarintQuery(dAtA, i, uint64(m.RegistrationPeriodInYear)) i-- @@ -2412,6 +2428,10 @@ func (m *QueryDomainRegistrationFeeRequest) Size() (n int) { if m.RegistrationPeriodInYear != 0 { n += 1 + sovQuery(uint64(m.RegistrationPeriodInYear)) } + l = len(m.Registerer) + if l > 0 { + n += 1 + l + sovQuery(uint64(l)) + } return n } @@ -4016,6 +4036,38 @@ func (m *QueryDomainRegistrationFeeRequest) Unmarshal(dAtA []byte) error { break } } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Registerer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthQuery + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthQuery + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Registerer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) diff --git a/x/registry/types/query.pb.gw.go b/x/registry/types/query.pb.gw.go index 40d94c7d..ce664946 100644 --- a/x/registry/types/query.pb.gw.go +++ b/x/registry/types/query.pb.gw.go @@ -344,7 +344,7 @@ func local_request_Query_DomainOwnershipAll_0(ctx context.Context, marshaler run } var ( - filter_Query_DomainRegistrationFee_0 = &utilities.DoubleArray{Encoding: map[string]int{"name": 0, "parent": 1}, Base: []int{1, 1, 2, 0, 0}, Check: []int{0, 1, 1, 2, 3}} + filter_Query_DomainRegistrationFee_0 = &utilities.DoubleArray{Encoding: map[string]int{"name": 0, "parent": 1, "registerer": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} ) func request_Query_DomainRegistrationFee_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { @@ -380,6 +380,17 @@ func request_Query_DomainRegistrationFee_0(ctx context.Context, marshaler runtim return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err) } + val, ok = pathParams["registerer"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "registerer") + } + + protoReq.Registerer, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "registerer", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -425,6 +436,17 @@ func local_request_Query_DomainRegistrationFee_0(ctx context.Context, marshaler return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "parent", err) } + val, ok = pathParams["registerer"] + if !ok { + return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "registerer") + } + + protoReq.Registerer, err = runtime.String(val) + + if err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "registerer", err) + } + if err := req.ParseForm(); err != nil { return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) } @@ -965,7 +987,7 @@ var ( pattern_Query_DomainOwnershipAll_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"mycel-domain", "mycel", "registry", "domain_ownership"}, "", runtime.AssumeColonVerbOpt(true))) - pattern_Query_DomainRegistrationFee_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"mycel-domain", "mycel", "registry", "domain_registration_fee", "name", "parent"}, "", runtime.AssumeColonVerbOpt(true))) + pattern_Query_DomainRegistrationFee_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5, 1, 0, 4, 1, 5, 6}, []string{"mycel-domain", "mycel", "registry", "domain_registration_fee", "name", "parent", "registerer"}, "", runtime.AssumeColonVerbOpt(true))) pattern_Query_Role_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3, 1, 0, 4, 1, 5, 4, 1, 0, 4, 1, 5, 5}, []string{"mycel-domain", "mycel", "registry", "role", "domainName", "address"}, "", runtime.AssumeColonVerbOpt(true))) )