cosmos-sdk/x/gov
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
..
client Limit context background (#8093) 2021-02-03 09:47:25 +00:00
keeper codecs: rename MakeCodecs rename and docs update (#8245) 2021-01-07 21:50:52 +00:00
legacy CLI migrate command for x/{upgrade,params} proposals (#7875) 2020-11-24 23:32:32 +00:00
simulation implement x/authz module (#7629) 2021-01-25 16:41:30 +00:00
spec x/gov docs basic cleanup (#8279) 2021-01-13 11:55:51 +00:00
types Refactor store keys for variable-length addresses (#8363) 2021-02-01 13:17:44 +00:00
abci_test.go Refactor x/staking Validation and Delegation tests based on MsgCreateValidator.Pubkey type change. (#7526) 2020-10-19 13:04:55 +00:00
abci.go Refactor Logging using Zerolog (#8072) 2020-12-03 23:17:21 +00:00
common_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
genesis_test.go appcreator: Reuse encoding config instead of recreating it (#8250) 2021-01-06 15:20:12 +00:00
genesis.go Proto Auditing: Replace ID with Id (#7032) 2020-08-14 08:55:54 +00:00
handler_test.go Replaced hardcoded 'cosmos' and 'cosmosvaloper' help references (#7056) 2020-08-17 09:04:50 +00:00
handler.go Refactor x/{gov, crisis} according to ADR 031 (#7533) 2020-10-16 13:04:02 +00:00
module_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
module.go Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00