cosmos-sdk/x/staking/keeper
Marie 7f59723d88
Make JSONMarshaler methods require proto.Message (#7054)
* Make JSONMarshaler require proto.Message

* Use &msg with MarshalJSON

* Use *LegacyAmino in queriers instead of JSONMarshaler

* Revert ABCIMessageLogs String() and coins tests

* Use LegacyAmino in client/debug and fix subspace tests

* Use LegacyAmino in all legacy queriers and adapt simulation

* Make AminoCodec implement Marshaler and some godoc fixes

* Test fixes

* Remove unrelevant comment

* Use TxConfig.TxJSONEncoder

* Use encoding/json in genutil cli migrate/validate genesis cmds

* Address simulation related comments

* Use JSONMarshaler in cli tests

* Use proto.Message as respType in cli tests

* Use tmjson for tm GenesisDoc

* Update types/module/simulation.go

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update types/module/module_test.go

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Add godoc comments

* Remove unused InsertKeyJSON

* Fix tests

Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-26 09:39:38 +00:00
..
alias_functions.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
common_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
delegation_test.go Refactor x/staking Unbonding Validator Queue (#6844) 2020-07-31 12:55:32 -04:00
delegation.go x/staking: add call to iterator Close method (#6791) 2020-07-20 04:30:09 -04:00
grpc_query_test.go Fix status filter (#7167) 2020-08-26 07:42:25 +00:00
grpc_query.go Fix status filter (#7167) 2020-08-26 07:42:25 +00:00
historical_info_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
historical_info.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
hooks.go Merge PR #4417: cleanup staking references from types pkg 2019-06-04 15:06:58 -07:00
invariants.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
keeper_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
keeper.go Remove hybrid codec usage (#6843) 2020-07-25 08:03:58 +00: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_test.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
querier.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
query_utils.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
slash_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
slash.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
test_common.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
val_state_change.go Refactor x/staking Unbonding Validator Queue (#6844) 2020-07-31 12:55:32 -04:00
validator_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
validator.go Audit / Refactor proto packages layout (#6905) 2020-08-11 11:49:45 +00:00