cosmos-sdk/x
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
..
auth Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00:00
bank Add pagination (#6452) 2020-06-20 23:44:04 +00:00
capability Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
crisis Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
distribution Add pagination (#6452) 2020-06-20 23:44:04 +00:00
evidence Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00:00
genaccounts Merge PR #5449: Add New constructor for the DecCoin 2020-01-03 15:44:53 -05:00
genutil x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
gov Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
ibc docs: IBC Application guide (#6464) 2020-06-19 08:23:45 -04:00
ibc-transfer Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
mint Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
params Update proto files & definitions in accordance with ADR023 (#6413) 2020-06-18 10:04:26 -07:00
simulation Update x/gov to use Any (#6147) 2020-05-19 20:17:29 +00:00
slashing Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
staking Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
upgrade Merge PR #6449: Initial Metrics 2020-06-18 14:12:44 -04:00
README.md docs: IBC Application guide (#6464) 2020-06-19 08:23:45 -04:00

List of Modules

Here are some production-grade modules that can be used in Cosmos SDK applications, along with their respective documentation:

  • Auth - Authentication of accounts and transactions for Cosmos SDK application.
  • Bank - Token transfer functionalities.
  • Capability - Object capability implementation.
  • Crisis - Halting the blockchain under certain circumstances (e.g. if an invariant is broken).
  • Distribution - Fee distribution, and staking token provision distribution.
  • Evidence - Evidence handling for double signing, misbehaviour, etc.
  • Governance - On-chain proposals and voting.
  • IBC - IBC protocol for transport, authentication adn ordering.
  • IBC Transfer - Cross-chain fungible token transfer implementation through IBC.
  • Mint - Creation of new units of staking token.
  • Params - Globally available parameter store.
  • Slashing - Validator punishment mechanisms.
  • Staking - Proof-of-Stake layer for public blockchains.
  • Upgrade - Software upgrades handling and coordination.

To learn more about the process of building modules, visit the building modules reference documentation.