cosmos-sdk/simapp
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
..
helpers Put AccountSequence in SignerInfo (#6997) 2020-08-21 14:20:47 +00:00
params Enable proto JSON generally and remove HybridCodec (#6859) 2020-08-13 13:20:02 +00:00
simd Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
app.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
app_test.go Enable proto JSON generally and remove HybridCodec (#6859) 2020-08-13 13:20:02 +00:00
config.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
encoding.go Fix module interface registration (#6834) 2020-07-23 22:45:34 -04:00
export.go Fix AfterImport and update black/white list variable namings (#7159) 2020-08-25 15:55:19 +00:00
genesis.go Enable proto JSON for genesis (#7000) 2020-08-11 14:22:30 +00:00
genesis_account.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
genesis_account_test.go Merge PR #5572: ADR 004 Implementation 2020-01-30 16:31:16 -05:00
sim_bench_test.go fix hardcoded auth sims (#7135) 2020-08-24 10:55:42 +00:00
sim_test.go Fix AfterImport and update black/white list variable namings (#7159) 2020-08-25 15:55:19 +00:00
state.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
test_helpers.go Put AccountSequence in SignerInfo (#6997) 2020-08-21 14:20:47 +00:00
types.go Fix AfterImport and update black/white list variable namings (#7159) 2020-08-25 15:55:19 +00:00
utils.go Enable proto JSON generally and remove HybridCodec (#6859) 2020-08-13 13:20:02 +00:00
utils_test.go Implement gRPC Simulate endpoint (#7035) 2020-08-24 14:41:08 +00:00