cosmos-sdk/x/slashing/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
..
common_test.go migrate TestHandleNewValidator to new simapp 2020-03-02 21:19:46 +01:00
grpc_query_test.go Refactor x/staking Validation and Delegation tests based on MsgCreateValidator.Pubkey type change. (#7526) 2020-10-19 13:04:55 +00:00
grpc_query.go Change address from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
hooks.go various linter fixes (#8666) 2021-02-23 08:46:01 +00:00
infractions.go Refactor Logging using Zerolog (#8072) 2020-12-03 23:17:21 +00:00
keeper_test.go fix build issues && telemetry.SetGaugeWithLabels int64 range validation 2020-11-11 02:07:40 +10:00
keeper.go Move and update codec.MarshalAny functions to codec.Marshaler interface (#8080) 2020-12-08 09:27:08 +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/slashing] Implement Protobuf Msg Services (#7557) 2020-10-15 14:38:15 +00:00
params.go Merge PR #5627: Regen Network/Slashing protobuf 2020-02-20 01:04:13 +01:00
querier_test.go Refactor x/staking Validation and Delegation tests based on MsgCreateValidator.Pubkey type change. (#7526) 2020-10-19 13:04:55 +00:00
querier.go Change address from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
signing_info_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
signing_info.go Slashing genesis types proto migration (#6881) 2020-08-04 12:58:36 +00:00
unjail.go Use any as validator pubkey (#7597) 2020-10-23 12:07:52 +00:00