diff --git a/modules/apps/29-fee/keeper/grpc_query.go b/modules/apps/29-fee/keeper/grpc_query.go index 7f58f5a1d3d..a1485824a4d 100644 --- a/modules/apps/29-fee/keeper/grpc_query.go +++ b/modules/apps/29-fee/keeper/grpc_query.go @@ -25,7 +25,7 @@ func (k Keeper) IncentivizedPackets(goCtx context.Context, req *types.QueryIncen var identifiedPackets []types.IdentifiedPacketFees store := prefix.NewStore(ctx.KVStore(k.storeKey), []byte(types.FeesInEscrowPrefix)) - _, err := query.Paginate(store, req.Pagination, func(key, value []byte) error { + pagination, err := query.Paginate(store, req.Pagination, func(key, value []byte) error { packetID, err := types.ParseKeyFeesInEscrow(types.FeesInEscrowPrefix + string(key)) if err != nil { return err @@ -41,6 +41,7 @@ func (k Keeper) IncentivizedPackets(goCtx context.Context, req *types.QueryIncen return &types.QueryIncentivizedPacketsResponse{ IncentivizedPackets: identifiedPackets, + Pagination: pagination, }, nil } @@ -75,7 +76,7 @@ func (k Keeper) IncentivizedPacketsForChannel(goCtx context.Context, req *types. var packets []*types.IdentifiedPacketFees keyPrefix := types.KeyFeesInEscrowChannelPrefix(req.PortId, req.ChannelId) store := prefix.NewStore(ctx.KVStore(k.storeKey), keyPrefix) - _, err := query.Paginate(store, req.Pagination, func(key, value []byte) error { + pagination, err := query.Paginate(store, req.Pagination, func(key, value []byte) error { packetID, err := types.ParseKeyFeesInEscrow(string(keyPrefix) + string(key)) if err != nil { return err @@ -94,6 +95,7 @@ func (k Keeper) IncentivizedPacketsForChannel(goCtx context.Context, req *types. return &types.QueryIncentivizedPacketsForChannelResponse{ IncentivizedPackets: packets, + Pagination: pagination, }, nil } @@ -217,7 +219,7 @@ func (k Keeper) FeeEnabledChannels(goCtx context.Context, req *types.QueryFeeEna var feeEnabledChannels []types.FeeEnabledChannel store := prefix.NewStore(ctx.KVStore(k.storeKey), []byte(types.FeeEnabledKeyPrefix)) - _, err := query.Paginate(store, req.Pagination, func(key, value []byte) error { + pagination, err := query.Paginate(store, req.Pagination, func(key, value []byte) error { portID, channelID, err := types.ParseKeyFeeEnabled(types.FeeEnabledKeyPrefix + string(key)) if err != nil { return err @@ -238,6 +240,7 @@ func (k Keeper) FeeEnabledChannels(goCtx context.Context, req *types.QueryFeeEna return &types.QueryFeeEnabledChannelsResponse{ FeeEnabledChannels: feeEnabledChannels, + Pagination: pagination, }, nil } diff --git a/modules/apps/29-fee/types/query.pb.go b/modules/apps/29-fee/types/query.pb.go index d7bca5134dd..379d32bca12 100644 --- a/modules/apps/29-fee/types/query.pb.go +++ b/modules/apps/29-fee/types/query.pb.go @@ -92,6 +92,8 @@ func (m *QueryIncentivizedPacketsRequest) GetQueryHeight() uint64 { type QueryIncentivizedPacketsResponse struct { // list of identified fees for incentivized packets IncentivizedPackets []IdentifiedPacketFees `protobuf:"bytes,1,rep,name=incentivized_packets,json=incentivizedPackets,proto3" json:"incentivized_packets"` + // pagination defines the pagination in the response. + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } func (m *QueryIncentivizedPacketsResponse) Reset() { *m = QueryIncentivizedPacketsResponse{} } @@ -134,6 +136,13 @@ func (m *QueryIncentivizedPacketsResponse) GetIncentivizedPackets() []Identified return nil } +func (m *QueryIncentivizedPacketsResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil +} + // QueryIncentivizedPacketRequest defines the request type for the IncentivizedPacket rpc type QueryIncentivizedPacketRequest struct { // unique packet identifier comprised of channel ID, port ID and sequence @@ -315,6 +324,8 @@ func (m *QueryIncentivizedPacketsForChannelRequest) GetQueryHeight() uint64 { type QueryIncentivizedPacketsForChannelResponse struct { // Map of all incentivized_packets IncentivizedPackets []*IdentifiedPacketFees `protobuf:"bytes,1,rep,name=incentivized_packets,json=incentivizedPackets,proto3" json:"incentivized_packets,omitempty"` + // pagination defines the pagination in the response. + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } func (m *QueryIncentivizedPacketsForChannelResponse) Reset() { @@ -361,6 +372,13 @@ func (m *QueryIncentivizedPacketsForChannelResponse) GetIncentivizedPackets() [] return nil } +func (m *QueryIncentivizedPacketsForChannelResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil +} + // QueryTotalRecvFeesRequest defines the request type for the TotalRecvFees rpc type QueryTotalRecvFeesRequest struct { // the packet identifier for the associated fees @@ -898,6 +916,8 @@ func (m *QueryFeeEnabledChannelsRequest) GetQueryHeight() uint64 { type QueryFeeEnabledChannelsResponse struct { // list of fee enabled channels FeeEnabledChannels []FeeEnabledChannel `protobuf:"bytes,1,rep,name=fee_enabled_channels,json=feeEnabledChannels,proto3" json:"fee_enabled_channels" yaml:"fee_enabled_channels"` + // pagination defines the pagination in the response. + Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` } func (m *QueryFeeEnabledChannelsResponse) Reset() { *m = QueryFeeEnabledChannelsResponse{} } @@ -940,6 +960,13 @@ func (m *QueryFeeEnabledChannelsResponse) GetFeeEnabledChannels() []FeeEnabledCh return nil } +func (m *QueryFeeEnabledChannelsResponse) GetPagination() *query.PageResponse { + if m != nil { + return m.Pagination + } + return nil +} + // QueryFeeEnabledChannelRequest defines the request type for the FeeEnabledChannel rpc type QueryFeeEnabledChannelRequest struct { // unique port identifier @@ -1069,91 +1096,92 @@ func init() { } var fileDescriptor_0638a8a78ca2503c = []byte{ - // 1338 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x5f, 0x6f, 0xdb, 0x54, - 0x1c, 0xed, 0xed, 0xba, 0xb5, 0xbd, 0xed, 0x60, 0xb9, 0x2d, 0x2c, 0x0d, 0x6d, 0xd2, 0x79, 0x0c, - 0x4a, 0xa7, 0xda, 0x6a, 0xc6, 0xe8, 0x86, 0x84, 0xa0, 0xe9, 0xe8, 0x28, 0x0c, 0x28, 0x59, 0x5f, - 0x40, 0xa0, 0xcc, 0x71, 0x6e, 0x52, 0xab, 0xa9, 0xaf, 0x67, 0x3b, 0x11, 0x59, 0x57, 0x60, 0x13, - 0x15, 0x08, 0x10, 0x20, 0x21, 0xf1, 0xc0, 0x3b, 0x42, 0x20, 0xf1, 0x01, 0xf8, 0x06, 0x7b, 0x42, - 0x95, 0x78, 0x41, 0x3c, 0x04, 0xd4, 0x22, 0x3e, 0x40, 0x9e, 0x78, 0x00, 0x09, 0xf9, 0xde, 0x9f, - 0x13, 0x67, 0xb6, 0xdb, 0xa4, 0x94, 0xf2, 0x54, 0xdb, 0xf7, 0xf7, 0xe7, 0x9c, 0x73, 0x7f, 0xf6, - 0x3d, 0x29, 0x3e, 0xab, 0xe7, 0x35, 0x45, 0x35, 0xcd, 0xb2, 0xae, 0xa9, 0x8e, 0xce, 0x0c, 0x5b, - 0x29, 0x52, 0xaa, 0x54, 0x67, 0x95, 0x9b, 0x15, 0x6a, 0xd5, 0x64, 0xd3, 0x62, 0x0e, 0x23, 0xa7, - 0xf5, 0xbc, 0x26, 0xfb, 0x83, 0xe4, 0x22, 0xa5, 0x72, 0x75, 0x36, 0x31, 0x5a, 0x62, 0x25, 0xc6, - 0x63, 0x14, 0xf7, 0x4a, 0x84, 0x27, 0xc6, 0x4b, 0x8c, 0x95, 0xca, 0x54, 0x51, 0x4d, 0x5d, 0x51, - 0x0d, 0x83, 0x39, 0x90, 0x24, 0x56, 0x93, 0x1a, 0xb3, 0xd7, 0x99, 0xad, 0xe4, 0x55, 0xdb, 0x6d, - 0x94, 0xa7, 0x8e, 0x3a, 0xab, 0x68, 0x4c, 0x37, 0x60, 0x7d, 0xda, 0xbf, 0xce, 0x51, 0x34, 0xa3, - 0x4c, 0xb5, 0xa4, 0x1b, 0xbc, 0x18, 0xc4, 0x9e, 0x89, 0x42, 0xef, 0xe2, 0x13, 0x21, 0xe7, 0xa2, - 0x42, 0x4a, 0xd4, 0xa0, 0xb6, 0x6e, 0xfb, 0x2b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x09, 0x00, 0x00, - 0xff, 0xff, 0xb7, 0xa8, 0xb2, 0x7e, 0xad, 0x14, 0x00, 0x00, + // 1358 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x51, 0x6f, 0xdb, 0x54, + 0x14, 0xee, 0xcd, 0xba, 0xb5, 0xbd, 0xed, 0x60, 0xb9, 0x2d, 0x2c, 0x0d, 0x6d, 0xd2, 0x79, 0x8c, + 0x95, 0x4e, 0xb5, 0xd5, 0x8c, 0xd1, 0x0d, 0x09, 0x41, 0xd3, 0xd1, 0x52, 0x18, 0x50, 0xb2, 0xbe, + 0x80, 0x40, 0x99, 0xe3, 0xdc, 0xa4, 0x56, 0x53, 0xdb, 0xb3, 0x9d, 0x88, 0xac, 0x2b, 0xb0, 0x89, + 0x0a, 0x24, 0x90, 0x40, 0x42, 0xe2, 0x81, 0x3f, 0x80, 0x40, 0xe2, 0x07, 0xf0, 0x0f, 0xf6, 0x84, + 0x2a, 0xed, 0x01, 0xc4, 0x43, 0x40, 0x2d, 0xe2, 0x91, 0x87, 0x3c, 0xf1, 0x00, 0x12, 0xf2, 0xbd, + 0xc7, 0x89, 0x33, 0xdb, 0x4d, 0x52, 0xb2, 0xf2, 0xd4, 0xd8, 0xe7, 0x9e, 0x73, 0xbe, 0xef, 0xbb, + 0x27, 0xf7, 0x7e, 0x29, 0x3e, 0xab, 0xe6, 0x14, 0x49, 0x36, 0x8c, 0x92, 0xaa, 0xc8, 0xb6, 0xaa, + 0x6b, 0x96, 0x54, 0xa0, 0x54, 0xaa, 0xcc, 0x49, 0x37, 0xcb, 0xd4, 0xac, 0x8a, 0x86, 0xa9, 0xdb, + 0x3a, 0x39, 0xad, 0xe6, 0x14, 0xd1, 0xbb, 0x48, 0x2c, 0x50, 0x2a, 0x56, 0xe6, 0xe2, 0x63, 0x45, + 0xbd, 0xa8, 0xb3, 0x35, 0x92, 0xf3, 0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 0xaf, 0x48, 0xbb, 0xcd, + 0x08, 0x73, 0x48, 0xf1, 0xf9, 0xae, 0xf3, 0x00, 0xec, 0x2b, 0x0c, 0xec, 0x55, 0x92, 0x3e, 0xe4, + 0xcd, 0xe0, 0xa1, 0x94, 0x7e, 0xe3, 0xde, 0x5e, 0x02, 0xed, 0xee, 0x25, 0xd0, 0x6f, 0x7b, 0x09, + 0xf4, 0xc5, 0x7e, 0xa2, 0x6f, 0x77, 0x3f, 0xd1, 0xf7, 0xf3, 0x7e, 0xa2, 0xef, 0xed, 0x4b, 0xfe, + 0xdf, 0x4c, 0x6a, 0x4e, 0x99, 0x2d, 0xea, 0x52, 0x65, 0x5e, 0xda, 0xd4, 0xf3, 0xe5, 0x12, 0xb5, + 0x78, 0xf3, 0xd4, 0x95, 0x59, 0xa7, 0x3f, 0xfb, 0x19, 0x95, 0x3b, 0xc1, 0xfe, 0xb7, 0x78, 0xf1, + 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x1f, 0x67, 0x6b, 0x48, 0x88, 0x15, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1640,6 +1668,18 @@ func (m *QueryIncentivizedPacketsResponse) MarshalToSizedBuffer(dAtA []byte) (in _ = 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.IncentivizedPackets) > 0 { for iNdEx := len(m.IncentivizedPackets) - 1; iNdEx >= 0; iNdEx-- { { @@ -1802,6 +1842,18 @@ func (m *QueryIncentivizedPacketsForChannelResponse) MarshalToSizedBuffer(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.IncentivizedPackets) > 0 { for iNdEx := len(m.IncentivizedPackets) - 1; iNdEx >= 0; iNdEx-- { { @@ -2223,6 +2275,18 @@ func (m *QueryFeeEnabledChannelsResponse) MarshalToSizedBuffer(dAtA []byte) (int _ = 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.FeeEnabledChannels) > 0 { for iNdEx := len(m.FeeEnabledChannels) - 1; iNdEx >= 0; iNdEx-- { { @@ -2349,6 +2413,10 @@ func (m *QueryIncentivizedPacketsResponse) Size() (n int) { n += 1 + l + sovQuery(uint64(l)) } } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } return n } @@ -2413,6 +2481,10 @@ func (m *QueryIncentivizedPacketsForChannelResponse) Size() (n int) { n += 1 + l + sovQuery(uint64(l)) } } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } return n } @@ -2582,6 +2654,10 @@ func (m *QueryFeeEnabledChannelsResponse) Size() (n int) { n += 1 + l + sovQuery(uint64(l)) } } + if m.Pagination != nil { + l = m.Pagination.Size() + n += 1 + l + sovQuery(uint64(l)) + } return n } @@ -2788,6 +2864,42 @@ func (m *QueryIncentivizedPacketsResponse) Unmarshal(dAtA []byte) error { 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:]) @@ -3226,6 +3338,42 @@ func (m *QueryIncentivizedPacketsForChannelResponse) Unmarshal(dAtA []byte) erro 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:]) @@ -4308,6 +4456,42 @@ func (m *QueryFeeEnabledChannelsResponse) Unmarshal(dAtA []byte) error { 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:]) diff --git a/proto/ibc/applications/fee/v1/query.proto b/proto/ibc/applications/fee/v1/query.proto index 871cfdac70f..bcf6622b34b 100644 --- a/proto/ibc/applications/fee/v1/query.proto +++ b/proto/ibc/applications/fee/v1/query.proto @@ -83,6 +83,8 @@ message QueryIncentivizedPacketsRequest { message QueryIncentivizedPacketsResponse { // list of identified fees for incentivized packets repeated ibc.applications.fee.v1.IdentifiedPacketFees incentivized_packets = 1 [(gogoproto.nullable) = false]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; } // QueryIncentivizedPacketRequest defines the request type for the IncentivizedPacket rpc @@ -114,6 +116,8 @@ message QueryIncentivizedPacketsForChannelRequest { message QueryIncentivizedPacketsForChannelResponse { // Map of all incentivized_packets repeated ibc.applications.fee.v1.IdentifiedPacketFees incentivized_packets = 1; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; } // QueryTotalRecvFeesRequest defines the request type for the TotalRecvFees rpc @@ -205,6 +209,8 @@ message QueryFeeEnabledChannelsResponse { // list of fee enabled channels repeated ibc.applications.fee.v1.FeeEnabledChannel fee_enabled_channels = 1 [(gogoproto.moretags) = "yaml:\"fee_enabled_channels\"", (gogoproto.nullable) = false]; + // pagination defines the pagination in the response. + cosmos.base.query.v1beta1.PageResponse pagination = 2; } // QueryFeeEnabledChannelRequest defines the request type for the FeeEnabledChannel rpc