cosmos-sdk/tests/mocks
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
..
grpc_server.go Add RegisterQueryService to AppModule (#6336) 2020-06-06 07:59:57 +00:00
tendermint_tm_db_DB.go Fix module interface registration (#6834) 2020-07-23 22:45:34 -04:00
types_handler.go regenerate mocks, don't format autogenered files on make format (#5848) 2020-03-20 18:14:53 +00:00
types_invariant.go regenerate mocks, don't format autogenered files on make format (#5848) 2020-03-20 18:14:53 +00:00
types_module_module.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
types_router.go module: pass route by value (#6404) 2020-06-11 15:37:23 +00:00