cosmos-sdk/x/gov/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
content.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
deposit.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 #4233: Add upgrade module 2019-11-08 09:40:56 -05:00
expected_keepers.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
genesis.go Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00
genesis.pb.go Proto Auditing: Replace ID with Id (#7032) 2020-08-14 08:55:54 +00:00
genesis_test.go Proto Auditing: Replace ID with Id (#7032) 2020-08-14 08:55:54 +00:00
gov.pb.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
keys.go Remove DefaultParamspace and simplify simapp creation. (#6564) 2020-07-01 13:57:29 +00:00
keys_test.go Migrate BaseAccount PubKey to use Any (#7268) 2020-09-25 08:41:16 +00:00
msgs.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
msgs_test.go Update x/gov to use Any (#6147) 2020-05-19 20:17:29 +00:00
params.go Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00
proposal.go Proto Auditing: Replace ID with Id (#7032) 2020-08-14 08:55:54 +00:00
proposals_test.go Enable proto JSON for genesis (#7000) 2020-08-11 14:22:30 +00:00
querier.go Merge PR #5405: Queries to /gov/proposals/{proposalID}/votes support pagination 2019-12-18 13:15:37 -05: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
router.go Merge PR #5244: Add debug commands 2019-11-11 09:54:32 -05:00
tally.go Minor Code Cleanup - gRPC queries (#6862) 2020-07-28 12:53:35 +00:00
tx.pb.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
vote.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00