cosmos-sdk/x/staking/types
Robert Zaremba b219c54c2d
Move and update codec.MarshalAny functions to codec.Marshaler interface (#8080)
* Changelog update

* Rename codec.MarshalAny

* move codec.MarshalInterface to codec.Marshaler

* fix tests

* Update amino_codec for compliance with MarshalerInterface

* update tests and comments

* add tests

* change order of args in UnmarshalInterface to a canonical one

* uplift MarshalInterface to take ProtoMessage as an argument

* wip

* add nil check

* make tests working

* tests cleanup

* add support for *JSON methods

* Update changelog

* linter fixes

* fix test types

* update evidence genesis_test

* adding test

* review updates

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-12-08 09:27:08 +00:00
..
codec.go RegisterInterfaces registers service Msg type_urls (#7671) 2020-10-28 19:20:45 +00:00
commission.go Exclude proto files from format (#5706) 2020-02-27 07:53:22 -03:00
commission_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
data_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
delegation.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
delegation_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +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 Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
exported.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
genesis.go Use any as validator pubkey (#7597) 2020-10-23 12:07:52 +00:00
genesis.pb.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
historical_info.go Sort validators like tendermint in HistoricalInfo (#7691) 2020-10-29 12:17:37 +00:00
historical_info_test.go Rename GRPCRouter (#8079) 2020-12-04 15:06:50 +00:00
hooks.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
keys.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
keys_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
msg.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
msg_test.go Move and update codec.MarshalAny functions to codec.Marshaler interface (#8080) 2020-12-08 09:27:08 +00:00
params.go Rename *codec.Codec to *codec.LegacyAmino (#6991) 2020-08-10 19:41:21 +00:00
params_test.go Rename GRPCRouter (#8079) 2020-12-04 15:06:50 +00:00
pool.go x/staking: gRPC query Service (#6490) 2020-07-14 17:41:30 +00:00
querier.go x/staking: gRPC query Service (#6490) 2020-07-14 17:41:30 +00:00
query.pb.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
query.pb.gw.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
staking.pb.go docker: proto (#7893) 2020-11-12 09:49:46 +00:00
tx.pb.go ibc: refactor proto files (#7689) 2020-10-27 14:14:07 +00:00
validator.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
validator_test.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00