Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Recently, some chains suddenly added a new store to rootmulti. (it may not have been intentional, but just callingosmos-sdk's reference baseapp implementation)
The new store (icahost) has the wrong height.
While other stores like bank and slashing have the current block #123456789
icahost has a height equal to the number of blocks since an upgrade/start such as 105 for example
Is it reasonable to find some way to warn rather than panic? This will allow validators to continue to prune.
Then teams can see the warnings and know they need to implement some upgrade handlers to address the situation.
As cosmos-sdk grows, new stores of the wrong height may become more common and difficult for most teams to fix in a short amount of time.
Here is an example of how to not immediately crash and we could enable it with an environment variable.
What do you think?
As a note, here are links to 3 chains with issues: dig, konstellation, comdex
cosmos/cosmos-sdk#13933