|
|
|
|
@@ -902,6 +902,91 @@ func (m *QueryPinnedCodesResponse) XXX_DiscardUnknown() {
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_QueryPinnedCodesResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
// QueryParamsRequest is the request type for the Query/Params RPC method.
|
|
|
|
|
type QueryParamsRequest struct{}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsRequest) Reset() { *m = QueryParamsRequest{} }
|
|
|
|
|
func (m *QueryParamsRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryParamsRequest) ProtoMessage() {}
|
|
|
|
|
func (*QueryParamsRequest) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9677c207036b9f2b, []int{19}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_QueryParamsRequest.Marshal(b, m, deterministic)
|
|
|
|
|
} else {
|
|
|
|
|
b = b[:cap(b)]
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return b[:n], nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsRequest) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_QueryParamsRequest.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsRequest) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsRequest) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_QueryParamsRequest.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_QueryParamsRequest proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
// QueryParamsResponse is the response type for the Query/Params RPC method.
|
|
|
|
|
type QueryParamsResponse struct {
|
|
|
|
|
// params defines the parameters of the module.
|
|
|
|
|
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsResponse) Reset() { *m = QueryParamsResponse{} }
|
|
|
|
|
func (m *QueryParamsResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
|
func (*QueryParamsResponse) ProtoMessage() {}
|
|
|
|
|
func (*QueryParamsResponse) Descriptor() ([]byte, []int) {
|
|
|
|
|
return fileDescriptor_9677c207036b9f2b, []int{20}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error {
|
|
|
|
|
return m.Unmarshal(b)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
|
if deterministic {
|
|
|
|
|
return xxx_messageInfo_QueryParamsResponse.Marshal(b, m, deterministic)
|
|
|
|
|
} else {
|
|
|
|
|
b = b[:cap(b)]
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(b)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return b[:n], nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsResponse) XXX_Merge(src proto.Message) {
|
|
|
|
|
xxx_messageInfo_QueryParamsResponse.Merge(m, src)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsResponse) XXX_Size() int {
|
|
|
|
|
return m.Size()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsResponse) XXX_DiscardUnknown() {
|
|
|
|
|
xxx_messageInfo_QueryParamsResponse.DiscardUnknown(m)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var xxx_messageInfo_QueryParamsResponse proto.InternalMessageInfo
|
|
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
|
proto.RegisterType((*QueryContractInfoRequest)(nil), "cosmwasm.wasm.v1.QueryContractInfoRequest")
|
|
|
|
|
proto.RegisterType((*QueryContractInfoResponse)(nil), "cosmwasm.wasm.v1.QueryContractInfoResponse")
|
|
|
|
|
@@ -922,87 +1007,92 @@ func init() {
|
|
|
|
|
proto.RegisterType((*QueryCodesResponse)(nil), "cosmwasm.wasm.v1.QueryCodesResponse")
|
|
|
|
|
proto.RegisterType((*QueryPinnedCodesRequest)(nil), "cosmwasm.wasm.v1.QueryPinnedCodesRequest")
|
|
|
|
|
proto.RegisterType((*QueryPinnedCodesResponse)(nil), "cosmwasm.wasm.v1.QueryPinnedCodesResponse")
|
|
|
|
|
proto.RegisterType((*QueryParamsRequest)(nil), "cosmwasm.wasm.v1.QueryParamsRequest")
|
|
|
|
|
proto.RegisterType((*QueryParamsResponse)(nil), "cosmwasm.wasm.v1.QueryParamsResponse")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func init() { proto.RegisterFile("cosmwasm/wasm/v1/query.proto", fileDescriptor_9677c207036b9f2b) }
|
|
|
|
|
|
|
|
|
|
var fileDescriptor_9677c207036b9f2b = []byte{
|
|
|
|
|
// 1191 bytes of a gzipped FileDescriptorProto
|
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x97, 0xcf, 0x4f, 0x24, 0x45,
|
|
|
|
|
0x14, 0xc7, 0xa7, 0xd8, 0x61, 0x7e, 0x14, 0x98, 0x1d, 0x2b, 0x0a, 0xe3, 0xc8, 0x76, 0x93, 0x76,
|
|
|
|
|
0x83, 0x2c, 0x8b, 0x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5, 0xa5, 0x17, 0x39, 0x0a, 0x0a,
|
|
|
|
|
0xaf, 0xf7, 0xb0, 0xea, 0x7b, 0x79, 0xff, 0x60, 0x58, 0x3e, 0xfa, 0x47, 0x49, 0xfc, 0xda, 0x54,
|
|
|
|
|
0x12, 0x47, 0x4d, 0x05, 0x1c, 0x37, 0x15, 0xf0, 0x77, 0x53, 0x01, 0xdf, 0x9e, 0x28, 0x89, 0xe3,
|
|
|
|
|
0x13, 0x25, 0xf1, 0xd7, 0x89, 0x92, 0xf8, 0x64, 0x2a, 0x34, 0xc0, 0x2d, 0x51, 0x56, 0x7d, 0x10,
|
|
|
|
|
0xc4, 0xb2, 0x8c, 0x47, 0x7e, 0x4c, 0xf1, 0x8f, 0x42, 0x29, 0x25, 0xfe, 0x08, 0xb8, 0xf9, 0x7f,
|
|
|
|
|
0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0xa4, 0x0e, 0x41, 0xb8, 0x10, 0x00, 0x00,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (this *QueryContractInfoResponse) Equal(that interface{}) bool {
|
|
|
|
|
@@ -1125,6 +1215,8 @@ type QueryClient interface {
|
|
|
|
|
Codes(ctx context.Context, in *QueryCodesRequest, opts ...grpc.CallOption) (*QueryCodesResponse, error)
|
|
|
|
|
// PinnedCodes gets the pinned code ids
|
|
|
|
|
PinnedCodes(ctx context.Context, in *QueryPinnedCodesRequest, opts ...grpc.CallOption) (*QueryPinnedCodesResponse, error)
|
|
|
|
|
// Params gets the module params
|
|
|
|
|
Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type queryClient struct {
|
|
|
|
|
@@ -1216,6 +1308,15 @@ func (c *queryClient) PinnedCodes(ctx context.Context, in *QueryPinnedCodesReque
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (c *queryClient) Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) {
|
|
|
|
|
out := new(QueryParamsResponse)
|
|
|
|
|
err := c.cc.Invoke(ctx, "/cosmwasm.wasm.v1.Query/Params", in, out, opts...)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return out, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// QueryServer is the server API for Query service.
|
|
|
|
|
type QueryServer interface {
|
|
|
|
|
// ContractInfo gets the contract meta data
|
|
|
|
|
@@ -1236,6 +1337,8 @@ type QueryServer interface {
|
|
|
|
|
Codes(context.Context, *QueryCodesRequest) (*QueryCodesResponse, error)
|
|
|
|
|
// PinnedCodes gets the pinned code ids
|
|
|
|
|
PinnedCodes(context.Context, *QueryPinnedCodesRequest) (*QueryPinnedCodesResponse, error)
|
|
|
|
|
// Params gets the module params
|
|
|
|
|
Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// UnimplementedQueryServer can be embedded to have forward compatible implementations.
|
|
|
|
|
@@ -1277,6 +1380,10 @@ func (*UnimplementedQueryServer) PinnedCodes(ctx context.Context, req *QueryPinn
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method PinnedCodes not implemented")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error) {
|
|
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method Params not implemented")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func RegisterQueryServer(s grpc1.Server, srv QueryServer) {
|
|
|
|
|
s.RegisterService(&_Query_serviceDesc, srv)
|
|
|
|
|
}
|
|
|
|
|
@@ -1443,6 +1550,24 @@ func _Query_PinnedCodes_Handler(srv interface{}, ctx context.Context, dec func(i
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func _Query_Params_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
|
|
in := new(QueryParamsRequest)
|
|
|
|
|
if err := dec(in); err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
if interceptor == nil {
|
|
|
|
|
return srv.(QueryServer).Params(ctx, in)
|
|
|
|
|
}
|
|
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
|
|
Server: srv,
|
|
|
|
|
FullMethod: "/cosmwasm.wasm.v1.Query/Params",
|
|
|
|
|
}
|
|
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
|
|
return srv.(QueryServer).Params(ctx, req.(*QueryParamsRequest))
|
|
|
|
|
}
|
|
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var _Query_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
ServiceName: "cosmwasm.wasm.v1.Query",
|
|
|
|
|
HandlerType: (*QueryServer)(nil),
|
|
|
|
|
@@ -1483,6 +1608,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{
|
|
|
|
|
MethodName: "PinnedCodes",
|
|
|
|
|
Handler: _Query_PinnedCodes_Handler,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
MethodName: "Params",
|
|
|
|
|
Handler: _Query_Params_Handler,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
|
|
Metadata: "cosmwasm/wasm/v1/query.proto",
|
|
|
|
|
@@ -2252,6 +2381,62 @@ func (m *QueryPinnedCodesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return dAtA[:n], nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
dAtA = make([]byte, size)
|
|
|
|
|
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return nil, err
|
|
|
|
|
}
|
|
|
|
|
return dAtA[:n], nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
|
|
|
size := m.Size()
|
|
|
|
|
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
|
|
i := len(dAtA)
|
|
|
|
|
_ = i
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
{
|
|
|
|
|
size, err := m.Params.MarshalToSizedBuffer(dAtA[:i])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return 0, err
|
|
|
|
|
}
|
|
|
|
|
i -= size
|
|
|
|
|
i = encodeVarintQuery(dAtA, i, uint64(size))
|
|
|
|
|
}
|
|
|
|
|
i--
|
|
|
|
|
dAtA[i] = 0xa
|
|
|
|
|
return len(dAtA) - i, nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func encodeVarintQuery(dAtA []byte, offset int, v uint64) int {
|
|
|
|
|
offset -= sovQuery(v)
|
|
|
|
|
base := offset
|
|
|
|
|
@@ -2575,6 +2760,26 @@ func (m *QueryPinnedCodesResponse) Size() (n int) {
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsRequest) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsResponse) Size() (n int) {
|
|
|
|
|
if m == nil {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
var l int
|
|
|
|
|
_ = l
|
|
|
|
|
l = m.Params.Size()
|
|
|
|
|
n += 1 + l + sovQuery(uint64(l))
|
|
|
|
|
return n
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func sovQuery(x uint64) (n int) {
|
|
|
|
|
return (math_bits.Len64(x|1) + 6) / 7
|
|
|
|
|
}
|
|
|
|
|
@@ -4709,6 +4914,141 @@ func (m *QueryPinnedCodesResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|
for iNdEx < l {
|
|
|
|
|
preIndex := iNdEx
|
|
|
|
|
var wire uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
wire |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
|
if wireType == 4 {
|
|
|
|
|
return fmt.Errorf("proto: QueryParamsRequest: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: QueryParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
default:
|
|
|
|
|
iNdEx = preIndex
|
|
|
|
|
skippy, err := skipQuery(dAtA[iNdEx:])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
iNdEx += skippy
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|
for iNdEx < l {
|
|
|
|
|
preIndex := iNdEx
|
|
|
|
|
var wire uint64
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
wire |= uint64(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
fieldNum := int32(wire >> 3)
|
|
|
|
|
wireType := int(wire & 0x7)
|
|
|
|
|
if wireType == 4 {
|
|
|
|
|
return fmt.Errorf("proto: QueryParamsResponse: wiretype end group for non-group")
|
|
|
|
|
}
|
|
|
|
|
if fieldNum <= 0 {
|
|
|
|
|
return fmt.Errorf("proto: QueryParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
|
|
}
|
|
|
|
|
switch fieldNum {
|
|
|
|
|
case 1:
|
|
|
|
|
if wireType != 2 {
|
|
|
|
|
return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
|
|
|
|
|
}
|
|
|
|
|
var msglen int
|
|
|
|
|
for shift := uint(0); ; shift += 7 {
|
|
|
|
|
if shift >= 64 {
|
|
|
|
|
return ErrIntOverflowQuery
|
|
|
|
|
}
|
|
|
|
|
if iNdEx >= l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
b := dAtA[iNdEx]
|
|
|
|
|
iNdEx++
|
|
|
|
|
msglen |= int(b&0x7F) << shift
|
|
|
|
|
if b < 0x80 {
|
|
|
|
|
break
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if msglen < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
postIndex := iNdEx + msglen
|
|
|
|
|
if postIndex < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if postIndex > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
iNdEx = postIndex
|
|
|
|
|
default:
|
|
|
|
|
iNdEx = preIndex
|
|
|
|
|
skippy, err := skipQuery(dAtA[iNdEx:])
|
|
|
|
|
if err != nil {
|
|
|
|
|
return err
|
|
|
|
|
}
|
|
|
|
|
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
|
|
|
return ErrInvalidLengthQuery
|
|
|
|
|
}
|
|
|
|
|
if (iNdEx + skippy) > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
iNdEx += skippy
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if iNdEx > l {
|
|
|
|
|
return io.ErrUnexpectedEOF
|
|
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func skipQuery(dAtA []byte) (n int, err error) {
|
|
|
|
|
l := len(dAtA)
|
|
|
|
|
iNdEx := 0
|
|
|
|
|
|