cosmos-sdk/x/staking/types
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
..
codec.go rename RegisterCodec to RegisterLegacyAminoCodec (#7243) 2020-09-07 14:47:12 +00:00
commission.go Exclude proto files from format (#5706) 2020-02-27 07:53:22 -03:00
commission_test.go Merge PR: #3918 Allow Unrated Decreases to Validator Commission Rates 2019-03-19 22:04:25 -04:00
data_test.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
delegation.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
delegation_test.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
errors.go Merge PR #5665: Bump Module ABCI Error Codes 2020-02-18 14:43:00 +01:00
events.go Merge PR #5102: Make events const and alias them (if internal) 2019-09-25 09:17:02 -07:00
expected_keepers.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
exported.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
genesis.go Enable proto JSON generally and remove HybridCodec (#6859) 2020-08-13 13:20:02 +00:00
genesis.pb.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
historical_info.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
historical_info_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
hooks.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
keys.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
keys_test.go Migrate BaseAccount PubKey to use Any (#7268) 2020-09-25 08:41:16 +00:00
msg.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
msg_test.go x/staking: fix REST calls panic on some method call (#5906) 2020-04-02 15:23:45 +02:00
params.go Rename *codec.Codec to *codec.LegacyAmino (#6991) 2020-08-10 19:41:21 +00:00
params_test.go Rename stake/ to staking/ (#3280) 2019-01-11 12:08:01 -08:00
pool.go x/staking: gRPC query Service (#6490) 2020-07-14 17:41:30 +00:00
querier.go x/staking: gRPC query Service (#6490) 2020-07-14 17:41:30 +00:00
query.pb.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
query.pb.gw.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
staking.pb.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
tx.pb.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
validator.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
validator_test.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00