cosmos-sdk/x/slashing/types
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
..
codec.go Enable proto JSON generally and remove HybridCodec (#6859) 2020-08-13 13:20:02 +00:00
errors.go Merge PR #5627: Regen Network/Slashing protobuf 2020-02-20 01:04:13 +01:00
events.go Merge PR #5627: Regen Network/Slashing protobuf 2020-02-20 01:04:13 +01:00
expected_keepers.go Update x/auth to use Any (#6165) 2020-05-20 19:21:00 +00:00
genesis.go Enable proto JSON for genesis (#7000) 2020-08-11 14:22:30 +00:00
genesis.pb.go Protobuf Audit: Genesis states (#6978) 2020-08-12 15:48:22 +00:00
keys.go Merge PR #6212: Remove Get* Prefixes from Key Construction Functions 2020-05-13 17:23:00 -04:00
msg.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
msg_test.go Merge PR #5627: Regen Network/Slashing protobuf 2020-02-20 01:04:13 +01:00
params.go x/Slashing: gRPC query service (#6597) 2020-07-06 21:54:25 +00:00
querier.go x/staking: gRPC query Service (#6490) 2020-07-14 17:41:30 +00:00
query.pb.go Add Grpc gateway annotations (#6918) 2020-08-14 10:05:35 +00:00
query.pb.gw.go Verify Client on Connection Handshake (#7057) 2020-08-20 22:05:41 +00:00
signing_info.go Favor marshal unmashal binare bare (#5799) 2020-03-13 19:58:43 +00:00
slashing.pb.go Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00
tx.pb.go Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00