cosmos-sdk/simapp
Marie Gauthier eba4c8a264
Handle nil *Any in UnpackAny and add panic handler for tx decoding (#7594)
* Handle nil any in UnpackAny

* Add test

* Add flag back

* Update runTx signature

* Update Simulate signature

* Update calls to Simulate

* Add txEncoder in baseapp

* Fix TestTxWithoutPublicKey

* Wrap errors

* Use amino in baseapp tests

* Add txEncoder arg to Check & Deliver

* Fix gas in test

* Fix remaining base app tests

* Rename to amionTxEncoder

* Update codec/types/interface_registry.go

Co-authored-by: Aaron Craelius <aaron@regen.network>

* golangci-lint fix

Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-10-19 18:04:44 +00:00
..
helpers Put AccountSequence in SignerInfo (#6997) 2020-08-21 14:20:47 +00:00
params Robert/move amino stdtx (#7301) 2020-09-22 14:35:18 +00:00
simd Refactor x/staking Validation and Delegation tests based on MsgCreateValidator.Pubkey type change. (#7526) 2020-10-19 13:04:55 +00:00
app.go Add MsgServer to Configurator for ADR 031 wiring (#7584) 2020-10-19 17:46:10 +00:00
app_test.go Add height in exported genesis (#7089) 2020-09-03 10:11:46 +00:00
config.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
encoding.go rename RegisterCodec to RegisterLegacyAminoCodec (#7243) 2020-09-07 14:47:12 +00:00
export.go Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +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 Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
sim_bench_test.go fix hardcoded auth sims (#7135) 2020-08-24 10:55:42 +00:00
sim_test.go ibc: core restructure (#7434) 2020-10-02 06:03:02 -03:00
state.go Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
test_helpers.go Handle nil *Any in UnpackAny and add panic handler for tx decoding (#7594) 2020-10-19 18:04:44 +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