cosmos-sdk/x/distribution
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
..
client JSON Codec Updates (#6444) 2020-06-16 00:20:50 +00:00
keeper x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
legacy Merge PR #5561: v0.38 Migration Fixes 2020-01-23 13:15:22 -05:00
simulation Merge PR #6278: Add msg type sim operations 2020-05-26 12:52:23 -04:00
spec Update 07_params.md 2020-03-17 11:30:24 -04:00
types Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
abci.go Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
doc.go Merge PR #5417: Update distribution module doc 2019-12-17 13:59:16 -05:00
genesis.go Add pagination (#6452) 2020-06-20 23:44:04 +00:00
handler.go Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
module.go x/distribution: remove alias.go usage (#6436) 2020-06-14 11:01:47 +00:00
module_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
proposal_handler_test.go Move ModuleAccount to x/auth (#6029) 2020-04-20 19:32:10 +00:00