cosmos-sdk/simapp
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
..
helpers Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
params simapp: rename MakeEncodingConfig to MakeTestEncodingConfig (#7681) 2020-10-27 11:33:48 +00:00
simd Tulasi/export homepath (#8194) 2020-12-18 09:06:54 +00:00
app.go Rename GRPCRouter (#8079) 2020-12-04 15:06:50 +00:00
app_test.go Update x/banking and x/crisis InitChain re slow Gaia startup (#7764) 2020-11-02 19:10:14 +00:00
config.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
encoding.go simapp: rename MakeEncodingConfig to MakeTestEncodingConfig (#7681) 2020-10-27 11:33:48 +00:00
export.go Use any as validator pubkey (#7597) 2020-10-23 12:07:52 +00:00
genesis.go simapp: rename MakeEncodingConfig to MakeTestEncodingConfig (#7681) 2020-10-27 11:33:48 +00:00
genesis_account.go x/auth: remove alias.go usage (#6440) 2020-06-17 14:42:27 -04:00
genesis_account_test.go Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
sim_bench_test.go Update x/banking and x/crisis InitChain re slow Gaia startup (#7764) 2020-11-02 19:10:14 +00:00
sim_test.go Update x/banking and x/crisis InitChain re slow Gaia startup (#7764) 2020-11-02 19:10:14 +00:00
state.go Use any as validator pubkey (#7597) 2020-10-23 12:07:52 +00:00
test_helpers.go Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
types.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
utils.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
utils_test.go rename RegisterCodec to RegisterLegacyAminoCodec (#7243) 2020-09-07 14:47:12 +00:00