cosmos-sdk/x/bank
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
..
atlas x/auth: atlas manifest (#8140) 2020-12-10 17:02:29 +01:00
client Limit context background (#8093) 2021-02-03 09:47:25 +00:00
exported Move and update codec.MarshalAny functions to codec.Marshaler interface (#8080) 2020-12-08 09:27:08 +00:00
keeper Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
legacy Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
simulation implement x/authz module (#7629) 2021-01-25 16:41:30 +00:00
spec Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00
types bank: don't ignore errors returned by Balance.GetAddress() (#8531) 2021-02-06 21:51:26 +00:00
app_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
bench_test.go all: ensure b.ReportAllocs() in all the benchmarks (#8460) 2021-01-27 23:52:08 -08:00
handler_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
handler.go Refactor x/evidence to ADR-031 (#7538) 2020-10-16 16:05:25 +00:00
module.go Add in-place store migrations (#8485) 2021-02-10 17:49:31 +00:00