cosmos-sdk/x/distribution/keeper
Amaury ba74a7c737
x{stake,slash,gov,distrib} In-place Store Migrations (#8504)
* 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

* Add distrib legacy folder

* Add tests for distrib migration

* Add gov migrations

* Copy paste whole keys file

* Add gov migrations

* Add staking

* Fix staking tests

* Update spec and module.go

* Update to latest changes

* Update migration scripts

* capability to 1

* Fix tests

* Add package godoc

* Remove whitespace

* Remove global

* Use Migrator

* Remove 042 keys files

* Fix build

* Unlambda

* Rename to Migrate1to2

Co-authored-by: Robert Zaremba <robert@zaremba.ch>
2021-02-25 10:43:31 +00:00
..
alias_functions.go Update x/auth to use Any (#6165) 2020-05-20 19:21:00 +00:00
allocation.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
allocation_test.go [Bank] Remove the unsafe balance changing API (#8473) 2021-02-17 18:20:33 +00:00
common_test.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
delegation.go Refactor Logging using Zerolog (#8072) 2020-12-03 23:17:21 +00:00
delegation_test.go [Bank] Remove the unsafe balance changing API (#8473) 2021-02-17 18:20:33 +00:00
fee_pool.go Merge PR #6010: Merge x/supply into x/bank 2020-04-20 11:22:12 -04:00
genesis.go [Bank] Remove the unsafe balance changing API (#8473) 2021-02-17 18:20:33 +00:00
grpc_query.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
grpc_query_test.go [Bank] Remove the unsafe balance changing API (#8473) 2021-02-17 18:20:33 +00:00
hooks.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
invariants.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
keeper.go Refactor Logging using Zerolog (#8072) 2020-12-03 23:17:21 +00:00
keeper_test.go [Bank] Remove the unsafe balance changing API (#8473) 2021-02-17 18:20:33 +00:00
migrations.go x{stake,slash,gov,distrib} In-place Store Migrations (#8504) 2021-02-25 10:43:31 +00:00
msg_server.go x/distribution: fix setting withdraw address (#8240) 2020-12-31 12:04:28 -03:00
params.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
proposal_handler.go Refactor Logging using Zerolog (#8072) 2020-12-03 23:17:21 +00:00
querier.go docs: cache-wrapping and virtual store (#8102) 2021-01-05 15:57:33 +00:00
querier_test.go fix build issues && telemetry.SetGaugeWithLabels int64 range validation 2020-11-11 02:07:40 +10:00
store.go Favor marshal unmashal binare bare (#5799) 2020-03-13 19:58:43 +00:00
validator.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00