cosmos-sdk/x/bank
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 Add pagination (#6452) 2020-06-20 23:44:04 +00:00
exported Move ModuleAccount to x/auth (#6029) 2020-04-20 19:32:10 +00:00
keeper Add pagination (#6452) 2020-06-20 23:44:04 +00:00
legacy Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00
simulation Make sdk.Msg implement proto.Message (#6327) 2020-06-03 19:52:05 +00:00
spec Merge PR #6010: Merge x/supply into x/bank 2020-04-20 11:22:12 -04:00
types Add pagination (#6452) 2020-06-20 23:44:04 +00:00
app_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
bench_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
genesis.go x/bank: remove alias.go usage (#6439) 2020-06-14 23:06:16 +00:00
handler_test.go Merge PR #5421: Refactor Error Handling 2019-12-27 12:57:54 -05:00
handler.go Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
module.go x/bank: convert query CLI commands to use gRPC query client (#6367) 2020-06-18 03:36:25 -04:00