diff --git a/docs/proto/proto-docs.md b/docs/proto/proto-docs.md index 4489915e6e..fad681be0c 100644 --- a/docs/proto/proto-docs.md +++ b/docs/proto/proto-docs.md @@ -64,6 +64,7 @@ - [QueryBuildAddressRequest](#cosmwasm.wasm.v1.QueryBuildAddressRequest) - [QueryBuildAddressResponse](#cosmwasm.wasm.v1.QueryBuildAddressResponse) - [QueryCodeInfoRequest](#cosmwasm.wasm.v1.QueryCodeInfoRequest) + - [QueryCodeInfoResponse](#cosmwasm.wasm.v1.QueryCodeInfoResponse) - [QueryCodeRequest](#cosmwasm.wasm.v1.QueryCodeRequest) - [QueryCodeResponse](#cosmwasm.wasm.v1.QueryCodeResponse) - [QueryCodesRequest](#cosmwasm.wasm.v1.QueryCodesRequest) @@ -1082,6 +1083,21 @@ QueryCodeInfoRequest is the request type for the Query/Code RPC method + + +### QueryCodeInfoResponse +QueryCodeInfoResponse is the response type for the Query/Code RPC method + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `code_info` | [CodeInfoResponse](#cosmwasm.wasm.v1.CodeInfoResponse) | | | + + + + + + ### QueryCodeRequest @@ -1424,7 +1440,7 @@ Query provides defines the gRPC querier service | `SmartContractState` | [QuerySmartContractStateRequest](#cosmwasm.wasm.v1.QuerySmartContractStateRequest) | [QuerySmartContractStateResponse](#cosmwasm.wasm.v1.QuerySmartContractStateResponse) | SmartContractState get smart query result from the contract | GET|/cosmwasm/wasm/v1/contract/{address}/smart/{query_data}| | `Code` | [QueryCodeRequest](#cosmwasm.wasm.v1.QueryCodeRequest) | [QueryCodeResponse](#cosmwasm.wasm.v1.QueryCodeResponse) | Code gets the binary code and metadata for a single wasm code | GET|/cosmwasm/wasm/v1/code/{code_id}| | `Codes` | [QueryCodesRequest](#cosmwasm.wasm.v1.QueryCodesRequest) | [QueryCodesResponse](#cosmwasm.wasm.v1.QueryCodesResponse) | Codes gets the metadata for all stored wasm codes | GET|/cosmwasm/wasm/v1/code| -| `CodeInfo` | [QueryCodeInfoRequest](#cosmwasm.wasm.v1.QueryCodeInfoRequest) | [CodeInfoResponse](#cosmwasm.wasm.v1.CodeInfoResponse) | CodeInfo gets the metadata for a single wasm code | GET|/cosmwasm/wasm/v1/code-info/{code_id}| +| `CodeInfo` | [QueryCodeInfoRequest](#cosmwasm.wasm.v1.QueryCodeInfoRequest) | [QueryCodeInfoResponse](#cosmwasm.wasm.v1.QueryCodeInfoResponse) | CodeInfo gets the metadata for a single wasm code | GET|/cosmwasm/wasm/v1/code-info/{code_id}| | `PinnedCodes` | [QueryPinnedCodesRequest](#cosmwasm.wasm.v1.QueryPinnedCodesRequest) | [QueryPinnedCodesResponse](#cosmwasm.wasm.v1.QueryPinnedCodesResponse) | PinnedCodes gets the pinned code ids | GET|/cosmwasm/wasm/v1/codes/pinned| | `Params` | [QueryParamsRequest](#cosmwasm.wasm.v1.QueryParamsRequest) | [QueryParamsResponse](#cosmwasm.wasm.v1.QueryParamsResponse) | Params gets the module params | GET|/cosmwasm/wasm/v1/codes/params| | `ContractsByCreator` | [QueryContractsByCreatorRequest](#cosmwasm.wasm.v1.QueryContractsByCreatorRequest) | [QueryContractsByCreatorResponse](#cosmwasm.wasm.v1.QueryContractsByCreatorResponse) | ContractsByCreator gets the contracts by creator | GET|/cosmwasm/wasm/v1/contracts/creator/{creator_address}| diff --git a/proto/cosmwasm/wasm/v1/query.proto b/proto/cosmwasm/wasm/v1/query.proto index b55c28161a..d0059b34a7 100644 --- a/proto/cosmwasm/wasm/v1/query.proto +++ b/proto/cosmwasm/wasm/v1/query.proto @@ -66,7 +66,7 @@ service Query { } // CodeInfo gets the metadata for a single wasm code - rpc CodeInfo(QueryCodeInfoRequest) returns (CodeInfoResponse) { + rpc CodeInfo(QueryCodeInfoRequest) returns (QueryCodeInfoResponse) { option (cosmos.query.v1.module_query_safe) = true; option (google.api.http).get = "/cosmwasm/wasm/v1/code-info/{code_id}"; } @@ -222,6 +222,13 @@ message QueryCodeInfoRequest { uint64 code_id = 1; // grpc-gateway_out does not support Go style CodeID } +// QueryCodeInfoResponse is the response type for the Query/Code RPC method +message QueryCodeInfoResponse { + option (gogoproto.equal) = true; + CodeInfoResponse code_info = 1 + [ (gogoproto.embed) = true, (gogoproto.jsontag) = "" ]; +} + // CodeInfoResponse contains code meta data from CodeInfo message CodeInfoResponse { option (gogoproto.equal) = true; diff --git a/x/wasm/client/cli/query.go b/x/wasm/client/cli/query.go index 4fa6e3120f..abfd3d0418 100644 --- a/x/wasm/client/cli/query.go +++ b/x/wasm/client/cli/query.go @@ -261,8 +261,11 @@ func GetCmdQueryCodeInfo() *cobra.Command { if err != nil { return err } + if res.CodeInfoResponse == nil { + return fmt.Errorf("code not found") + } - return clientCtx.PrintProto(res) + return clientCtx.PrintProto(res.CodeInfoResponse) }, SilenceUsage: true, } diff --git a/x/wasm/keeper/querier.go b/x/wasm/keeper/querier.go index d68a3503c2..6463368324 100644 --- a/x/wasm/keeper/querier.go +++ b/x/wasm/keeper/querier.go @@ -285,18 +285,20 @@ func (q GrpcQuerier) Codes(c context.Context, req *types.QueryCodesRequest) (*ty return &types.QueryCodesResponse{CodeInfos: r, Pagination: pageRes}, nil } -func (q GrpcQuerier) CodeInfo(c context.Context, req *types.QueryCodeInfoRequest) (*types.CodeInfoResponse, error) { +func (q GrpcQuerier) CodeInfo(c context.Context, req *types.QueryCodeInfoRequest) (*types.QueryCodeInfoResponse, error) { if req == nil { return nil, status.Error(codes.InvalidArgument, "empty request") } if req.CodeId == 0 { return nil, errorsmod.Wrap(types.ErrInvalid, "code id") } - rsp := queryCodeInfo(sdk.UnwrapSDKContext(c), req.CodeId, q.keeper) - if rsp == nil { + info := queryCodeInfo(sdk.UnwrapSDKContext(c), req.CodeId, q.keeper) + if info == nil { return nil, types.ErrNoSuchCodeFn(req.CodeId).Wrapf("code id %d", req.CodeId) } - return rsp, nil + return &types.QueryCodeInfoResponse{ + CodeInfoResponse: info, + }, nil } func queryContractInfo(ctx sdk.Context, addr sdk.AccAddress, keeper types.ViewKeeper) (*types.QueryContractInfoResponse, error) { diff --git a/x/wasm/keeper/querier_test.go b/x/wasm/keeper/querier_test.go index 21f27021ec..3585919721 100644 --- a/x/wasm/keeper/querier_test.go +++ b/x/wasm/keeper/querier_test.go @@ -814,11 +814,13 @@ func TestQueryCodeInfo(t *testing.T) { CodeId: spec.codeID, }) require.NoError(t, err) - expectedResponse := &types.CodeInfoResponse{ - CodeID: spec.codeID, - Creator: codeInfo.Creator, - DataHash: codeInfo.CodeHash, - InstantiatePermission: spec.accessConfig, + expectedResponse := &types.QueryCodeInfoResponse{ + CodeInfoResponse: &types.CodeInfoResponse{ + CodeID: spec.codeID, + Creator: codeInfo.Creator, + DataHash: codeInfo.CodeHash, + InstantiatePermission: spec.accessConfig, + }, } require.NotNil(t, got) require.EqualValues(t, expectedResponse, got) diff --git a/x/wasm/types/query.pb.go b/x/wasm/types/query.pb.go index 09eb7c09cd..d2d857b177 100644 --- a/x/wasm/types/query.pb.go +++ b/x/wasm/types/query.pb.go @@ -676,6 +676,49 @@ func (m *QueryCodeInfoRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryCodeInfoRequest proto.InternalMessageInfo +// QueryCodeInfoResponse is the response type for the Query/Code RPC method +type QueryCodeInfoResponse struct { + *CodeInfoResponse `protobuf:"bytes,1,opt,name=code_info,json=codeInfo,proto3,embedded=code_info" json:""` +} + +func (m *QueryCodeInfoResponse) Reset() { *m = QueryCodeInfoResponse{} } +func (m *QueryCodeInfoResponse) String() string { return proto.CompactTextString(m) } +func (*QueryCodeInfoResponse) ProtoMessage() {} +func (*QueryCodeInfoResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_9677c207036b9f2b, []int{14} +} + +func (m *QueryCodeInfoResponse) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} + +func (m *QueryCodeInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_QueryCodeInfoResponse.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 *QueryCodeInfoResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_QueryCodeInfoResponse.Merge(m, src) +} + +func (m *QueryCodeInfoResponse) XXX_Size() int { + return m.Size() +} + +func (m *QueryCodeInfoResponse) XXX_DiscardUnknown() { + xxx_messageInfo_QueryCodeInfoResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_QueryCodeInfoResponse proto.InternalMessageInfo + // CodeInfoResponse contains code meta data from CodeInfo type CodeInfoResponse struct { CodeID uint64 `protobuf:"varint,1,opt,name=code_id,json=codeId,proto3" json:"id"` @@ -688,7 +731,7 @@ func (m *CodeInfoResponse) Reset() { *m = CodeInfoResponse{} } func (m *CodeInfoResponse) String() string { return proto.CompactTextString(m) } func (*CodeInfoResponse) ProtoMessage() {} func (*CodeInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9677c207036b9f2b, []int{14} + return fileDescriptor_9677c207036b9f2b, []int{15} } func (m *CodeInfoResponse) XXX_Unmarshal(b []byte) error { @@ -732,7 +775,7 @@ func (m *QueryCodeResponse) Reset() { *m = QueryCodeResponse{} } func (m *QueryCodeResponse) String() string { return proto.CompactTextString(m) } func (*QueryCodeResponse) ProtoMessage() {} func (*QueryCodeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9677c207036b9f2b, []int{15} + return fileDescriptor_9677c207036b9f2b, []int{16} } func (m *QueryCodeResponse) XXX_Unmarshal(b []byte) error { @@ -776,7 +819,7 @@ func (m *QueryCodesRequest) Reset() { *m = QueryCodesRequest{} } func (m *QueryCodesRequest) String() string { return proto.CompactTextString(m) } func (*QueryCodesRequest) ProtoMessage() {} func (*QueryCodesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9677c207036b9f2b, []int{16} + return fileDescriptor_9677c207036b9f2b, []int{17} } func (m *QueryCodesRequest) XXX_Unmarshal(b []byte) error { @@ -821,7 +864,7 @@ func (m *QueryCodesResponse) Reset() { *m = QueryCodesResponse{} } func (m *QueryCodesResponse) String() string { return proto.CompactTextString(m) } func (*QueryCodesResponse) ProtoMessage() {} func (*QueryCodesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9677c207036b9f2b, []int{17} + return fileDescriptor_9677c207036b9f2b, []int{18} } func (m *QueryCodesResponse) XXX_Unmarshal(b []byte) error { @@ -866,7 +909,7 @@ func (m *QueryPinnedCodesRequest) Reset() { *m = QueryPinnedCodesRequest func (m *QueryPinnedCodesRequest) String() string { return proto.CompactTextString(m) } func (*QueryPinnedCodesRequest) ProtoMessage() {} func (*QueryPinnedCodesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9677c207036b9f2b, []int{18} + return fileDescriptor_9677c207036b9f2b, []int{19} } func (m *QueryPinnedCodesRequest) XXX_Unmarshal(b []byte) error { @@ -912,7 +955,7 @@ func (m *QueryPinnedCodesResponse) Reset() { *m = QueryPinnedCodesRespon func (m *QueryPinnedCodesResponse) String() string { return proto.CompactTextString(m) } func (*QueryPinnedCodesResponse) ProtoMessage() {} func (*QueryPinnedCodesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9677c207036b9f2b, []int{19} + return fileDescriptor_9677c207036b9f2b, []int{20} } func (m *QueryPinnedCodesResponse) XXX_Unmarshal(b []byte) error { @@ -953,7 +996,7 @@ 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{20} + return fileDescriptor_9677c207036b9f2b, []int{21} } func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error { @@ -997,7 +1040,7 @@ 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{21} + return fileDescriptor_9677c207036b9f2b, []int{22} } func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error { @@ -1044,7 +1087,7 @@ func (m *QueryContractsByCreatorRequest) Reset() { *m = QueryContractsBy func (m *QueryContractsByCreatorRequest) String() string { return proto.CompactTextString(m) } func (*QueryContractsByCreatorRequest) ProtoMessage() {} func (*QueryContractsByCreatorRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9677c207036b9f2b, []int{22} + return fileDescriptor_9677c207036b9f2b, []int{23} } func (m *QueryContractsByCreatorRequest) XXX_Unmarshal(b []byte) error { @@ -1091,7 +1134,7 @@ func (m *QueryContractsByCreatorResponse) Reset() { *m = QueryContractsB func (m *QueryContractsByCreatorResponse) String() string { return proto.CompactTextString(m) } func (*QueryContractsByCreatorResponse) ProtoMessage() {} func (*QueryContractsByCreatorResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9677c207036b9f2b, []int{23} + return fileDescriptor_9677c207036b9f2b, []int{24} } func (m *QueryContractsByCreatorResponse) XXX_Unmarshal(b []byte) error { @@ -1143,7 +1186,7 @@ func (m *QueryBuildAddressRequest) Reset() { *m = QueryBuildAddressReque func (m *QueryBuildAddressRequest) String() string { return proto.CompactTextString(m) } func (*QueryBuildAddressRequest) ProtoMessage() {} func (*QueryBuildAddressRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9677c207036b9f2b, []int{24} + return fileDescriptor_9677c207036b9f2b, []int{25} } func (m *QueryBuildAddressRequest) XXX_Unmarshal(b []byte) error { @@ -1188,7 +1231,7 @@ func (m *QueryBuildAddressResponse) Reset() { *m = QueryBuildAddressResp func (m *QueryBuildAddressResponse) String() string { return proto.CompactTextString(m) } func (*QueryBuildAddressResponse) ProtoMessage() {} func (*QueryBuildAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9677c207036b9f2b, []int{25} + return fileDescriptor_9677c207036b9f2b, []int{26} } func (m *QueryBuildAddressResponse) XXX_Unmarshal(b []byte) error { @@ -1237,6 +1280,7 @@ func init() { proto.RegisterType((*QuerySmartContractStateResponse)(nil), "cosmwasm.wasm.v1.QuerySmartContractStateResponse") proto.RegisterType((*QueryCodeRequest)(nil), "cosmwasm.wasm.v1.QueryCodeRequest") proto.RegisterType((*QueryCodeInfoRequest)(nil), "cosmwasm.wasm.v1.QueryCodeInfoRequest") + proto.RegisterType((*QueryCodeInfoResponse)(nil), "cosmwasm.wasm.v1.QueryCodeInfoResponse") proto.RegisterType((*CodeInfoResponse)(nil), "cosmwasm.wasm.v1.CodeInfoResponse") proto.RegisterType((*QueryCodeResponse)(nil), "cosmwasm.wasm.v1.QueryCodeResponse") proto.RegisterType((*QueryCodesRequest)(nil), "cosmwasm.wasm.v1.QueryCodesRequest") @@ -1254,104 +1298,105 @@ func init() { func init() { proto.RegisterFile("cosmwasm/wasm/v1/query.proto", fileDescriptor_9677c207036b9f2b) } var fileDescriptor_9677c207036b9f2b = []byte{ - // 1546 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x98, 0x41, 0x6f, 0x13, 0x47, - 0x14, 0xc7, 0x33, 0xc1, 0x71, 0xec, 0x49, 0x5a, 0x9c, 0x69, 0x0a, 0xc6, 0x80, 0x1d, 0x2d, 0x10, - 0x82, 0x21, 0x5e, 0x12, 0x4a, 0x11, 0xf4, 0x64, 0x07, 0x4a, 0x40, 0xa5, 0x04, 0x23, 0xb5, 0x52, - 0xab, 0xca, 0x1d, 0x7b, 0x27, 0xce, 0x56, 0xf6, 0xae, 0xd9, 0x99, 0x10, 0xa2, 0x28, 0x1c, 0x38, - 0x55, 0xed, 0xa5, 0x55, 0x4f, 0xa5, 0x52, 0xdb, 0x43, 0x0f, 0x20, 0x5a, 0x09, 0xa9, 0x95, 0xca, - 0xa5, 0xea, 0x35, 0x47, 0xd4, 0x5e, 0x7a, 0xb2, 0xda, 0x50, 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42, 0xc7, 0x02, 0x78, 0xba, 0xeb, - 0xb1, 0x54, 0x36, 0x8c, 0xa9, 0x40, 0x3b, 0xee, 0xa2, 0x4d, 0xa1, 0xb4, 0x3f, 0x1a, 0x55, 0x1b, - 0xdc, 0x13, 0xdd, 0x01, 0x30, 0xea, 0x94, 0x31, 0x28, 0x48, 0xf6, 0xb6, 0x6a, 0x29, 0x75, 0xa4, - 0x8f, 0xd5, 0x8b, 0x41, 0x38, 0x23, 0xff, 0x02, 0x20, 0xea, 0x2e, 0x3d, 0x02, 0x37, 0x58, 0x60, - 0x4d, 0x15, 0xb8, 0xc1, 0x82, 0xeb, 0x9a, 0xd0, 0x09, 0x82, 0xaa, 0xa2, 0x02, 0x50, 0x37, 0x3a, - 0x6a, 0x87, 0x4d, 0xf4, 0x35, 0x80, 0xe3, 0xde, 0x73, 0x3d, 0xf0, 0x00, 0xf6, 0xa9, 0x54, 0x02, - 0x0f, 0x60, 0xbf, 0x42, 0x41, 0x39, 0xed, 0xd2, 0x66, 0xd1, 0x4c, 0x8f, 0x74, 0x50, 0xb6, 0xbd, - 0x25, 0x61, 0x61, 0x71, 0xeb, 0xaf, 0xf4, 0xd0, 0xbd, 0xed, 0xf4, 0xd0, 0xd6, 0x76, 0x1a, 0x3c, - 0xde, 0x4e, 0x83, 0x3f, 0xb7, 0xd3, 0xe0, 0xb3, 0x27, 0xe9, 0xa1, 0xc7, 0x4f, 0xd2, 0x43, 0x7f, - 0x3c, 0x49, 0x0f, 0xbd, 0x37, 0xed, 0xb9, 0x4b, 0x2e, 0x98, 0xb4, 0xfe, 0xae, 0xec, 0x55, 0x53, - 0x6f, 0x39, 0xbd, 0xf3, 0x7f, 0x96, 0xcb, 0x51, 0xfe, 0x2f, 0xee, 0xa9, 0x7f, 0x03, 0x00, 0x00, - 0xff, 0xff, 0xd8, 0x64, 0xd3, 0xb3, 0xc0, 0x16, 0x00, 0x00, + // 1557 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0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0x43, 0xf0, 0x5f, 0x70, 0xf9, 0xcf, 0xa1, 0xb3, 0x83, 0xc9, 0x6d, 0xf7, 0xd6, + 0x3e, 0x83, 0x3b, 0x30, 0xcc, 0x43, 0x59, 0x09, 0x8c, 0x4d, 0x37, 0x7e, 0x0f, 0xf7, 0xb4, 0x11, + 0x58, 0x73, 0x2e, 0x96, 0x82, 0xa6, 0xfb, 0x05, 0x2d, 0x5a, 0x87, 0xa3, 0xfc, 0xe8, 0x47, 0xbd, + 0x3a, 0x97, 0xb9, 0x3b, 0x79, 0xa4, 0xb7, 0x91, 0x40, 0x38, 0xec, 0x22, 0x24, 0xd0, 0x5e, 0x7f, + 0x04, 0xf4, 0x11, 0x80, 0x51, 0x59, 0x56, 0xa1, 0x99, 0x1e, 0xfd, 0x7a, 0x53, 0xe2, 0xb1, 0xbe, + 0x76, 0x02, 0x61, 0xc1, 0x45, 0x38, 0x86, 0x8e, 0xfa, 0x23, 0xcc, 0xd9, 0x45, 0x9f, 0x47, 0x8a, + 0x4f, 0x00, 0x1c, 0xf7, 0x14, 0x43, 0xe8, 0x78, 0xc0, 0x60, 0xdd, 0x45, 0x59, 0x32, 0x33, 0x88, + 0xa9, 0x40, 0x3b, 0xe1, 0xa2, 0x4d, 0xa3, 0x94, 0x3f, 0x1a, 0x55, 0xeb, 0xdc, 0x13, 0xdd, 0x05, + 0x30, 0xe2, 0xd4, 0x32, 0x28, 0x48, 0xfb, 0xb6, 0x92, 0x29, 0x79, 0xb4, 0x8f, 0xd5, 0x8b, 0x41, + 0x38, 0x23, 0xff, 0x0c, 0x20, 0xea, 0xae, 0x3f, 0x02, 0x77, 0x59, 0x60, 0x61, 0x15, 0xb8, 0xcb, + 0x82, 0x8b, 0x9b, 0x81, 0xb3, 0x04, 0x55, 0x45, 0x19, 0xa0, 0x6e, 0x76, 0x14, 0x10, 0x5b, 0xe8, + 0x0b, 0x00, 0x27, 0xbc, 0x87, 0x7b, 0xe0, 0x29, 0xec, 0x53, 0xae, 0x04, 0x9e, 0xc2, 0x7e, 0xd5, + 0x82, 0x72, 0xc6, 0xa5, 0xcd, 0xa0, 0xd9, 0x1e, 0x39, 0xa1, 0x64, 0x7b, 0x4b, 0xc2, 0xfc, 0xd2, + 0xf6, 0x9f, 0xa9, 0xd0, 0xfd, 0x66, 0x2a, 0xb4, 0xdd, 0x4c, 0x81, 0xc7, 0xcd, 0x14, 0xf8, 0xa3, + 0x99, 0x02, 0x1f, 0x3f, 0x49, 0x85, 0x1e, 0x3f, 0x49, 0x85, 0x7e, 0x7f, 0x92, 0x0a, 0xbd, 0x3d, + 0xe3, 0xb9, 0x50, 0x2e, 0x9a, 0xb4, 0xf6, 0x96, 0xec, 0x55, 0x53, 0x6f, 0x3b, 0xbd, 0xf3, 0x3f, + 0xb2, 0x4b, 0x11, 0xfe, 0xa7, 0xf1, 0xe9, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x37, 0x14, 0x68, + 0x07, 0x2f, 0x17, 0x00, 0x00, } func (this *QueryContractInfoResponse) Equal(that interface{}) bool { @@ -1382,6 +1427,31 @@ func (this *QueryContractInfoResponse) Equal(that interface{}) bool { return true } +func (this *QueryCodeInfoResponse) Equal(that interface{}) bool { + if that == nil { + return this == nil + } + + that1, ok := that.(*QueryCodeInfoResponse) + if !ok { + that2, ok := that.(QueryCodeInfoResponse) + if ok { + that1 = &that2 + } else { + return false + } + } + if that1 == nil { + return this == nil + } else if this == nil { + return false + } + if !this.CodeInfoResponse.Equal(that1.CodeInfoResponse) { + return false + } + return true +} + func (this *CodeInfoResponse) Equal(that interface{}) bool { if that == nil { return this == nil @@ -1475,7 +1545,7 @@ type QueryClient interface { // Codes gets the metadata for all stored wasm codes Codes(ctx context.Context, in *QueryCodesRequest, opts ...grpc.CallOption) (*QueryCodesResponse, error) // CodeInfo gets the metadata for a single wasm code - CodeInfo(ctx context.Context, in *QueryCodeInfoRequest, opts ...grpc.CallOption) (*CodeInfoResponse, error) + CodeInfo(ctx context.Context, in *QueryCodeInfoRequest, opts ...grpc.CallOption) (*QueryCodeInfoResponse, error) // PinnedCodes gets the pinned code ids PinnedCodes(ctx context.Context, in *QueryPinnedCodesRequest, opts ...grpc.CallOption) (*QueryPinnedCodesResponse, error) // Params gets the module params @@ -1566,8 +1636,8 @@ func (c *queryClient) Codes(ctx context.Context, in *QueryCodesRequest, opts ... return out, nil } -func (c *queryClient) CodeInfo(ctx context.Context, in *QueryCodeInfoRequest, opts ...grpc.CallOption) (*CodeInfoResponse, error) { - out := new(CodeInfoResponse) +func (c *queryClient) CodeInfo(ctx context.Context, in *QueryCodeInfoRequest, opts ...grpc.CallOption) (*QueryCodeInfoResponse, error) { + out := new(QueryCodeInfoResponse) err := c.cc.Invoke(ctx, "/cosmwasm.wasm.v1.Query/CodeInfo", in, out, opts...) if err != nil { return nil, err @@ -1630,7 +1700,7 @@ type QueryServer interface { // Codes gets the metadata for all stored wasm codes Codes(context.Context, *QueryCodesRequest) (*QueryCodesResponse, error) // CodeInfo gets the metadata for a single wasm code - CodeInfo(context.Context, *QueryCodeInfoRequest) (*CodeInfoResponse, error) + CodeInfo(context.Context, *QueryCodeInfoRequest) (*QueryCodeInfoResponse, error) // PinnedCodes gets the pinned code ids PinnedCodes(context.Context, *QueryPinnedCodesRequest) (*QueryPinnedCodesResponse, error) // Params gets the module params @@ -1676,7 +1746,7 @@ func (*UnimplementedQueryServer) Codes(ctx context.Context, req *QueryCodesReque return nil, status.Errorf(codes.Unimplemented, "method Codes not implemented") } -func (*UnimplementedQueryServer) CodeInfo(ctx context.Context, req *QueryCodeInfoRequest) (*CodeInfoResponse, error) { +func (*UnimplementedQueryServer) CodeInfo(ctx context.Context, req *QueryCodeInfoRequest) (*QueryCodeInfoResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CodeInfo not implemented") } @@ -2521,6 +2591,41 @@ func (m *QueryCodeInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { return len(dAtA) - i, nil } +func (m *QueryCodeInfoResponse) 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 *QueryCodeInfoResponse) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *QueryCodeInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.CodeInfoResponse != nil { + { + size, err := m.CodeInfoResponse.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 *CodeInfoResponse) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -2767,20 +2872,20 @@ func (m *QueryPinnedCodesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error dAtA[i] = 0x12 } if len(m.CodeIDs) > 0 { - dAtA15 := make([]byte, len(m.CodeIDs)*10) - var j14 int + dAtA16 := make([]byte, len(m.CodeIDs)*10) + var j15 int for _, num := range m.CodeIDs { for num >= 1<<7 { - dAtA15[j14] = uint8(uint64(num)&0x7f | 0x80) + dAtA16[j15] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j14++ + j15++ } - dAtA15[j14] = uint8(num) - j14++ + dAtA16[j15] = uint8(num) + j15++ } - i -= j14 - copy(dAtA[i:], dAtA15[:j14]) - i = encodeVarintQuery(dAtA, i, uint64(j14)) + i -= j15 + copy(dAtA[i:], dAtA16[:j15]) + i = encodeVarintQuery(dAtA, i, uint64(j15)) i-- dAtA[i] = 0xa } @@ -3241,6 +3346,19 @@ func (m *QueryCodeInfoRequest) Size() (n int) { return n } +func (m *QueryCodeInfoResponse) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CodeInfoResponse != nil { + l = m.CodeInfoResponse.Size() + n += 1 + l + sovQuery(uint64(l)) + } + return n +} + func (m *CodeInfoResponse) Size() (n int) { if m == nil { return 0 @@ -4895,6 +5013,93 @@ func (m *QueryCodeInfoRequest) Unmarshal(dAtA []byte) error { return nil } +func (m *QueryCodeInfoResponse) 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: QueryCodeInfoResponse: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: QueryCodeInfoResponse: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CodeInfoResponse", 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.CodeInfoResponse == nil { + m.CodeInfoResponse = &CodeInfoResponse{} + } + if err := m.CodeInfoResponse.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 *CodeInfoResponse) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0