You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way generating a state export for upgrade path testing works currently is a bit flawed. We take a state export then we use python to manipulate a json file to try and prepare a state for starting a single node network. This isn't exactly reliable or efficient.
What makes more sense is giving the cli a function that can prepare a mainnet state export using the native CosmosSDK for starting local single node testing networks derived from the mainnet state.
That way the SDK can manipulate the genesis as it writes it to be able to start a local network with a provided account address as the validator address to assign the power to start the network too.
Also, we should examine the state export code when doing this to try and reduce or limit its speed to reduce resources required to take a state export instead of trying to do it as fast as possible limit the memory usage and keep the export within a set of bounds to have it be more predictable.
The text was updated successfully, but these errors were encountered:
The way generating a state export for upgrade path testing works currently is a bit flawed. We take a state export then we use python to manipulate a json file to try and prepare a state for starting a single node network. This isn't exactly reliable or efficient.
What makes more sense is giving the cli a function that can prepare a mainnet state export using the native CosmosSDK for starting local single node testing networks derived from the mainnet state.
That way the SDK can manipulate the genesis as it writes it to be able to start a local network with a provided account address as the validator address to assign the power to start the network too.
Also, we should examine the state export code when doing this to try and reduce or limit its speed to reduce resources required to take a state export instead of trying to do it as fast as possible limit the memory usage and keep the export within a set of bounds to have it be more predictable.
The text was updated successfully, but these errors were encountered: