Amaury Martiny
69bbb8b327
Rename proto Req/Res to Pagination ( #6796 )
...
* Rename proto Req to Pagination
* Change Res to Pagination
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 16:51:16 +00:00
Aaron Craelius
849429ecda
Add proper support for Any in gRPC queries ( #6594 )
...
* Add proper gRPC Any support via AnyUnpacker
* Wire up grpc query router AnyUnpacker
2020-07-03 16:42:12 +00:00
Anil Kumar Kammari
a966f1f9b7
Fix nextKey bug in filteredPaginate ( #6578 )
...
* Fix nextKey in filteredpaginate
* Fix example
* Fix example
* cleanup
* cleanup
* refactor
Co-authored-by: sahith-narahari <sahithnarahari@gmail.com>
2020-07-03 12:36:37 +00:00
Anil Kumar Kammari
0f0723dd78
Add filtered pagination ( #6514 )
...
* Add filtered pagination
* Add example for filtered pagination
* Fix typo
* Fix counter
* Fix paginate
* fix accumulate
* Fix example
* rename count to numHits
* Add default PageRequest
* Add tests for filtered pagination
* Fix filteredPaginate tests
* Add test cases
* Add example for filtered pagination
* Add more test case
* Add iterate error
* Add error check for iterator
* Update godoc
* Update godoc
Co-authored-by: sahith-narahari <sahithnarahari@gmail.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-07-01 14:04:26 +00:00
SaReN
4b0c66982a
Add pagination ( #6452 )
...
* Add pagination types and helper func
* Update API
* Add pagination to queryBalance
* Add QueryBalance to use Paginate
* Update GetAllBalances usage
* Add tests for QueryAllBalances
* Fix bank get balance querier tests
* Add pagination test setup
* revert simapp changes
* Fix pagenation tests
* Add more tests for pagination
* Add offset nullable
* Add more tests
* Fix paginate for offset
* Add grpc queryconn for query
* Fix paginate
* Fix maxlimit
* Fix queryClient
* Fix pagination tests
* refacor
* Fix grpc tests
* Revert
* review changes
* Fix lint
* Update types/query/pagination.go
* Fix review suggestions
* Remove maxLimit and use defaultLimit
* change example paginate as a testable fun
* Fix review comments
* Merge master
* Add bank query.pb.go
* Add missing import
* Add pageReq to queryBalance
* Add example for pagenate
* Fix cli tests
* Remove example for pagination
* Update paginate example
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: anilCSE <anil@vitwit.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-20 23:44:04 +00:00