cosmos-sdk/x/bank/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
..
bank.pb.go Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00
codec.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
errors.go Merge PR #5681: proto: migrate bank to hybridcodec 2020-02-20 15:24:26 +01:00
events.go Merge PR #5681: proto: migrate bank to hybridcodec 2020-02-20 15:24:26 +01:00
expected_keepers.go Update x/auth to use Any (#6165) 2020-05-20 19:21:00 +00:00
genesis.go Enable proto JSON for genesis (#7000) 2020-08-11 14:22:30 +00:00
genesis.pb.go Protobuf Audit: Genesis states (#6978) 2020-08-12 15:48:22 +00:00
genesis_test.go Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00
key.go Implement ADR 024 - Coin Metadata (#6821) 2020-07-28 07:49:56 +00:00
key_test.go Exclude proto files from format (#5706) 2020-02-27 07:53:22 -03:00
msgs.go Make JSONMarshaler methods require proto.Message (#7054) 2020-08-26 09:39:38 +00:00
msgs_test.go Merge PR #7053: Add address length validation to MsgSend and MsgMultiSend 2020-08-17 10:07:27 -04:00
params.go Remove viper in Staking module. (#6631) 2020-07-08 22:00:34 +02:00
params_test.go types: update coin regex (#7027) 2020-08-14 09:09:53 +00:00
querier.go Rename proto Req/Res to Pagination (#6796) 2020-07-20 16:51:16 +00:00
query.pb.go x/bank: gRPC Params Route (#7070) 2020-08-17 13:55:04 +00:00
query.pb.gw.go Verify Client on Connection Handshake (#7057) 2020-08-20 22:05:41 +00:00
supply.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
supply_test.go Merge PR #6010: Merge x/supply into x/bank 2020-04-20 11:22:12 -04:00
tx.pb.go Protobuf audit: base package, module packages, tx/Msg's (#7059) 2020-08-19 07:36:41 +00:00