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 Enable proto JSON generally and remove HybridCodec (#6859) 2020-08-13 13:20:02 +00:00
content.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
deposit.go Proto Auditing: Replace ID with Id (#7032) 2020-08-14 08:55:54 +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 Update x/auth to use Any (#6165) 2020-05-20 19:21:00 +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 Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00
keys.go Remove DefaultParamspace and simplify simapp creation. (#6564) 2020-07-01 13:57:29 +00:00
keys_test.go
msgs.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +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 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 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 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