From eed83f18bfb14d902d36d779bc605deca34e6500 Mon Sep 17 00:00:00 2001 From: elizabeth Date: Mon, 22 Jan 2024 14:17:26 -0500 Subject: [PATCH] update protos and gen go bindings --- modules/core/02-client/types/query.pb.go | 454 +++++++++++++--- modules/core/02-client/types/query.pb.gw.go | 54 ++ modules/core/04-channel/types/query.pb.go | 520 +++++++++++++------ modules/core/04-channel/types/query.pb.gw.go | 36 ++ proto/ibc/core/channel/v1/query.proto | 10 +- proto/ibc/core/client/v1/query.proto | 27 +- 6 files changed, 869 insertions(+), 232 deletions(-) diff --git a/modules/core/02-client/types/query.pb.go b/modules/core/02-client/types/query.pb.go index e13ddd06cef..997d9d7295e 100644 --- a/modules/core/02-client/types/query.pb.go +++ b/modules/core/02-client/types/query.pb.go @@ -36,6 +36,11 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package type QueryClientStateRequest struct { // client state unique identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` + // the height at which to query + Height *Height `protobuf:"bytes,2,opt,name=height,proto3" json:"height,omitempty"` + // latest_height overrides the height field and queries the latest stored + // ClientState + LatestHeight bool `protobuf:"varint,3,opt,name=latest_height,json=latestHeight,proto3" json:"latest_height,omitempty"` } func (m *QueryClientStateRequest) Reset() { *m = QueryClientStateRequest{} } @@ -78,6 +83,20 @@ func (m *QueryClientStateRequest) GetClientId() string { return "" } +func (m *QueryClientStateRequest) GetHeight() *Height { + if m != nil { + return m.Height + } + return nil +} + +func (m *QueryClientStateRequest) GetLatestHeight() bool { + if m != nil { + return m.LatestHeight + } + return false +} + // QueryClientStateResponse is the response type for the Query/ClientState RPC // method. Besides the client state, it includes a proof and the height from // which the proof was retrieved. @@ -248,8 +267,7 @@ func (m *QueryClientStatesResponse) GetPagination() *query.PageResponse { } // QueryConsensusStateRequest is the request type for the Query/ConsensusState -// RPC method. Besides the consensus state, it includes a proof and the height -// from which the proof was retrieved. +// RPC method. type QueryConsensusStateRequest struct { // client identifier ClientId string `protobuf:"bytes,1,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` @@ -324,7 +342,8 @@ func (m *QueryConsensusStateRequest) GetLatestHeight() bool { } // QueryConsensusStateResponse is the response type for the Query/ConsensusState -// RPC method +// RPC method. Besides the consensus state, it includes a proof and the height +// from which the proof was retrieved. type QueryConsensusStateResponse struct { // consensus state associated with the client identifier at the given height ConsensusState *types.Any `protobuf:"bytes,1,opt,name=consensus_state,json=consensusState,proto3" json:"consensus_state,omitempty"` @@ -793,6 +812,11 @@ func (m *QueryClientParamsResponse) GetParams() *Params { // QueryUpgradedClientStateRequest is the request type for the // Query/UpgradedClientState RPC method type QueryUpgradedClientStateRequest struct { + // the height at which to query + Height *Height `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"` + // latest_height overrides the height field and queries the latest stored + // UpgradedClientState + LatestHeight bool `protobuf:"varint,2,opt,name=latest_height,json=latestHeight,proto3" json:"latest_height,omitempty"` } func (m *QueryUpgradedClientStateRequest) Reset() { *m = QueryUpgradedClientStateRequest{} } @@ -828,6 +852,20 @@ func (m *QueryUpgradedClientStateRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryUpgradedClientStateRequest proto.InternalMessageInfo +func (m *QueryUpgradedClientStateRequest) GetHeight() *Height { + if m != nil { + return m.Height + } + return nil +} + +func (m *QueryUpgradedClientStateRequest) GetLatestHeight() bool { + if m != nil { + return m.LatestHeight + } + return false +} + // QueryUpgradedClientStateResponse is the response type for the // Query/UpgradedClientState RPC method. type QueryUpgradedClientStateResponse struct { @@ -878,6 +916,11 @@ func (m *QueryUpgradedClientStateResponse) GetUpgradedClientState() *types.Any { // QueryUpgradedConsensusStateRequest is the request type for the // Query/UpgradedConsensusState RPC method type QueryUpgradedConsensusStateRequest struct { + // the height at which to query + Height *Height `protobuf:"bytes,1,opt,name=height,proto3" json:"height,omitempty"` + // latest_height overrides the height field and queries the latest stored + // UpgradedClientState + LatestHeight bool `protobuf:"varint,2,opt,name=latest_height,json=latestHeight,proto3" json:"latest_height,omitempty"` } func (m *QueryUpgradedConsensusStateRequest) Reset() { *m = QueryUpgradedConsensusStateRequest{} } @@ -913,6 +956,20 @@ func (m *QueryUpgradedConsensusStateRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryUpgradedConsensusStateRequest proto.InternalMessageInfo +func (m *QueryUpgradedConsensusStateRequest) GetHeight() *Height { + if m != nil { + return m.Height + } + return nil +} + +func (m *QueryUpgradedConsensusStateRequest) GetLatestHeight() bool { + if m != nil { + return m.LatestHeight + } + return false +} + // QueryUpgradedConsensusStateResponse is the response type for the // Query/UpgradedConsensusState RPC method. type QueryUpgradedConsensusStateResponse struct { @@ -984,73 +1041,75 @@ func init() { func init() { proto.RegisterFile("ibc/core/client/v1/query.proto", fileDescriptor_dc42cdfd1d52d76e) } var fileDescriptor_dc42cdfd1d52d76e = []byte{ - // 1051 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcf, 0x6f, 0x1b, 0x45, - 0x14, 0xce, 0xa4, 0x69, 0xd4, 0x3e, 0xbb, 0x09, 0x9a, 0x26, 0xa9, 0xbb, 0x8d, 0x1c, 0x67, 0x83, - 0x68, 0x5a, 0x92, 0x9d, 0xc4, 0xa1, 0x49, 0x84, 0x84, 0x04, 0xa9, 0x54, 0xda, 0x4b, 0x29, 0x8b, - 0x10, 0x08, 0x09, 0x45, 0xbb, 0xeb, 0xc9, 0x66, 0x25, 0x7b, 0xc7, 0xf5, 0xec, 0x5a, 0x8a, 0xaa, - 0x5c, 0x7a, 0xe2, 0x06, 0x12, 0x12, 0x57, 0x24, 0x8e, 0x1c, 0x2a, 0x0e, 0x48, 0x5c, 0x39, 0x41, - 0x8e, 0x45, 0x70, 0xe0, 0x44, 0x51, 0xc2, 0x1f, 0x82, 0x3c, 0x33, 0x6b, 0xef, 0xda, 0xe3, 0x7a, - 0x8d, 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75, 0xe0, 0x7a, 0xeb, 0x3e, 0x23, 0xed, 0x5d, 0xd2, 0x60, 0xb5, 0xb8, 0x4e, 0xb9, 0xcc, 0xb3, - 0x51, 0x5d, 0x57, 0xa9, 0xa2, 0xa3, 0x26, 0xe5, 0xee, 0xb4, 0xb8, 0x66, 0x5b, 0xff, 0x06, 0x00, - 0x00, 0xff, 0xff, 0x6f, 0xfe, 0x1b, 0x97, 0xbd, 0x0f, 0x00, 0x00, + // 1080 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0xcf, 0x6f, 0xdc, 0x44, + 0x18, 0xcd, 0xa4, 0x69, 0xd4, 0x7e, 0xbb, 0x4d, 0xd0, 0x34, 0x49, 0x53, 0x37, 0xda, 0x6c, 0x1d, + 0x89, 0xa6, 0x25, 0xf1, 0x24, 0x0e, 0x6d, 0x22, 0x24, 0x24, 0x48, 0xa5, 0x92, 0x5e, 0x4a, 0x31, + 0x42, 0x20, 0x24, 0x14, 0xd9, 0xde, 0x89, 0x63, 0x69, 0xd7, 0xb3, 0xdd, 0xb1, 0x57, 0x0a, 0x55, + 0x2e, 0x3d, 0x71, 0x2b, 0x12, 0x12, 0x57, 0x24, 0x8e, 0x1c, 0x2a, 0x0e, 0x48, 0x5c, 0x39, 0x41, + 0x8e, 0x45, 0x70, 0xe0, 0x44, 0x51, 0xc2, 0x1f, 0x82, 0x76, 0x66, 0x9c, 0xb5, 0x77, 0x67, 0xb3, + 0xde, 0xaa, 0xe5, 0xb6, 0x9e, 0xf9, 0x7e, 0xbc, 0xf7, 0xe6, 0x79, 0x3e, 0x6b, 0xa1, 0x12, 0x7a, + 0x3e, 0xf1, 0x59, 0x8b, 0x12, 0xbf, 0x1e, 0xd2, 0x28, 0x26, 0xed, 0x75, 0xf2, 0x28, 0xa1, 0xad, + 0x03, 0xab, 0xd9, 0x62, 0x31, 0xc3, 0x38, 0xf4, 0x7c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x83, 0xd5, 0x92, 0x3a, 0xe5, 0xb2, 0xcf, 0x9a, 0xbd, 0xaa, + 0x5a, 0xc5, 0x07, 0x4d, 0xca, 0xbd, 0x49, 0x31, 0xcd, 0x36, 0xfe, 0x0b, 0x00, 0x00, 0xff, 0xff, + 0x0f, 0x0d, 0xf2, 0x53, 0xc9, 0x10, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1463,6 +1522,28 @@ func (m *QueryClientStateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l + if m.LatestHeight { + i-- + if m.LatestHeight { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.Height != nil { + { + size, err := m.Height.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } if len(m.ClientId) > 0 { i -= len(m.ClientId) copy(dAtA[i:], m.ClientId) @@ -2031,6 +2112,28 @@ func (m *QueryUpgradedClientStateRequest) MarshalToSizedBuffer(dAtA []byte) (int _ = i var l int _ = l + if m.LatestHeight { + i-- + if m.LatestHeight { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.Height != nil { + { + size, err := m.Height.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 } @@ -2089,6 +2192,28 @@ func (m *QueryUpgradedConsensusStateRequest) MarshalToSizedBuffer(dAtA []byte) ( _ = i var l int _ = l + if m.LatestHeight { + i-- + if m.LatestHeight { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.Height != nil { + { + size, err := m.Height.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 } @@ -2148,6 +2273,13 @@ func (m *QueryClientStateRequest) Size() (n int) { if l > 0 { n += 1 + l + sovQuery(uint64(l)) } + if m.Height != nil { + l = m.Height.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if m.LatestHeight { + n += 2 + } return n } @@ -2369,6 +2501,13 @@ func (m *QueryUpgradedClientStateRequest) Size() (n int) { } var l int _ = l + if m.Height != nil { + l = m.Height.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if m.LatestHeight { + n += 2 + } return n } @@ -2391,6 +2530,13 @@ func (m *QueryUpgradedConsensusStateRequest) Size() (n int) { } var l int _ = l + if m.Height != nil { + l = m.Height.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if m.LatestHeight { + n += 2 + } return n } @@ -2474,6 +2620,62 @@ func (m *QueryClientStateRequest) Unmarshal(dAtA []byte) error { } m.ClientId = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", 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.Height == nil { + m.Height = &Height{} + } + if err := m.Height.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestHeight", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.LatestHeight = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -3952,6 +4154,62 @@ func (m *QueryUpgradedClientStateRequest) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: QueryUpgradedClientStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", 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.Height == nil { + m.Height = &Height{} + } + if err := m.Height.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestHeight", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.LatestHeight = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -4088,6 +4346,62 @@ func (m *QueryUpgradedConsensusStateRequest) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: QueryUpgradedConsensusStateRequest: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", 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.Height == nil { + m.Height = &Height{} + } + if err := m.Height.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestHeight", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.LatestHeight = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) diff --git a/modules/core/02-client/types/query.pb.gw.go b/modules/core/02-client/types/query.pb.gw.go index 1e0e41f2579..7f9bf300a79 100644 --- a/modules/core/02-client/types/query.pb.gw.go +++ b/modules/core/02-client/types/query.pb.gw.go @@ -33,6 +33,10 @@ var _ = utilities.NewDoubleArray var _ = descriptor.ForMessage var _ = metadata.Join +var ( + filter_Query_ClientState_0 = &utilities.DoubleArray{Encoding: map[string]int{"client_id": 0}, Base: []int{1, 1, 0}, Check: []int{0, 1, 2}} +) + func request_Query_ClientState_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryClientStateRequest var metadata runtime.ServerMetadata @@ -55,6 +59,13 @@ func request_Query_ClientState_0(ctx context.Context, marshaler runtime.Marshale return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "client_id", err) } + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ClientState_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + msg, err := client.ClientState(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err @@ -82,6 +93,13 @@ func local_request_Query_ClientState_0(ctx context.Context, marshaler runtime.Ma return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "client_id", err) } + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_ClientState_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + msg, err := server.ClientState(ctx, &protoReq) return msg, metadata, err @@ -455,10 +473,21 @@ func local_request_Query_ClientParams_0(ctx context.Context, marshaler runtime.M } +var ( + filter_Query_UpgradedClientState_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + func request_Query_UpgradedClientState_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryUpgradedClientStateRequest 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_Query_UpgradedClientState_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + msg, err := client.UpgradedClientState(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err @@ -468,15 +497,33 @@ func local_request_Query_UpgradedClientState_0(ctx context.Context, marshaler ru var protoReq QueryUpgradedClientStateRequest 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_Query_UpgradedClientState_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + msg, err := server.UpgradedClientState(ctx, &protoReq) return msg, metadata, err } +var ( + filter_Query_UpgradedConsensusState_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)} +) + func request_Query_UpgradedConsensusState_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryUpgradedConsensusStateRequest 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_Query_UpgradedConsensusState_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + msg, err := client.UpgradedConsensusState(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err @@ -486,6 +533,13 @@ func local_request_Query_UpgradedConsensusState_0(ctx context.Context, marshaler var protoReq QueryUpgradedConsensusStateRequest 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_Query_UpgradedConsensusState_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + msg, err := server.UpgradedConsensusState(ctx, &protoReq) return msg, metadata, err diff --git a/modules/core/04-channel/types/query.pb.go b/modules/core/04-channel/types/query.pb.go index 9d3c481b71b..0221c59c268 100644 --- a/modules/core/04-channel/types/query.pb.go +++ b/modules/core/04-channel/types/query.pb.go @@ -922,6 +922,10 @@ type QueryPacketReceiptRequest struct { ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // packet sequence Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` + // the height at which to query + Height *types.Height `protobuf:"bytes,4,opt,name=height,proto3" json:"height,omitempty"` + // latest_height overrides the height field and queries the latest height + LatestHeight bool `protobuf:"varint,5,opt,name=latest_height,json=latestHeight,proto3" json:"latest_height,omitempty"` } func (m *QueryPacketReceiptRequest) Reset() { *m = QueryPacketReceiptRequest{} } @@ -978,6 +982,20 @@ func (m *QueryPacketReceiptRequest) GetSequence() uint64 { return 0 } +func (m *QueryPacketReceiptRequest) GetHeight() *types.Height { + if m != nil { + return m.Height + } + return nil +} + +func (m *QueryPacketReceiptRequest) GetLatestHeight() bool { + if m != nil { + return m.LatestHeight + } + return false +} + // QueryPacketReceiptResponse defines the client query response for a packet // receipt which also includes a proof, and the height from which the proof was // retrieved @@ -1053,6 +1071,10 @@ type QueryPacketAcknowledgementRequest struct { ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"` // packet sequence Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` + // the height at which to query + Height *types.Height `protobuf:"bytes,4,opt,name=height,proto3" json:"height,omitempty"` + // latest_height overrides the height field and queries the latest height + LatestHeight bool `protobuf:"varint,5,opt,name=latest_height,json=latestHeight,proto3" json:"latest_height,omitempty"` } func (m *QueryPacketAcknowledgementRequest) Reset() { *m = QueryPacketAcknowledgementRequest{} } @@ -1109,6 +1131,20 @@ func (m *QueryPacketAcknowledgementRequest) GetSequence() uint64 { return 0 } +func (m *QueryPacketAcknowledgementRequest) GetHeight() *types.Height { + if m != nil { + return m.Height + } + return nil +} + +func (m *QueryPacketAcknowledgementRequest) GetLatestHeight() bool { + if m != nil { + return m.LatestHeight + } + return false +} + // QueryPacketAcknowledgementResponse defines the client query response for a // packet which also includes a proof and the height from which the // proof was retrieved @@ -2152,117 +2188,119 @@ func init() { func init() { proto.RegisterFile("ibc/core/channel/v1/query.proto", fileDescriptor_1034a1e9abc4cca1) } var fileDescriptor_1034a1e9abc4cca1 = []byte{ - // 1757 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xcf, 0x6f, 0x14, 0x47, - 0x16, 0x76, 0xd9, 0xc6, 0x3f, 0x0a, 0x03, 0xa6, 0x6c, 0x2f, 0xa6, 0x6d, 0x8f, 0xcd, 0xa0, 0x5d, - 0x0c, 0x5a, 0xba, 0xb1, 0xcd, 0xb2, 0xde, 0x15, 0x8b, 0x84, 0xbd, 0xbb, 0x60, 0xb4, 0x80, 0x69, - 0x2f, 0x09, 0x20, 0x25, 0x93, 0x9e, 0x9e, 0x62, 0xdc, 0xb2, 0xa7, 0xbb, 0x99, 0xee, 0x19, 0x40, - 0x8e, 0xa3, 0x28, 0x07, 0xc2, 0x31, 0x0a, 0x8a, 0x22, 0xe5, 0x12, 0x29, 0xa7, 0x10, 0x29, 0x8a, - 0xf2, 0x17, 0xe4, 0x92, 0x03, 0xb7, 0x20, 0x91, 0x43, 0x24, 0x24, 0x12, 0x61, 0x22, 0x72, 0xcd, - 0x25, 0xe7, 0xa8, 0xab, 0x5e, 0xf5, 0x74, 0xcf, 0x74, 0xb7, 0x3d, 0x6e, 0x8f, 0x84, 0x72, 0x9b, - 0xae, 0xae, 0xf7, 0xea, 0xfb, 0xbe, 0x57, 0xf5, 0xba, 0xde, 0xb3, 0xf1, 0xb8, 0x91, 0xd7, 0x15, - 0xdd, 0x2a, 0x53, 0x45, 0x5f, 0xd6, 0x4c, 0x93, 0xae, 0x2a, 0xd5, 0x29, 0xe5, 0x56, 0x85, 0x96, - 0xef, 0xca, 0x76, 0xd9, 0x72, 0x2d, 0x32, 0x60, 0xe4, 0x75, 0xd9, 0x9b, 0x20, 0xc3, 0x04, 0xb9, - 0x3a, 0x25, 0x05, 0xac, 0x56, 0x0d, 0x6a, 0xba, 0x9e, 0x11, 0xff, 0xc5, 0xad, 0xa4, 0x63, 0xba,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0xec, 0x32, 0x81, 0x19, - 0x20, 0x15, 0x26, 0xad, 0x14, 0x60, 0x04, 0xc2, 0x08, 0x75, 0xdc, 0xa2, 0x56, 0xd6, 0x4a, 0x22, - 0x57, 0x66, 0xaf, 0x40, 0x26, 0xad, 0x7b, 0x09, 0x9c, 0x66, 0x70, 0x97, 0xcd, 0x46, 0x80, 0xd2, - 0x48, 0xcc, 0x37, 0x94, 0x19, 0xc1, 0xd4, 0xe9, 0x9f, 0x47, 0xf0, 0x2e, 0xe6, 0x93, 0x7c, 0x86, - 0x70, 0x37, 0x38, 0x26, 0x93, 0x91, 0xa6, 0x11, 0xfd, 0x3f, 0xe9, 0xe8, 0x16, 0x66, 0x72, 0x7c, - 0xd9, 0xb9, 0xf7, 0x9e, 0xbc, 0x78, 0xd0, 0x7e, 0x9a, 0xfc, 0x53, 0x49, 0xe8, 0x6f, 0x3a, 0xca, - 0x5a, 0x2d, 0xa0, 0xeb, 0x8a, 0x17, 0x66, 0x47, 0x59, 0x83, 0xe0, 0xaf, 0x93, 0xfb, 0x08, 0xf7, - 0x88, 0x7e, 0x0d, 0xd9, 0x7c, 0x6d, 0xa1, 0x9c, 0x74, 0x6c, 0x2b, 0x53, 0x01, 0xe7, 0x9f, 0x19, - 0xce, 0x71, 0x32, 0x96, 0x88, 0x93, 0x7c, 0x83, 0x30, 0x69, 0x6c, 0x22, 0x91, 0x99, 0x84, 0x95, - 0xe2, 0xba, 0x5f, 0xd2, 0xc9, 0xe6, 0x8c, 0x00, 0xe8, 0x19, 0x06, 0x74, 0x96, 0x9c, 0x8a, 0x06, - 0xea, 0x1b, 0x7a, 0x9a, 0xfa, 0x0f, 0xeb, 0x35, 0x06, 0x8f, 0x3d, 0x06, 0x0d, 0x1d, 0x9c, 0x44, - 0x06, 0x71, 0xad, 0xa4, 0x44, 0x06, 0xb1, 0x4d, 0xa2, 0xec, 0x65, 0xc6, 0x60, 0x81, 0x9c, 0xdb, - 0xfe, 0x96, 0x50, 0x82, 0xad, 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, 0xae, 0xbf, 0x2f, 0x67, - 0x9b, 0x37, 0x04, 0xa2, 0x37, 0x18, 0xd1, 0xff, 0x13, 0x75, 0x47, 0x88, 0x86, 0xe9, 0xdc, 0x6b, - 0xc7, 0xfb, 0x1b, 0xaa, 0xc9, 0xa4, 0x73, 0x17, 0x57, 0x13, 0x27, 0x9d, 0xbb, 0xd8, 0x72, 0x75, - 0x87, 0xd2, 0x6b, 0x54, 0x6a, 0x49, 0xa8, 0xb3, 0xd7, 0x95, 0x8a, 0x0f, 0x28, 0x67, 0x03, 0xe5, - 0x5f, 0x11, 0xde, 0x1b, 0xae, 0x29, 0x89, 0xb2, 0x15, 0x46, 0x81, 0x2a, 0x58, 0x3a, 0xb1, 0x75, - 0x03, 0xe0, 0xff, 0x36, 0xa3, 0x5f, 0x25, 0x6e, 0x6b, 0xd8, 0x87, 0x8a, 0xea, 0x10, 0x6d, 0x6f, - 0xc7, 0x93, 0xef, 0x11, 0x1e, 0x88, 0x28, 0x3a, 0x49, 0xc2, 0x35, 0x20, 0xbe, 0xfe, 0x95, 0xfe, - 0xd6, 0xa4, 0x15, 0x48, 0xb0, 0xc8, 0x24, 0xb8, 0x40, 0xce, 0xa7, 0x90, 0x20, 0x54, 0x11, 0x7a, - 0x37, 0xa2, 0xfe, 0xfa, 0xfa, 0x31, 0xe9, 0x4b, 0x19, 0x53, 0xc4, 0x26, 0x7d, 0x29, 0xe3, 0xca, - 0xd3, 0x1d, 0xf9, 0x90, 0x34, 0xd6, 0xb7, 0xde, 0x35, 0xb5, 0x2f, 0x58, 0x13, 0x92, 0xe3, 0x09, - 0x5b, 0xad, 0xb1, 0x20, 0x95, 0xe4, 0xad, 0x4e, 0xdf, 0xc1, 0xa0, 0x40, 0x9d, 0x95, 0x63, 0x55, - 0x27, 0xf9, 0x02, 0xe1, 0x6e, 0x58, 0x2a, 0xa9, 0x30, 0x09, 0x97, 0x8c, 0x49, 0x85, 0x49, 0x5d, - 0x31, 0x98, 0xbd, 0xc0, 0x20, 0xff, 0x9b, 0xcc, 0xa5, 0x87, 0x4c, 0x3e, 0x42, 0x78, 0x4f, 0xa8, - 0x3c, 0x4b, 0xfa, 0x6e, 0x47, 0x15, 0x79, 0x49, 0xdf, 0xed, 0xc8, 0xba, 0x2f, 0x7b, 0x98, 0xc1, - 0x1f, 0x23, 0x23, 0x91, 0xf0, 0x79, 0x9d, 0x37, 0xb7, 0xf4, 0xe8, 0x79, 0x06, 0x3d, 0x7e, 0x9e, - 0x41, 0x3f, 0x3d, 0xcf, 0xa0, 0x0f, 0x36, 0x32, 0x6d, 0x8f, 0x37, 0x32, 0x6d, 0x3f, 0x6c, 0x64, - 0xda, 0x6e, 0xfc, 0xa3, 0x68, 0xb8, 0xcb, 0x95, 0xbc, 0xac, 0x5b, 0x25, 0x05, 0xfe, 0x49, 0xc5, - 0xc8, 0xeb, 0xc7, 0x8b, 0x96, 0x52, 0x9d, 0x55, 0x4a, 0x56, 0xa1, 0xb2, 0x4a, 0x1d, 0xee, 0xf5, - 0xc4, 0xc9, 0xe3, 0xc2, 0xb1, 0x7b, 0xd7, 0xa6, 0x4e, 0xbe, 0x8b, 0xfd, 0xb5, 0x70, 0xe6, 0xf7, - 0x00, 0x00, 0x00, 0xff, 0xff, 0xe0, 0x50, 0xcd, 0xd6, 0x34, 0x23, 0x00, 0x00, + // 1787 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xcf, 0x6f, 0xdc, 0xc4, + 0x17, 0xcf, 0x24, 0x69, 0x7e, 0x4c, 0x93, 0x36, 0x9d, 0x24, 0xdf, 0xa6, 0x4e, 0xb2, 0x49, 0xb7, + 0xfa, 0x7e, 0x9b, 0x56, 0xdf, 0xda, 0x4d, 0x52, 0x4a, 0x40, 0xa5, 0x52, 0x13, 0xa0, 0x4d, 0x45, + 0xdb, 0xd4, 0xa1, 0xd0, 0x56, 0x82, 0xc5, 0xeb, 0x9d, 0x6e, 0xac, 0x64, 0xed, 0xed, 0xda, 0xbb, + 0xb4, 0x0a, 0x41, 0x88, 0x43, 0xe9, 0x11, 0x51, 0x21, 0x24, 0x2e, 0x48, 0x9c, 0x28, 0x12, 0x42, + 0xfc, 0x05, 0x5c, 0x38, 0xf4, 0x46, 0xa4, 0x72, 0x40, 0xaa, 0x54, 0x50, 0x53, 0x54, 0xae, 0x5c, + 0x38, 0x23, 0xcf, 0xbc, 0xf1, 0xda, 0xbb, 0xb6, 0x93, 0x8d, 0xb3, 0x52, 0xc5, 0x6d, 0x3d, 0x9e, + 0xf7, 0xe6, 0xf3, 0xf9, 0xbc, 0x99, 0x37, 0x7e, 0x2f, 0xc1, 0x63, 0x46, 0x56, 0x57, 0x74, 0xab, + 0x44, 0x15, 0x7d, 0x49, 0x33, 0x4d, 0xba, 0xa2, 0x54, 0x26, 0x95, 0x9b, 0x65, 0x5a, 0xba, 0x2d, + 0x17, 0x4b, 0x96, 0x63, 0x91, 0x7e, 0x23, 0xab, 0xcb, 0xee, 0x04, 0x19, 0x26, 0xc8, 0x95, 0x49, + 0xc9, 0x67, 0xb5, 0x62, 0x50, 0xd3, 0x71, 0x8d, 0xf8, 0x2f, 0x6e, 0x25, 0x1d, 0xd5, 0x2d, 0xbb, + 0x60, 0xd9, 0x4a, 0x56, 0xb3, 0x29, 0x77, 0xa7, 0x54, 0x26, 0xb3, 0xd4, 0xd1, 0x26, 0x95, 0xa2, + 0x96, 0x37, 0x4c, 0xcd, 0x31, 0x2c, 0x13, 0xe6, 0x1e, 0x0c, 0x83, 0x20, 0x16, 0xe3, 0x53, 0x46, + 0xf2, 0x96, 0x95, 0x5f, 0xa1, 0x8a, 0x56, 0x34, 0x14, 0xcd, 0x34, 0x2d, 0x87, 0xd9, 0xdb, 0xf0, + 0xf6, 0x00, 0xbc, 0x65, 0x4f, 0xd9, 0xf2, 0x0d, 0x45, 0x33, 0x01, 0xbd, 0x34, 0x90, 0xb7, 0xf2, + 0x16, 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0x59, 0xad, 0xe9, 0x7a, 0xad, 0x29, 0x3c, + 0xed, 0xf8, 0x5e, 0xf0, 0x81, 0x35, 0xf2, 0x08, 0xe1, 0xbe, 0xda, 0xd6, 0x01, 0x99, 0x8c, 0xe6, + 0x15, 0xd1, 0x1a, 0x92, 0xa6, 0x1a, 0x31, 0x01, 0x15, 0xde, 0x63, 0x22, 0x5c, 0x27, 0x57, 0x13, + 0x68, 0x50, 0xf7, 0xe1, 0x6b, 0x2b, 0xab, 0xe2, 0x12, 0x5f, 0x23, 0x0f, 0x11, 0xde, 0x57, 0xd7, + 0x18, 0x21, 0x0d, 0x60, 0xf5, 0x4e, 0xe1, 0x74, 0x43, 0x36, 0x40, 0xf0, 0x0a, 0x23, 0x78, 0x89, + 0x5c, 0xd8, 0x51, 0x82, 0xe4, 0x67, 0x84, 0x7b, 0x03, 0x9d, 0x03, 0x22, 0x6f, 0x86, 0x2e, 0xd8, + 0x2d, 0x91, 0x94, 0x2d, 0xcf, 0x07, 0x26, 0xef, 0x30, 0x26, 0x6f, 0x93, 0x2b, 0xc9, 0x99, 0xc0, + 0x67, 0x46, 0x20, 0x4e, 0x1b, 0x08, 0x0f, 0x86, 0xd6, 0x83, 0x71, 0x47, 0x33, 0xae, 0x4d, 0x11, + 0x77, 0x34, 0x63, 0x7b, 0x01, 0xe9, 0x6b, 0x8c, 0xe9, 0x22, 0xb9, 0x9c, 0x9c, 0xa9, 0xa6, 0x2f, + 0x07, 0x58, 0x3e, 0x43, 0xf8, 0x3f, 0xe1, 0x55, 0x2f, 0x69, 0x14, 0xae, 0xb7, 0x2f, 0x67, 0x1a, + 0x37, 0x04, 0xa2, 0xd7, 0x19, 0xd1, 0x37, 0x89, 0xba, 0x23, 0x44, 0x83, 0x74, 0xee, 0xb4, 0xe2, + 0x7d, 0x75, 0xd5, 0x64, 0xdc, 0xb9, 0x8b, 0xaa, 0x89, 0xe3, 0xce, 0x5d, 0x64, 0xb9, 0xba, 0x43, + 0xe9, 0x35, 0x2c, 0xb5, 0xc4, 0xd4, 0xd9, 0x6b, 0x4a, 0xd9, 0x03, 0x94, 0x29, 0x02, 0xe5, 0xbf, + 0x10, 0xde, 0x13, 0xac, 0x29, 0x89, 0xb2, 0x15, 0x46, 0xbe, 0x2a, 0x58, 0x3a, 0xbe, 0x75, 0x03, + 0xe0, 0xff, 0x01, 0xa3, 0x5f, 0x21, 0x4e, 0x73, 0xd8, 0x07, 0x8a, 0xea, 0x00, 0x6d, 0x77, 0xc7, + 0x93, 0x5f, 0x10, 0xee, 0x0f, 0x29, 0x3a, 0x49, 0xcc, 0x67, 0x40, 0x74, 0xfd, 0x2b, 0xbd, 0xd0, + 0xa0, 0x15, 0x48, 0xb0, 0xc0, 0x24, 0x38, 0x4f, 0xce, 0x25, 0x90, 0x20, 0x50, 0x11, 0xba, 0x5f, + 0x44, 0x7d, 0xb5, 0xf5, 0x63, 0xdc, 0x4d, 0x19, 0x51, 0xc4, 0xc6, 0xdd, 0x94, 0x51, 0xe5, 0xe9, + 0x8e, 0x5c, 0x24, 0xf5, 0xf5, 0xad, 0xfb, 0x99, 0xda, 0xe3, 0xaf, 0x09, 0xc9, 0xb1, 0x98, 0xad, + 0x56, 0x5f, 0x90, 0x4a, 0xf2, 0x56, 0xa7, 0xef, 0x60, 0x50, 0xa0, 0xce, 0xca, 0xb0, 0xaa, 0x93, + 0x7c, 0x8b, 0x70, 0x27, 0x2c, 0x15, 0x57, 0x98, 0x04, 0x4b, 0xc6, 0xb8, 0xc2, 0xa4, 0xa6, 0x18, + 0x4c, 0x9f, 0x67, 0x90, 0x5f, 0x25, 0xb3, 0xc9, 0x21, 0x93, 0xcf, 0x11, 0xee, 0x0d, 0x94, 0x67, + 0x71, 0xf7, 0x76, 0x58, 0x91, 0x17, 0x77, 0x6f, 0x87, 0xd6, 0x7d, 0xe9, 0x43, 0x0c, 0xfe, 0x28, + 0x19, 0x0e, 0x85, 0xcf, 0xeb, 0xbc, 0xd9, 0xc5, 0x07, 0x4f, 0x52, 0x68, 0xfd, 0x49, 0x0a, 0xfd, + 0xfe, 0x24, 0x85, 0x3e, 0xdd, 0x48, 0xb5, 0xac, 0x6f, 0xa4, 0x5a, 0x7e, 0xdd, 0x48, 0xb5, 0x5c, + 0x7f, 0x29, 0x6f, 0x38, 0x4b, 0xe5, 0xac, 0xac, 0x5b, 0x05, 0x05, 0xfe, 0xb1, 0xc6, 0xc8, 0xea, + 0xc7, 0xf2, 0x96, 0x52, 0x99, 0x51, 0x0a, 0x56, 0xae, 0xbc, 0x42, 0x6d, 0xee, 0xf5, 0xf8, 0x89, + 0x63, 0xc2, 0xb1, 0x73, 0xbb, 0x48, 0xed, 0x6c, 0x07, 0xfb, 0x0b, 0xe7, 0xf4, 0x3f, 0x01, 0x00, + 0x00, 0xff, 0xff, 0x1b, 0xb9, 0x54, 0xbc, 0xe8, 0x23, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3667,6 +3705,28 @@ func (m *QueryPacketReceiptRequest) MarshalToSizedBuffer(dAtA []byte) (int, erro _ = i var l int _ = l + if m.LatestHeight { + i-- + if m.LatestHeight { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.Height != nil { + { + size, err := m.Height.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } if m.Sequence != 0 { i = encodeVarintQuery(dAtA, i, uint64(m.Sequence)) i-- @@ -3759,6 +3819,28 @@ func (m *QueryPacketAcknowledgementRequest) MarshalToSizedBuffer(dAtA []byte) (i _ = i var l int _ = l + if m.LatestHeight { + i-- + if m.LatestHeight { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.Height != nil { + { + size, err := m.Height.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintQuery(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + } if m.Sequence != 0 { i = encodeVarintQuery(dAtA, i, uint64(m.Sequence)) i-- @@ -3849,20 +3931,20 @@ func (m *QueryPacketAcknowledgementsRequest) MarshalToSizedBuffer(dAtA []byte) ( var l int _ = l if len(m.PacketCommitmentSequences) > 0 { - dAtA20 := make([]byte, len(m.PacketCommitmentSequences)*10) - var j19 int + dAtA22 := make([]byte, len(m.PacketCommitmentSequences)*10) + var j21 int for _, num := range m.PacketCommitmentSequences { for num >= 1<<7 { - dAtA20[j19] = uint8(uint64(num)&0x7f | 0x80) + dAtA22[j21] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j19++ + j21++ } - dAtA20[j19] = uint8(num) - j19++ + dAtA22[j21] = uint8(num) + j21++ } - i -= j19 - copy(dAtA[i:], dAtA20[:j19]) - i = encodeVarintQuery(dAtA, i, uint64(j19)) + i -= j21 + copy(dAtA[i:], dAtA22[:j21]) + i = encodeVarintQuery(dAtA, i, uint64(j21)) i-- dAtA[i] = 0x22 } @@ -3975,20 +4057,20 @@ func (m *QueryUnreceivedPacketsRequest) MarshalToSizedBuffer(dAtA []byte) (int, var l int _ = l if len(m.PacketCommitmentSequences) > 0 { - dAtA25 := make([]byte, len(m.PacketCommitmentSequences)*10) - var j24 int + dAtA27 := make([]byte, len(m.PacketCommitmentSequences)*10) + var j26 int for _, num := range m.PacketCommitmentSequences { for num >= 1<<7 { - dAtA25[j24] = uint8(uint64(num)&0x7f | 0x80) + dAtA27[j26] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j24++ + j26++ } - dAtA25[j24] = uint8(num) - j24++ + dAtA27[j26] = uint8(num) + j26++ } - i -= j24 - copy(dAtA[i:], dAtA25[:j24]) - i = encodeVarintQuery(dAtA, i, uint64(j24)) + i -= j26 + copy(dAtA[i:], dAtA27[:j26]) + i = encodeVarintQuery(dAtA, i, uint64(j26)) i-- dAtA[i] = 0x1a } @@ -4040,20 +4122,20 @@ func (m *QueryUnreceivedPacketsResponse) MarshalToSizedBuffer(dAtA []byte) (int, i-- dAtA[i] = 0x12 if len(m.Sequences) > 0 { - dAtA28 := make([]byte, len(m.Sequences)*10) - var j27 int + dAtA30 := make([]byte, len(m.Sequences)*10) + var j29 int for _, num := range m.Sequences { for num >= 1<<7 { - dAtA28[j27] = uint8(uint64(num)&0x7f | 0x80) + dAtA30[j29] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j27++ + j29++ } - dAtA28[j27] = uint8(num) - j27++ + dAtA30[j29] = uint8(num) + j29++ } - i -= j27 - copy(dAtA[i:], dAtA28[:j27]) - i = encodeVarintQuery(dAtA, i, uint64(j27)) + i -= j29 + copy(dAtA[i:], dAtA30[:j29]) + i = encodeVarintQuery(dAtA, i, uint64(j29)) i-- dAtA[i] = 0xa } @@ -4081,20 +4163,20 @@ func (m *QueryUnreceivedAcksRequest) MarshalToSizedBuffer(dAtA []byte) (int, err var l int _ = l if len(m.PacketAckSequences) > 0 { - dAtA30 := make([]byte, len(m.PacketAckSequences)*10) - var j29 int + dAtA32 := make([]byte, len(m.PacketAckSequences)*10) + var j31 int for _, num := range m.PacketAckSequences { for num >= 1<<7 { - dAtA30[j29] = uint8(uint64(num)&0x7f | 0x80) + dAtA32[j31] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j29++ + j31++ } - dAtA30[j29] = uint8(num) - j29++ + dAtA32[j31] = uint8(num) + j31++ } - i -= j29 - copy(dAtA[i:], dAtA30[:j29]) - i = encodeVarintQuery(dAtA, i, uint64(j29)) + i -= j31 + copy(dAtA[i:], dAtA32[:j31]) + i = encodeVarintQuery(dAtA, i, uint64(j31)) i-- dAtA[i] = 0x1a } @@ -4146,20 +4228,20 @@ func (m *QueryUnreceivedAcksResponse) MarshalToSizedBuffer(dAtA []byte) (int, er i-- dAtA[i] = 0x12 if len(m.Sequences) > 0 { - dAtA33 := make([]byte, len(m.Sequences)*10) - var j32 int + dAtA35 := make([]byte, len(m.Sequences)*10) + var j34 int for _, num := range m.Sequences { for num >= 1<<7 { - dAtA33[j32] = uint8(uint64(num)&0x7f | 0x80) + dAtA35[j34] = uint8(uint64(num)&0x7f | 0x80) num >>= 7 - j32++ + j34++ } - dAtA33[j32] = uint8(num) - j32++ + dAtA35[j34] = uint8(num) + j34++ } - i -= j32 - copy(dAtA[i:], dAtA33[:j32]) - i = encodeVarintQuery(dAtA, i, uint64(j32)) + i -= j34 + copy(dAtA[i:], dAtA35[:j34]) + i = encodeVarintQuery(dAtA, i, uint64(j34)) i-- dAtA[i] = 0xa } @@ -4861,6 +4943,13 @@ func (m *QueryPacketReceiptRequest) Size() (n int) { if m.Sequence != 0 { n += 1 + sovQuery(uint64(m.Sequence)) } + if m.Height != nil { + l = m.Height.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if m.LatestHeight { + n += 2 + } return n } @@ -4899,6 +4988,13 @@ func (m *QueryPacketAcknowledgementRequest) Size() (n int) { if m.Sequence != 0 { n += 1 + sovQuery(uint64(m.Sequence)) } + if m.Height != nil { + l = m.Height.Size() + n += 1 + l + sovQuery(uint64(l)) + } + if m.LatestHeight { + n += 2 + } return n } @@ -7300,6 +7396,62 @@ func (m *QueryPacketReceiptRequest) Unmarshal(dAtA []byte) error { break } } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", 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.Height == nil { + m.Height = &types.Height{} + } + if err := m.Height.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestHeight", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.LatestHeight = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) @@ -7570,6 +7722,62 @@ func (m *QueryPacketAcknowledgementRequest) Unmarshal(dAtA []byte) error { break } } + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Height", 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.Height == nil { + m.Height = &types.Height{} + } + if err := m.Height.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LatestHeight", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowQuery + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.LatestHeight = bool(v != 0) default: iNdEx = preIndex skippy, err := skipQuery(dAtA[iNdEx:]) diff --git a/modules/core/04-channel/types/query.pb.gw.go b/modules/core/04-channel/types/query.pb.gw.go index bce31252f8b..e4a24420dba 100644 --- a/modules/core/04-channel/types/query.pb.gw.go +++ b/modules/core/04-channel/types/query.pb.gw.go @@ -605,6 +605,10 @@ func local_request_Query_PacketCommitments_0(ctx context.Context, marshaler runt } +var ( + filter_Query_PacketReceipt_0 = &utilities.DoubleArray{Encoding: map[string]int{"channel_id": 0, "port_id": 1, "sequence": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} +) + func request_Query_PacketReceipt_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryPacketReceiptRequest var metadata runtime.ServerMetadata @@ -649,6 +653,13 @@ func request_Query_PacketReceipt_0(ctx context.Context, marshaler runtime.Marsha return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sequence", err) } + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_PacketReceipt_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + msg, err := client.PacketReceipt(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err @@ -698,11 +709,22 @@ func local_request_Query_PacketReceipt_0(ctx context.Context, marshaler runtime. return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sequence", err) } + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_PacketReceipt_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + msg, err := server.PacketReceipt(ctx, &protoReq) return msg, metadata, err } +var ( + filter_Query_PacketAcknowledgement_0 = &utilities.DoubleArray{Encoding: map[string]int{"channel_id": 0, "port_id": 1, "sequence": 2}, Base: []int{1, 1, 2, 3, 0, 0, 0}, Check: []int{0, 1, 1, 1, 2, 3, 4}} +) + func request_Query_PacketAcknowledgement_0(ctx context.Context, marshaler runtime.Marshaler, client QueryClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) { var protoReq QueryPacketAcknowledgementRequest var metadata runtime.ServerMetadata @@ -747,6 +769,13 @@ func request_Query_PacketAcknowledgement_0(ctx context.Context, marshaler runtim return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sequence", err) } + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_PacketAcknowledgement_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + msg, err := client.PacketAcknowledgement(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD)) return msg, metadata, err @@ -796,6 +825,13 @@ func local_request_Query_PacketAcknowledgement_0(ctx context.Context, marshaler return nil, metadata, status.Errorf(codes.InvalidArgument, "type mismatch, parameter: %s, error: %v", "sequence", err) } + if err := req.ParseForm(); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + if err := runtime.PopulateQueryParameters(&protoReq, req.Form, filter_Query_PacketAcknowledgement_0); err != nil { + return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err) + } + msg, err := server.PacketAcknowledgement(ctx, &protoReq) return msg, metadata, err diff --git a/proto/ibc/core/channel/v1/query.proto b/proto/ibc/core/channel/v1/query.proto index f89d212736a..83a1e01878d 100644 --- a/proto/ibc/core/channel/v1/query.proto +++ b/proto/ibc/core/channel/v1/query.proto @@ -279,6 +279,10 @@ message QueryPacketReceiptRequest { string channel_id = 2; // packet sequence uint64 sequence = 3; + // the height at which to query + ibc.core.client.v1.Height height = 4; + // latest_height overrides the height field and queries the latest height + bool latest_height = 5; } // QueryPacketReceiptResponse defines the client query response for a packet @@ -302,6 +306,10 @@ message QueryPacketAcknowledgementRequest { string channel_id = 2; // packet sequence uint64 sequence = 3; + // the height at which to query + ibc.core.client.v1.Height height = 4; + // latest_height overrides the height field and queries the latest height + bool latest_height = 5; } // QueryPacketAcknowledgementResponse defines the client query response for a @@ -456,4 +464,4 @@ message QueryChannelParamsRequest {} message QueryChannelParamsResponse { // params defines the parameters of the module. Params params = 1; -} \ No newline at end of file +} diff --git a/proto/ibc/core/client/v1/query.proto b/proto/ibc/core/client/v1/query.proto index c5f053010ce..95edb6f2960 100644 --- a/proto/ibc/core/client/v1/query.proto +++ b/proto/ibc/core/client/v1/query.proto @@ -67,6 +67,11 @@ service Query { message QueryClientStateRequest { // client state unique identifier string client_id = 1; + // the height at which to query + ibc.core.client.v1.Height height = 2; + // latest_height overrides the height field and queries the latest stored + // ClientState + bool latest_height = 3; } // QueryClientStateResponse is the response type for the Query/ClientState RPC @@ -99,8 +104,7 @@ message QueryClientStatesResponse { } // QueryConsensusStateRequest is the request type for the Query/ConsensusState -// RPC method. Besides the consensus state, it includes a proof and the height -// from which the proof was retrieved. +// RPC method. message QueryConsensusStateRequest { // client identifier string client_id = 1; @@ -114,7 +118,8 @@ message QueryConsensusStateRequest { } // QueryConsensusStateResponse is the response type for the Query/ConsensusState -// RPC method +// RPC method. Besides the consensus state, it includes a proof and the height +// from which the proof was retrieved. message QueryConsensusStateResponse { // consensus state associated with the client identifier at the given height google.protobuf.Any consensus_state = 1; @@ -186,7 +191,13 @@ message QueryClientParamsResponse { // QueryUpgradedClientStateRequest is the request type for the // Query/UpgradedClientState RPC method -message QueryUpgradedClientStateRequest {} +message QueryUpgradedClientStateRequest { + // the height at which to query + ibc.core.client.v1.Height height = 1; + // latest_height overrides the height field and queries the latest stored + // UpgradedClientState + bool latest_height = 2; +} // QueryUpgradedClientStateResponse is the response type for the // Query/UpgradedClientState RPC method. @@ -197,7 +208,13 @@ message QueryUpgradedClientStateResponse { // QueryUpgradedConsensusStateRequest is the request type for the // Query/UpgradedConsensusState RPC method -message QueryUpgradedConsensusStateRequest {} +message QueryUpgradedConsensusStateRequest { + // the height at which to query + ibc.core.client.v1.Height height = 1; + // latest_height overrides the height field and queries the latest stored + // UpgradedClientState + bool latest_height = 2; +} // QueryUpgradedConsensusStateResponse is the response type for the // Query/UpgradedConsensusState RPC method.