cosmos-sdk/x/bank
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
..
client Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
exported Move ModuleAccount to x/auth (#6029) 2020-04-20 19:32:10 +00:00
keeper Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
legacy Fix 0.39 x/auth Migration Types (#6870) 2020-07-28 19:18:07 +00:00
simulation Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
spec Enable/disable coin transfers by denom (#6527) 2020-07-08 17:43:08 +00:00
types Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
app_test.go Put AccountSequence in SignerInfo (#6997) 2020-08-21 14:20:47 +00:00
bench_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
handler.go Minor Code Cleanup - gRPC queries (#6862) 2020-07-28 12:53:35 +00:00
handler_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
module.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00