cosmos-sdk/x/genutil
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 Rosetta API implementation (#7695) 2021-01-21 09:33:02 +00:00
legacy CLI `migrate` command for x/{upgrade,params} proposals (#7875) 2020-11-24 23:32:32 +00:00
types Update gogo proto deps with v1.3.2 security fixes (#8350) 2021-01-15 19:45:34 +00:00
collect.go x/genutil: fix CollectTxs traversal logic (#6913) 2020-10-08 11:22:39 +00:00
collect_test.go x/genutil: fix CollectTxs traversal logic (#6913) 2020-10-08 11:22:39 +00:00
doc.go Merge PR #4159: Module/Genesis Generalization 2019-05-16 11:25:32 -04:00
genesis.go Use any as validator pubkey (#7597) 2020-10-23 12:07:52 +00:00
gentx.go Use any as validator pubkey (#7597) 2020-10-23 12:07:52 +00:00
gentx_test.go simapp: rename MakeEncodingConfig to MakeTestEncodingConfig (#7681) 2020-10-27 11:33:48 +00:00
module.go Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
utils.go Recover private validator key (#8099) 2020-12-08 17:22:43 +00:00
utils_test.go Recover private validator key (#8099) 2020-12-08 17:22:43 +00:00