cosmos-sdk/x/staking/keeper
Amaury Martiny 33e7297c79
Use enum instead of int32 for BondStatus (#7499)
* Migrate staking module

* Add gov legacy

* Add comments

* Add x/distrib

* x/crisis

* x/mint

* Fix test

* migrate x/genutil

* Fix lint

* Fix staking constants

* Fix test

* Update x/genutil/legacy/v040/migrate.go

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Add migrate script instead of change BondStatus constants

* Change staking bondStatus to enum

* Fix test

* Fix another test

* Remove staking exported

* fix references

* Better constants

* Fix build

* Fix lint

* Remove buf version

* Fix tests

* Fix test

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2020-10-12 13:56:02 +00:00
..
alias_functions.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
common_test.go rename RegisterCodec to RegisterLegacyAminoCodec (#7243) 2020-09-07 14:47:12 +00:00
delegation.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
delegation_test.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +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 Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
historical_info.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
historical_info_test.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
hooks.go Merge PR #4417: cleanup staking references from types pkg 2019-06-04 15:06:58 -07:00
invariants.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
keeper.go Remove hybrid codec usage (#6843) 2020-07-25 08:03:58 +00:00
keeper_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
params.go Move some Param types from Keeper to Types in staking (#6451) 2020-06-16 19:59:36 +02:00
pool.go Update x/auth to use Any (#6165) 2020-05-20 19:21:00 +00:00
querier.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
querier_test.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
query_utils.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
slash.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
slash_test.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
test_common.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
val_state_change.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
validator.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
validator_test.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00