cosmos-sdk/x
Amaury Martiny 3b9b58c931
Add height in exported genesis (#7089)
* Add height in exported genesis

* +1

* Add test

* Refactor ctx in setupApp

* Use amino in export

* Use tmjson

* Add custom initialVersion (set to 0 for now)

* Add comment

* Add mount in initChainer

* app.LastBlockheight

* InitializeAndSeal in InitChain?

* Revert create store with initial version

* Update to latest iavl

* Check height in test

* Make it work

* Add more tests

* Rename interface

* Use struct isntead of 6 args

* Fix lint

* Remove stray fmt

* Revert go mod/sum

* Install iavl rc3

* Update comments

* Add fee in network

* Typo

* Fix logic in commit

* Fix tests

* Only set initial version on > 1

* Genesis block num = 1

* Fresh chain, genesis block = 0

* Add comments

* Revert Mutable/ImmutableTree

* Allow for zero height

* Fix restart

* Add comments

* Add comments, fix test

* Fix remaining one test

* Add panic test

* Update comment

* Add test for --height

* No cast

* Add check that genesis file exists

* Remove duplicate imports

* Fail early

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Cory <cjlevinson@gmail.com>
2020-09-03 10:11:46 +00:00
..
auth Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
bank Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
capability Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
crisis Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
distribution Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
evidence Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
genaccounts Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
genutil Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
gov Add swagger for gRPC REST (#7075) 2020-08-28 18:49:08 +00:00
ibc move IBC exported files to one location to avoid circular deps (#7224) 2020-09-02 16:38:50 +00:00
ibc-transfer move IBC exported files to one location to avoid circular deps (#7224) 2020-09-02 16:38:50 +00:00
mint Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
params Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
simulation Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
slashing Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
staking Fix query validator UBDs (#7228) 2020-09-02 16:47:29 +00:00
upgrade Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
README.md docs: improve IBC guide (#6472) 2020-07-07 06:19:36 -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.