-
Notifications
You must be signed in to change notification settings - Fork 637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gaia panic in local test: cannot delete latest saved version upon upgrade #1088
Comments
solved, thank you @colin-axner |
Following up with more information: The issue is that The bug here is that we were recommending the Added: []string{icacontrollertypes.StoreKey, icahosttypes.StoreKey}, So the |
Bumps [rollkit/.github](https://github.com/rollkit/.github) from 0.1.1 to 0.2.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/rollkit/.github/releases">rollkit/.github's releases</a>.</em></p> <blockquote> <h2>v0.2.2</h2> <h2>Overview</h2> <p>Bring in updates from Celestia/.github</p> <h2>What's Changed</h2> <ul> <li>add issue template by <a href="https://github.com/MSevey"><code>@MSevey</code></a> in <a href="https://redirect.github.com/rollkit/.github/pull/6">rollkit/.github#6</a></li> <li>Delete dependabot.yml by <a href="https://github.com/MSevey"><code>@MSevey</code></a> in <a href="https://redirect.github.com/rollkit/.github/pull/5">rollkit/.github#5</a></li> <li>Celestia updates by <a href="https://github.com/MSevey"><code>@MSevey</code></a> in <a href="https://redirect.github.com/rollkit/.github/pull/8">rollkit/.github#8</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/rollkit/.github/compare/v0.1.1...v0.2.2">https://github.com/rollkit/.github/compare/v0.1.1...v0.2.2</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/rollkit/.github/commit/b761dcfaa1e1ae9ece8f820855f538d9423ba829"><code>b761dcf</code></a> Celestia updates (<a href="https://redirect.github.com/rollkit/.github/issues/8">#8</a>)</li> <li><a href="https://github.com/rollkit/.github/commit/4405cc654fbb65b4eae5fa3abcbb556b079ff899"><code>4405cc6</code></a> Delete dependabot.yml (<a href="https://redirect.github.com/rollkit/.github/issues/5">#5</a>)</li> <li><a href="https://github.com/rollkit/.github/commit/de7084918e20fc75de3962eff0a05b989a66b880"><code>de70849</code></a> add issue template (<a href="https://redirect.github.com/rollkit/.github/issues/6">#6</a>)</li> <li>See full diff in <a href="https://github.com/rollkit/.github/compare/v0.1.1...v0.2.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rollkit/.github&package-manager=github_actions&previous-version=0.1.1&new-version=0.2.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Summary of Bug
Gaia upgrade from v6 to a binary built from
theta-prepare
branch in local test according to this tutorial.panic upon upgrade height:
if in
theta-prepare
branch, I change the ibc-go version fromrc-1
torc-0
, I will have the same paniccannot delete latest saved version
after upgrade and produce a few blocks.the panic is from iavl tree, https://github.com/cosmos/iavl/blob/d99448032e95a6ce05d342737cd745a20ef0b6ce/mutable_tree.go#L568
How to avoid the above panic?
if I delete
ica module
in the upgradehandler, https://github.com/cosmos/gaia/blob/619e66e3104e03bcf320fb37cc663e5e37da7d32/app/app.go#L655-L668, i can upgrade without panic.Hypha sets
pruning="nothing"
in app.toml, also can upgrade without panic.add initial details about theta testnet testnets#301 (comment)
use "fresh" genesis, which means use
gaia init
to generate genesis, rather than use the exported genesis from livehub, this can also upgrade without panic.add initial details about theta testnet testnets#301 (comment)
Version
Steps to Reproduce
Gaia upgrade from v6 to a binary built from
theta-prepare
branch in local test according to this tutorial.For Admin Use
The text was updated successfully, but these errors were encountered: