cosmos-sdk/x/auth/legacy
Robert Zaremba b18a033a17
Clean Any interface (#8167)
* Clean Any interface

+ removed Any.Pack method. This method is not needed, because we have specialized
  functions for createing new Any values. It could be used inappropriately with existing
  Any objects.

* removed deprecated PackAny function

* fix linter issue

* update nil handling

* NewAnyWithValue returns error on nil instead of panic

* NewMsgCreateValidator: handle nil pubkey

* Remove AsAny and tx builder workarounds

* fix linter issue

* Add AsAny methods to TxBuilder and StdTxConfig, but keep intoAny interface private

* remove tx.PubKeyToAny

* cosmetic updates

* fix method interface

* move ProtoTxProvider to x/auth/tx
2020-12-18 14:55:25 +00:00
..
legacytx Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
v034 0.39->0.40 CLI `migrate` command (#6839) 2020-10-05 21:28:14 +00:00
v036 0.39->0.40 CLI `migrate` command (#6839) 2020-10-05 21:28:14 +00:00
v038 Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
v039 Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
v040 Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00