cosmos-sdk/x
Amaury dfc8dd813e
Add in-place store migrations (#8485)
* Add 1st version of migrate

* Put migration logic into Configurator

* add test to bank store migration

* add test for configurator

* Error if no migration found

* Remove RunMigrations from Configurator interface

* Update spec

* Rename folders

* copy-paste from keys.go

* Fix nil map

* rename function

* Update simapp/app.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update simapp/app_test.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Adderss reviews

* Fix tests

* Update testutil/context.go

Co-authored-by: Robert Zaremba <robert@zaremba.ch>

* Update docs for ConsensusVersion

* Rename to forVersion

* Fix tests

* Check error early

* Return 1 for intiial version

* Use MigrationKeeper

* Fix test

* Revert adding marshaler to Configurator

* Godoc updates

* Update docs

Co-authored-by: Robert Zaremba <robert@zaremba.ch>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2021-02-10 17:49:31 +00:00
..
auth Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
authz Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
bank Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
capability Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
crisis Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
distribution Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
evidence Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
feegrant Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
genaccounts CLI migrate command follow-up: decode & re-encode (#7464) 2020-10-09 19:09:43 +00:00
genutil Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
gov Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
ibc Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
mint Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
params Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
simulation simulation: close opened files and check for error while creating files (#8217) 2020-12-22 13:46:42 +00:00
slashing Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
staking Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
upgrade Add in-place store migrations (#8485) 2021-02-10 17:49:31 +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.