diff --git a/docs/swagger.yml b/docs/swagger.yml index a45a5840..63be8fb0 100644 --- a/docs/swagger.yml +++ b/docs/swagger.yml @@ -8680,11 +8680,6 @@ paths: in: query required: false type: boolean - - name: search - description: search. - in: query - required: false - type: string - name: with_inactive_fundings description: with_inactive_fundings ... in: query @@ -9007,11 +9002,6 @@ paths: in: query required: false type: boolean - - name: search - description: search. - in: query - required: false - type: string - name: with_inactive_fundings description: with_inactive_fundings ... in: query diff --git a/proto/kyve/query/v1beta1/funders.proto b/proto/kyve/query/v1beta1/funders.proto index 6692963b..4e065eae 100644 --- a/proto/kyve/query/v1beta1/funders.proto +++ b/proto/kyve/query/v1beta1/funders.proto @@ -126,10 +126,8 @@ message QueryFundingsByFunderRequest { cosmos.base.query.v1beta1.PageRequest pagination = 1; // address ... string address = 2; - // search - string search = 3; // with_inactive_fundings ... - bool with_inactive_fundings = 4; + bool with_inactive_fundings = 3; } // QueryFundingsByFunderResponse is the response type for the Query/FundingsByFunder RPC method. @@ -150,10 +148,8 @@ message QueryFundingsByPoolRequest { cosmos.base.query.v1beta1.PageRequest pagination = 1; // pool_id ... uint64 pool_id = 2; - // search - string search = 3; // with_inactive_fundings ... - bool with_inactive_fundings = 4; + bool with_inactive_fundings = 3; } // QueryFundingsByPoolResponse is the response type for the Query/FundingsByPool RPC method. diff --git a/x/funders/keeper/getters_funding.go b/x/funders/keeper/getters_funding.go index 4952b99e..630c5c04 100644 --- a/x/funders/keeper/getters_funding.go +++ b/x/funders/keeper/getters_funding.go @@ -97,6 +97,7 @@ func (k Keeper) SetFunding(ctx sdk.Context, funding *types.Funding) { } // GetPaginatedFundingQuery performs a full search on all fundings with the given parameters. +// Requires either funderAddress or poolId to be provided. func (k Keeper) GetPaginatedFundingQuery( ctx sdk.Context, pagination *query.PageRequest, diff --git a/x/query/types/funders.pb.go b/x/query/types/funders.pb.go index ada27d2b..bdc67be4 100644 --- a/x/query/types/funders.pb.go +++ b/x/query/types/funders.pb.go @@ -511,10 +511,8 @@ type QueryFundingsByFunderRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // address ... Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - // search - Search string `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"` // with_inactive_fundings ... - WithInactiveFundings bool `protobuf:"varint,4,opt,name=with_inactive_fundings,json=withInactiveFundings,proto3" json:"with_inactive_fundings,omitempty"` + WithInactiveFundings bool `protobuf:"varint,3,opt,name=with_inactive_fundings,json=withInactiveFundings,proto3" json:"with_inactive_fundings,omitempty"` } func (m *QueryFundingsByFunderRequest) Reset() { *m = QueryFundingsByFunderRequest{} } @@ -564,13 +562,6 @@ func (m *QueryFundingsByFunderRequest) GetAddress() string { return "" } -func (m *QueryFundingsByFunderRequest) GetSearch() string { - if m != nil { - return m.Search - } - return "" -} - func (m *QueryFundingsByFunderRequest) GetWithInactiveFundings() bool { if m != nil { return m.WithInactiveFundings @@ -639,10 +630,8 @@ type QueryFundingsByPoolRequest struct { Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // pool_id ... PoolId uint64 `protobuf:"varint,2,opt,name=pool_id,json=poolId,proto3" json:"pool_id,omitempty"` - // search - Search string `protobuf:"bytes,3,opt,name=search,proto3" json:"search,omitempty"` // with_inactive_fundings ... - WithInactiveFundings bool `protobuf:"varint,4,opt,name=with_inactive_fundings,json=withInactiveFundings,proto3" json:"with_inactive_fundings,omitempty"` + WithInactiveFundings bool `protobuf:"varint,3,opt,name=with_inactive_fundings,json=withInactiveFundings,proto3" json:"with_inactive_fundings,omitempty"` } func (m *QueryFundingsByPoolRequest) Reset() { *m = QueryFundingsByPoolRequest{} } @@ -692,13 +681,6 @@ func (m *QueryFundingsByPoolRequest) GetPoolId() uint64 { return 0 } -func (m *QueryFundingsByPoolRequest) GetSearch() string { - if m != nil { - return m.Search - } - return "" -} - func (m *QueryFundingsByPoolRequest) GetWithInactiveFundings() bool { if m != nil { return m.WithInactiveFundings @@ -778,64 +760,64 @@ func init() { func init() { proto.RegisterFile("kyve/query/v1beta1/funders.proto", fileDescriptor_a182f068d9f0dba9) } var fileDescriptor_a182f068d9f0dba9 = []byte{ - // 905 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcd, 0x6b, 0x24, 0x45, - 0x14, 0x4f, 0x4d, 0x3a, 0x33, 0xf1, 0x4d, 0x8c, 0x6b, 0x6d, 0xdc, 0x6d, 0x26, 0xbb, 0xe3, 0x38, - 0x6a, 0x32, 0x04, 0xe9, 0x4e, 0x46, 0x5d, 0x44, 0xf0, 0xb0, 0x41, 0x57, 0x16, 0x41, 0x62, 0x8b, - 0x82, 0x5e, 0x9a, 0x9a, 0xee, 0xb2, 0x53, 0x64, 0xd2, 0x35, 0xdb, 0x55, 0x9d, 0x38, 0x2c, 0x7b, - 0xd0, 0x8b, 0x1e, 0x05, 0x8f, 0x9e, 0x45, 0xbc, 0xe9, 0x3f, 0x21, 0x0b, 0x82, 0x2c, 0x78, 0xf1, - 0x24, 0x92, 0x88, 0x7f, 0x85, 0x07, 0xa9, 0x8f, 0x99, 0xf4, 0x4c, 0xe6, 0x63, 0xc5, 0x39, 0x78, - 0xeb, 0xf7, 0xf1, 0xab, 0xf7, 0x7b, 0xaf, 0x7e, 0xaf, 0x66, 0xa0, 0x71, 0xd4, 0x3f, 0xa1, 0xfe, - 0xbd, 0x9c, 0x66, 0x7d, 0xff, 0x64, 0xaf, 0x43, 0x25, 0xd9, 0xf3, 0x3f, 0xc9, 0xd3, 0x98, 0x66, - 0xc2, 0xeb, 0x65, 0x5c, 0x72, 0x8c, 0x55, 0x86, 0xa7, 0x33, 0x3c, 0x9b, 0x51, 0xdb, 0x89, 0xb8, - 0x38, 0xe6, 0xc2, 0xef, 0x10, 0x31, 0x0e, 0xee, 0x91, 0x84, 0xa5, 0x44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 0xef, 0x51, 0xd1, 0x29, 0xeb, 0xff, 0x89, 0x2f, 0xff, 0x13, 0x00, 0x00, 0xff, - 0xff, 0xac, 0x47, 0xbc, 0xca, 0xbf, 0x0a, 0x00, 0x00, + // 898 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x56, 0xcf, 0x6f, 0x1b, 0x45, + 0x14, 0xce, 0x38, 0x8e, 0x1d, 0x9e, 0x43, 0x28, 0xd3, 0xd0, 0xae, 0x9c, 0xd6, 0x18, 0x03, 0x89, + 0x15, 0xa1, 0xdd, 0xc4, 0x40, 0x85, 0x90, 0x38, 0x34, 0x82, 0xa2, 0x0a, 0x09, 0x85, 0x45, 0x20, + 0xc1, 0x65, 0x35, 0xde, 0x1d, 0x36, 0xa3, 0x38, 0x3b, 0xdb, 0x9d, 0xd9, 0x04, 0xab, 0xea, 0x01, + 0x2e, 0x70, 0x44, 0xe2, 0xc8, 0x19, 0x21, 0x6e, 0x20, 0x24, 0xfe, 0x04, 0xd4, 0x63, 0x25, 0x2e, + 0x9c, 0x10, 0x4a, 0x10, 0x7f, 0x05, 0x07, 0x34, 0x3f, 0xec, 0xac, 0x1d, 0xff, 0x08, 0x90, 0x43, + 0x6f, 0xfb, 0xde, 0xfb, 0xbe, 0x79, 0xdf, 0x7b, 0xf3, 0xde, 0xd8, 0xd0, 0x3c, 0xe8, 0x1f, 0x51, + 0xef, 0x5e, 0x4e, 0xb3, 0xbe, 0x77, 0xb4, 0xd3, 0xa5, 0x92, 0xec, 0x78, 0x9f, 0xe4, 0x49, 0x44, + 0x33, 0xe1, 0xa6, 0x19, 0x97, 0x1c, 0x63, 0x85, 0x70, 0x35, 0xc2, 0xb5, 0x88, 0xfa, 0x56, 0xc8, + 0xc5, 0x21, 0x17, 0x5e, 0x97, 0x88, 0x71, 0x72, 0x4a, 0x62, 0x96, 0x10, 0xc9, 0x78, 0x62, 0xf8, + 0xf5, 0xb5, 0x98, 0xc7, 0x5c, 0x7f, 0x7a, 0xea, 0xcb, 0x7a, 0x6f, 0xc4, 0x9c, 0xc7, 0x3d, 0xea, + 0x91, 0x94, 0x79, 0x24, 0x49, 0xb8, 0xd4, 0x14, 0x9b, 0xb3, 0xf5, 0x17, 0x82, 0xca, 0x1d, 0xad, + 0x02, 0x3b, 0x50, 0x25, 0x51, 0x94, 0x51, 0x21, 0x1c, 0xd4, 0x44, 0xed, 0x27, 0xfc, 0x81, 0xa9, + 0x22, 0x87, 0x3c, 0x61, 0x07, 0x34, 0x73, 0x4a, 0x26, 0x62, 0x4d, 0x5c, 0x87, 0x65, 0x16, 0xd1, + 0x44, 0x32, 0xd9, 0x77, 0x16, 0x75, 0x68, 0x68, 0x2b, 0xd6, 0x31, 0xed, 0x0a, 0x26, 0xa9, 0x53, + 0x36, 0x2c, 0x6b, 0xaa, 0x48, 0xc8, 0x13, 0x49, 0x42, 0xe9, 0x2c, 0x99, 0x88, 0x35, 0x71, 0x13, + 0x6a, 0x11, 0x15, 0x61, 0xc6, 0x52, 0x25, 0xd2, 0xa9, 0xe8, 0x68, 0xd1, 0x85, 0x6f, 0xc1, 0x92, + 0x90, 0x44, 0x0a, 0xa7, 0xda, 0x44, 0xed, 0x5a, 0xa7, 0xe9, 0x9e, 0x6f, 0x9a, 0xab, 0x0a, 0x62, + 0x49, 0xfc, 0xbe, 0xc2, 0xf9, 0x06, 0xde, 0xfa, 0x05, 0xc1, 0x4a, 0xd1, 0x8f, 0xdb, 0x70, 0x45, + 0x72, 0x49, 0x7a, 0x41, 0x2e, 0x68, 0x14, 0xa8, 0x9b, 0x30, 0x75, 0x97, 0xfd, 0x55, 0xed, 0xff, + 0x40, 0xd0, 0x48, 0x11, 0x04, 0xee, 0xc0, 0x33, 0x06, 0x49, 0x7a, 0x3d, 0x1e, 0x12, 0x39, 0x84, + 0x97, 0x34, 0xfc, 0xaa, 0x0e, 0xde, 0x1e, 0xc4, 0x0c, 0xe7, 0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0x3a, 0xcf, 0x8f, 0x0a, + 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1425,14 +1407,7 @@ func (m *QueryFundingsByFunderRequest) MarshalToSizedBuffer(dAtA []byte) (int, e dAtA[i] = 0 } i-- - dAtA[i] = 0x20 - } - if len(m.Search) > 0 { - i -= len(m.Search) - copy(dAtA[i:], m.Search) - i = encodeVarintFunders(dAtA, i, uint64(len(m.Search))) - i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } if len(m.Address) > 0 { i -= len(m.Address) @@ -1533,14 +1508,7 @@ func (m *QueryFundingsByPoolRequest) MarshalToSizedBuffer(dAtA []byte) (int, err dAtA[i] = 0 } i-- - dAtA[i] = 0x20 - } - if len(m.Search) > 0 { - i -= len(m.Search) - copy(dAtA[i:], m.Search) - i = encodeVarintFunders(dAtA, i, uint64(len(m.Search))) - i-- - dAtA[i] = 0x1a + dAtA[i] = 0x18 } if m.PoolId != 0 { i = encodeVarintFunders(dAtA, i, uint64(m.PoolId)) @@ -1794,10 +1762,6 @@ func (m *QueryFundingsByFunderRequest) Size() (n int) { if l > 0 { n += 1 + l + sovFunders(uint64(l)) } - l = len(m.Search) - if l > 0 { - n += 1 + l + sovFunders(uint64(l)) - } if m.WithInactiveFundings { n += 2 } @@ -1836,10 +1800,6 @@ func (m *QueryFundingsByPoolRequest) Size() (n int) { if m.PoolId != 0 { n += 1 + sovFunders(uint64(m.PoolId)) } - l = len(m.Search) - if l > 0 { - n += 1 + l + sovFunders(uint64(l)) - } if m.WithInactiveFundings { n += 2 } @@ -3048,38 +3008,6 @@ func (m *QueryFundingsByFunderRequest) Unmarshal(dAtA []byte) error { m.Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Search", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowFunders - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthFunders - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthFunders - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Search = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field WithInactiveFundings", wireType) } @@ -3325,38 +3253,6 @@ func (m *QueryFundingsByPoolRequest) Unmarshal(dAtA []byte) error { } } case 3: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Search", wireType) - } - var stringLen uint64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowFunders - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - stringLen |= uint64(b&0x7F) << shift - if b < 0x80 { - break - } - } - intStringLen := int(stringLen) - if intStringLen < 0 { - return ErrInvalidLengthFunders - } - postIndex := iNdEx + intStringLen - if postIndex < 0 { - return ErrInvalidLengthFunders - } - if postIndex > l { - return io.ErrUnexpectedEOF - } - m.Search = string(dAtA[iNdEx:postIndex]) - iNdEx = postIndex - case 4: if wireType != 0 { return fmt.Errorf("proto: wrong wireType = %d for field WithInactiveFundings", wireType) }