cosmos-sdk/x/gov/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
content.go
deposit.go Proto Auditing: Replace ID with Id (#7032) 2020-08-14 08:55:54 +00:00
errors.go
events.go
expected_keepers.go
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 Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00
keys.go
keys_test.go
msgs.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
msgs_test.go
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
querier.go
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
router.go
tally.go
tx.pb.go Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00
vote.go Proto Auditing: Replace ID with Id (#7032) 2020-08-14 08:55:54 +00:00