cosmos-sdk/testutil
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
..
cli x/auth: in-process test refactor (#6573) 2020-07-14 18:37:14 +00:00
network gRPC-web proxy (#8077) 2021-01-18 18:25:22 +00:00
testdata Update gogo proto deps with v1.3.2 security fixes (#8350) 2021-01-15 19:45:34 +00:00
context.go Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
ioutil_test.go testutil: new TempFile function, simplify WriteToNewTempFile (#8123) 2020-12-09 18:27:20 +00:00
ioutil.go use testutil in test cases (#8130) 2020-12-10 12:56:55 +00:00
known_values.go testutil cleanup and reorg (#6658) 2020-07-09 14:21:20 +02:00
rest.go gRPC gateway init (#7019) 2020-08-25 15:44:13 +00:00