cosmos / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:
https://cosmos.network/
Apache License 2.0
6.24k stars 3.6k forks source link

Home dir not passed to simapp for state export #8150

Closed alpe closed 3 years ago

alpe commented 3 years ago

Summary of Bug

Empty string is passed to the simapp instead of the home dir.

@whylee259 reported this issue for the wasmd originally but it affects also the simd app as well.

Note: When simd was used as a template for a Stargate based chain/ migration then they would be affected as well. The fix for wasmd (https://github.com/CosmWasm/wasmd/pull/337)

Version

master (f1d877)

Steps to Reproduce

Run a local node, stop and then run simd export command


For Admin Use

anilcse commented 3 years ago

Thanks @alpe. This was used for storing the upgrade plan info which is then used for StoreUpgrades. We don't have simulations for this so never catched in tests