cosmos-sdk/x/slashing/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
..
common_test.go migrate TestHandleNewValidator to new simapp 2020-03-02 21:19:46 +01:00
grpc_query.go Rename proto Req/Res to Pagination (#6796) 2020-07-20 16:51:16 +00:00
grpc_query_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
hooks.go linter: enable nolintlint (#6162) 2020-05-08 08:46:12 +00:00
infractions.go Merge PR #5627: Regen Network/Slashing protobuf 2020-02-20 01:04:13 +01: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 Merge PR #5627: Regen Network/Slashing protobuf 2020-02-20 01:04:13 +01:00
querier.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
querier_test.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
signing_info.go Slashing genesis types proto migration (#6881) 2020-08-04 12:58:36 +00:00
signing_info_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
test_common.go x/staking: remove alias.go usage (#6397) 2020-06-12 14:54:37 +00:00
unjail.go Allow Unjail of Non-Bonded Jailed Validator (#6061) 2020-04-26 17:38:33 +00:00