cosmos-sdk/tests/mocks
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
..
account_retriever.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
grpc_server.go Add RegisterQueryService to AppModule (#6336) 2020-06-06 07:59:57 +00:00
tendermint_tendermint_libs_log_DB.go types: start grouping tests in test suites (#7395) 2020-09-27 23:51:14 +02:00
tendermint_tm_db_DB.go Fix module interface registration (#6834) 2020-07-23 22:45:34 -04:00
types_handler.go regenerate mocks, don't format autogenered files on make format (#5848) 2020-03-20 18:14:53 +00:00
types_invariant.go regenerate mocks, don't format autogenered files on make format (#5848) 2020-03-20 18:14:53 +00:00
types_module_module.go Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
types_router.go module: pass route by value (#6404) 2020-06-11 15:37:23 +00:00