|
|
@@ -1222,6 +1222,105 @@ func (m *QueryLatestGuardianSetIndexResponse) GetLatestGuardianSetIndex() uint32
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
+type QueryAllWasmInstantiateAllowlist struct {
|
|
|
+ Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *QueryAllWasmInstantiateAllowlist) Reset() { *m = QueryAllWasmInstantiateAllowlist{} }
|
|
|
+func (m *QueryAllWasmInstantiateAllowlist) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*QueryAllWasmInstantiateAllowlist) ProtoMessage() {}
|
|
|
+func (*QueryAllWasmInstantiateAllowlist) Descriptor() ([]byte, []int) {
|
|
|
+ return fileDescriptor_273185ecc792fa38, []int{26}
|
|
|
+}
|
|
|
+func (m *QueryAllWasmInstantiateAllowlist) XXX_Unmarshal(b []byte) error {
|
|
|
+ return m.Unmarshal(b)
|
|
|
+}
|
|
|
+func (m *QueryAllWasmInstantiateAllowlist) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
+ if deterministic {
|
|
|
+ return xxx_messageInfo_QueryAllWasmInstantiateAllowlist.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 *QueryAllWasmInstantiateAllowlist) XXX_Merge(src proto.Message) {
|
|
|
+ xxx_messageInfo_QueryAllWasmInstantiateAllowlist.Merge(m, src)
|
|
|
+}
|
|
|
+func (m *QueryAllWasmInstantiateAllowlist) XXX_Size() int {
|
|
|
+ return m.Size()
|
|
|
+}
|
|
|
+func (m *QueryAllWasmInstantiateAllowlist) XXX_DiscardUnknown() {
|
|
|
+ xxx_messageInfo_QueryAllWasmInstantiateAllowlist.DiscardUnknown(m)
|
|
|
+}
|
|
|
+
|
|
|
+var xxx_messageInfo_QueryAllWasmInstantiateAllowlist proto.InternalMessageInfo
|
|
|
+
|
|
|
+func (m *QueryAllWasmInstantiateAllowlist) GetPagination() *query.PageRequest {
|
|
|
+ if m != nil {
|
|
|
+ return m.Pagination
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+// all allowlisted entries by all validators
|
|
|
+type QueryAllWasmInstantiateAllowlistResponse struct {
|
|
|
+ Allowlist []WasmInstantiateAllowedContractCodeId `protobuf:"bytes,1,rep,name=allowlist,proto3" json:"allowlist"`
|
|
|
+ Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
|
+}
|
|
|
+
|
|
|
+func (m *QueryAllWasmInstantiateAllowlistResponse) Reset() {
|
|
|
+ *m = QueryAllWasmInstantiateAllowlistResponse{}
|
|
|
+}
|
|
|
+func (m *QueryAllWasmInstantiateAllowlistResponse) String() string { return proto.CompactTextString(m) }
|
|
|
+func (*QueryAllWasmInstantiateAllowlistResponse) ProtoMessage() {}
|
|
|
+func (*QueryAllWasmInstantiateAllowlistResponse) Descriptor() ([]byte, []int) {
|
|
|
+ return fileDescriptor_273185ecc792fa38, []int{27}
|
|
|
+}
|
|
|
+func (m *QueryAllWasmInstantiateAllowlistResponse) XXX_Unmarshal(b []byte) error {
|
|
|
+ return m.Unmarshal(b)
|
|
|
+}
|
|
|
+func (m *QueryAllWasmInstantiateAllowlistResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
+ if deterministic {
|
|
|
+ return xxx_messageInfo_QueryAllWasmInstantiateAllowlistResponse.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 *QueryAllWasmInstantiateAllowlistResponse) XXX_Merge(src proto.Message) {
|
|
|
+ xxx_messageInfo_QueryAllWasmInstantiateAllowlistResponse.Merge(m, src)
|
|
|
+}
|
|
|
+func (m *QueryAllWasmInstantiateAllowlistResponse) XXX_Size() int {
|
|
|
+ return m.Size()
|
|
|
+}
|
|
|
+func (m *QueryAllWasmInstantiateAllowlistResponse) XXX_DiscardUnknown() {
|
|
|
+ xxx_messageInfo_QueryAllWasmInstantiateAllowlistResponse.DiscardUnknown(m)
|
|
|
+}
|
|
|
+
|
|
|
+var xxx_messageInfo_QueryAllWasmInstantiateAllowlistResponse proto.InternalMessageInfo
|
|
|
+
|
|
|
+func (m *QueryAllWasmInstantiateAllowlistResponse) GetAllowlist() []WasmInstantiateAllowedContractCodeId {
|
|
|
+ if m != nil {
|
|
|
+ return m.Allowlist
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
+func (m *QueryAllWasmInstantiateAllowlistResponse) GetPagination() *query.PageResponse {
|
|
|
+ if m != nil {
|
|
|
+ return m.Pagination
|
|
|
+ }
|
|
|
+ return nil
|
|
|
+}
|
|
|
+
|
|
|
func init() {
|
|
|
proto.RegisterType((*QueryAllValidatorAllowlist)(nil), "wormhole_foundation.wormchain.wormhole.QueryAllValidatorAllowlist")
|
|
|
proto.RegisterType((*QueryAllValidatorAllowlistResponse)(nil), "wormhole_foundation.wormchain.wormhole.QueryAllValidatorAllowlistResponse")
|
|
|
@@ -1249,93 +1348,100 @@ func init() {
|
|
|
proto.RegisterType((*QueryAllGuardianValidatorResponse)(nil), "wormhole_foundation.wormchain.wormhole.QueryAllGuardianValidatorResponse")
|
|
|
proto.RegisterType((*QueryLatestGuardianSetIndexRequest)(nil), "wormhole_foundation.wormchain.wormhole.QueryLatestGuardianSetIndexRequest")
|
|
|
proto.RegisterType((*QueryLatestGuardianSetIndexResponse)(nil), "wormhole_foundation.wormchain.wormhole.QueryLatestGuardianSetIndexResponse")
|
|
|
+ proto.RegisterType((*QueryAllWasmInstantiateAllowlist)(nil), "wormhole_foundation.wormchain.wormhole.QueryAllWasmInstantiateAllowlist")
|
|
|
+ proto.RegisterType((*QueryAllWasmInstantiateAllowlistResponse)(nil), "wormhole_foundation.wormchain.wormhole.QueryAllWasmInstantiateAllowlistResponse")
|
|
|
}
|
|
|
|
|
|
func init() { proto.RegisterFile("wormhole/query.proto", fileDescriptor_273185ecc792fa38) }
|
|
|
|
|
|
var fileDescriptor_273185ecc792fa38 = []byte{
|
|
|
- // 1281 bytes of a gzipped FileDescriptorProto
|
|
|
+ // 1371 bytes of a gzipped FileDescriptorProto
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x99, 0x4f, 0x6f, 0xdc, 0xc4,
|
|
|
- 0x1b, 0xc7, 0x33, 0xbb, 0xbf, 0x56, 0xca, 0xa4, 0x3f, 0x9a, 0x0c, 0x69, 0x52, 0x0c, 0xda, 0x2c,
|
|
|
- 0x06, 0x95, 0xd0, 0x0a, 0x9b, 0x24, 0x22, 0x69, 0x5a, 0x4a, 0xba, 0xbb, 0x25, 0xbb, 0x49, 0x83,
|
|
|
- 0x94, 0x6e, 0x24, 0x0e, 0xa0, 0x6a, 0xe5, 0xec, 0x4e, 0x1c, 0x57, 0x8e, 0xbd, 0x5d, 0x7b, 0xdb,
|
|
|
- 0x86, 0x28, 0x17, 0x24, 0x2e, 0x1c, 0x22, 0x04, 0x2f, 0x85, 0x17, 0xc0, 0x81, 0x4b, 0x0f, 0x1c,
|
|
|
- 0x2a, 0x55, 0xe2, 0x8f, 0x2a, 0x21, 0x94, 0x54, 0x1c, 0xe0, 0xc0, 0x0d, 0x21, 0xc4, 0x01, 0x79,
|
|
|
- 0xfc, 0xd8, 0xeb, 0xf5, 0xda, 0xc6, 0xf6, 0x3a, 0xb7, 0xed, 0xcc, 0xf8, 0x3b, 0xcf, 0xe7, 0x99,
|
|
|
- 0x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they are not otherwise used.
|
|
|
@@ -1374,6 +1480,7 @@ type QueryClient interface {
|
|
|
LatestGuardianSetIndex(ctx context.Context, in *QueryLatestGuardianSetIndexRequest, opts ...grpc.CallOption) (*QueryLatestGuardianSetIndexResponse, error)
|
|
|
AllowlistAll(ctx context.Context, in *QueryAllValidatorAllowlist, opts ...grpc.CallOption) (*QueryAllValidatorAllowlistResponse, error)
|
|
|
Allowlist(ctx context.Context, in *QueryValidatorAllowlist, opts ...grpc.CallOption) (*QueryValidatorAllowlistResponse, error)
|
|
|
+ WasmInstantiateAllowlistAll(ctx context.Context, in *QueryAllWasmInstantiateAllowlist, opts ...grpc.CallOption) (*QueryAllWasmInstantiateAllowlistResponse, error)
|
|
|
}
|
|
|
|
|
|
type queryClient struct {
|
|
|
@@ -1501,6 +1608,15 @@ func (c *queryClient) Allowlist(ctx context.Context, in *QueryValidatorAllowlist
|
|
|
return out, nil
|
|
|
}
|
|
|
|
|
|
+func (c *queryClient) WasmInstantiateAllowlistAll(ctx context.Context, in *QueryAllWasmInstantiateAllowlist, opts ...grpc.CallOption) (*QueryAllWasmInstantiateAllowlistResponse, error) {
|
|
|
+ out := new(QueryAllWasmInstantiateAllowlistResponse)
|
|
|
+ err := c.cc.Invoke(ctx, "/wormhole_foundation.wormchain.wormhole.Query/WasmInstantiateAllowlistAll", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
// QueryServer is the server API for Query service.
|
|
|
type QueryServer interface {
|
|
|
// Queries a guardianSet by index.
|
|
|
@@ -1527,6 +1643,7 @@ type QueryServer interface {
|
|
|
LatestGuardianSetIndex(context.Context, *QueryLatestGuardianSetIndexRequest) (*QueryLatestGuardianSetIndexResponse, error)
|
|
|
AllowlistAll(context.Context, *QueryAllValidatorAllowlist) (*QueryAllValidatorAllowlistResponse, error)
|
|
|
Allowlist(context.Context, *QueryValidatorAllowlist) (*QueryValidatorAllowlistResponse, error)
|
|
|
+ WasmInstantiateAllowlistAll(context.Context, *QueryAllWasmInstantiateAllowlist) (*QueryAllWasmInstantiateAllowlistResponse, error)
|
|
|
}
|
|
|
|
|
|
// UnimplementedQueryServer can be embedded to have forward compatible implementations.
|
|
|
@@ -1572,6 +1689,9 @@ func (*UnimplementedQueryServer) AllowlistAll(ctx context.Context, req *QueryAll
|
|
|
func (*UnimplementedQueryServer) Allowlist(ctx context.Context, req *QueryValidatorAllowlist) (*QueryValidatorAllowlistResponse, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method Allowlist not implemented")
|
|
|
}
|
|
|
+func (*UnimplementedQueryServer) WasmInstantiateAllowlistAll(ctx context.Context, req *QueryAllWasmInstantiateAllowlist) (*QueryAllWasmInstantiateAllowlistResponse, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method WasmInstantiateAllowlistAll not implemented")
|
|
|
+}
|
|
|
|
|
|
func RegisterQueryServer(s grpc1.Server, srv QueryServer) {
|
|
|
s.RegisterService(&_Query_serviceDesc, srv)
|
|
|
@@ -1811,6 +1931,24 @@ func _Query_Allowlist_Handler(srv interface{}, ctx context.Context, dec func(int
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
+func _Query_WasmInstantiateAllowlistAll_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(QueryAllWasmInstantiateAllowlist)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(QueryServer).WasmInstantiateAllowlistAll(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/wormhole_foundation.wormchain.wormhole.Query/WasmInstantiateAllowlistAll",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(QueryServer).WasmInstantiateAllowlistAll(ctx, req.(*QueryAllWasmInstantiateAllowlist))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
var _Query_serviceDesc = grpc.ServiceDesc{
|
|
|
ServiceName: "wormhole_foundation.wormchain.wormhole.Query",
|
|
|
HandlerType: (*QueryServer)(nil),
|
|
|
@@ -1867,6 +2005,10 @@ var _Query_serviceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "Allowlist",
|
|
|
Handler: _Query_Allowlist_Handler,
|
|
|
},
|
|
|
+ {
|
|
|
+ MethodName: "WasmInstantiateAllowlistAll",
|
|
|
+ Handler: _Query_WasmInstantiateAllowlistAll_Handler,
|
|
|
+ },
|
|
|
},
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
Metadata: "wormhole/query.proto",
|
|
|
@@ -2803,6 +2945,90 @@ func (m *QueryLatestGuardianSetIndexResponse) MarshalToSizedBuffer(dAtA []byte)
|
|
|
return len(dAtA) - i, nil
|
|
|
}
|
|
|
|
|
|
+func (m *QueryAllWasmInstantiateAllowlist) 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 *QueryAllWasmInstantiateAllowlist) MarshalTo(dAtA []byte) (int, error) {
|
|
|
+ size := m.Size()
|
|
|
+ return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
+}
|
|
|
+
|
|
|
+func (m *QueryAllWasmInstantiateAllowlist) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
+ i := len(dAtA)
|
|
|
+ _ = i
|
|
|
+ var l int
|
|
|
+ _ = l
|
|
|
+ if m.Pagination != nil {
|
|
|
+ {
|
|
|
+ size, err := m.Pagination.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 (m *QueryAllWasmInstantiateAllowlistResponse) 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 *QueryAllWasmInstantiateAllowlistResponse) MarshalTo(dAtA []byte) (int, error) {
|
|
|
+ size := m.Size()
|
|
|
+ return m.MarshalToSizedBuffer(dAtA[:size])
|
|
|
+}
|
|
|
+
|
|
|
+func (m *QueryAllWasmInstantiateAllowlistResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
+ i := len(dAtA)
|
|
|
+ _ = i
|
|
|
+ var l int
|
|
|
+ _ = l
|
|
|
+ if m.Pagination != nil {
|
|
|
+ {
|
|
|
+ size, err := m.Pagination.MarshalToSizedBuffer(dAtA[:i])
|
|
|
+ if err != nil {
|
|
|
+ return 0, err
|
|
|
+ }
|
|
|
+ i -= size
|
|
|
+ i = encodeVarintQuery(dAtA, i, uint64(size))
|
|
|
+ }
|
|
|
+ i--
|
|
|
+ dAtA[i] = 0x12
|
|
|
+ }
|
|
|
+ if len(m.Allowlist) > 0 {
|
|
|
+ for iNdEx := len(m.Allowlist) - 1; iNdEx >= 0; iNdEx-- {
|
|
|
+ {
|
|
|
+ size, err := m.Allowlist[iNdEx].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
|
|
|
@@ -3170,6 +3396,38 @@ func (m *QueryLatestGuardianSetIndexResponse) Size() (n int) {
|
|
|
return n
|
|
|
}
|
|
|
|
|
|
+func (m *QueryAllWasmInstantiateAllowlist) Size() (n int) {
|
|
|
+ if m == nil {
|
|
|
+ return 0
|
|
|
+ }
|
|
|
+ var l int
|
|
|
+ _ = l
|
|
|
+ if m.Pagination != nil {
|
|
|
+ l = m.Pagination.Size()
|
|
|
+ n += 1 + l + sovQuery(uint64(l))
|
|
|
+ }
|
|
|
+ return n
|
|
|
+}
|
|
|
+
|
|
|
+func (m *QueryAllWasmInstantiateAllowlistResponse) Size() (n int) {
|
|
|
+ if m == nil {
|
|
|
+ return 0
|
|
|
+ }
|
|
|
+ var l int
|
|
|
+ _ = l
|
|
|
+ if len(m.Allowlist) > 0 {
|
|
|
+ for _, e := range m.Allowlist {
|
|
|
+ l = e.Size()
|
|
|
+ n += 1 + l + sovQuery(uint64(l))
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if m.Pagination != nil {
|
|
|
+ l = m.Pagination.Size()
|
|
|
+ n += 1 + l + sovQuery(uint64(l))
|
|
|
+ }
|
|
|
+ return n
|
|
|
+}
|
|
|
+
|
|
|
func sovQuery(x uint64) (n int) {
|
|
|
return (math_bits.Len64(x|1) + 6) / 7
|
|
|
}
|
|
|
@@ -5510,6 +5768,212 @@ func (m *QueryLatestGuardianSetIndexResponse) Unmarshal(dAtA []byte) error {
|
|
|
}
|
|
|
return nil
|
|
|
}
|
|
|
+func (m *QueryAllWasmInstantiateAllowlist) 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: QueryAllWasmInstantiateAllowlist: wiretype end group for non-group")
|
|
|
+ }
|
|
|
+ if fieldNum <= 0 {
|
|
|
+ return fmt.Errorf("proto: QueryAllWasmInstantiateAllowlist: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
+ }
|
|
|
+ switch fieldNum {
|
|
|
+ case 1:
|
|
|
+ if wireType != 2 {
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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 m.Pagination == nil {
|
|
|
+ m.Pagination = &query.PageRequest{}
|
|
|
+ }
|
|
|
+ if err := m.Pagination.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 (m *QueryAllWasmInstantiateAllowlistResponse) 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: QueryAllWasmInstantiateAllowlistResponse: wiretype end group for non-group")
|
|
|
+ }
|
|
|
+ if fieldNum <= 0 {
|
|
|
+ return fmt.Errorf("proto: QueryAllWasmInstantiateAllowlistResponse: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
|
+ }
|
|
|
+ switch fieldNum {
|
|
|
+ case 1:
|
|
|
+ if wireType != 2 {
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field Allowlist", 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
|
|
|
+ }
|
|
|
+ m.Allowlist = append(m.Allowlist, WasmInstantiateAllowedContractCodeId{})
|
|
|
+ if err := m.Allowlist[len(m.Allowlist)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
|
+ return err
|
|
|
+ }
|
|
|
+ iNdEx = postIndex
|
|
|
+ case 2:
|
|
|
+ if wireType != 2 {
|
|
|
+ return fmt.Errorf("proto: wrong wireType = %d for field Pagination", 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 m.Pagination == nil {
|
|
|
+ m.Pagination = &query.PageResponse{}
|
|
|
+ }
|
|
|
+ if err := m.Pagination.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
|