cosmos-sdk/x/distribution/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
common_test.go Merge PR #5192: golangcI-lint updates & set static version to 1.19 2019-10-14 11:43:19 -04:00
delegator.go Merge PR #5610: proto: migrate x/distr to use hybrid codec 2020-02-11 09:58:37 -05:00
distribution.pb.go Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00
errors.go Merge PR #5665: Bump Module ABCI Error Codes 2020-02-18 14:43:00 +01:00
events.go Merge PR #5102: Make events const and alias them (if internal) 2019-09-25 09:17:02 -07:00
expected_keepers.go x/staking: remove alias.go usage (#6397) 2020-06-12 14:54:37 +00:00
fee_pool.go Merge PR #5610: proto: migrate x/distr to use hybrid codec 2020-02-11 09:58:37 -05:00
fee_pool_test.go Merge PR #5048: Fix linters and add golint 2019-09-16 13:11:17 -04:00
genesis.go Enable proto JSON for genesis (#7000) 2020-08-11 14:22:30 +00:00
genesis.pb.go Proto Auditing: Replace ID with Id (#7032) 2020-08-14 08:55:54 +00:00
keys.go Merge Pr #5506: Refactor use of parameters in x/distribution to match module spec 2020-01-10 15:08:14 -05:00
msg.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
msg_test.go Merge PR #5384: Fund Community Pool -- Part II 2019-12-10 23:02:15 -05:00
params.go Minor Code Cleanup - gRPC queries (#6862) 2020-07-28 12:53:35 +00:00
params_test.go Squash various linter warnings (#5652) 2020-02-16 20:06:45 +01:00
proposal.go Merge PR #5942: Tx Client Migration: x/gov 2020-04-14 15:05:14 -04:00
querier.go x/distribution: gRPC query service (#6600) 2020-07-13 20:01:16 +00:00
query.go x/distribution: gRPC query service (#6600) 2020-07-13 20:01:16 +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
tx.pb.go Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00
validator.go Merge PR #5610: proto: migrate x/distr to use hybrid codec 2020-02-11 09:58:37 -05:00