Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Bug]: cosmovisor not correctly responding to modern height being restored #23947

Open
1 task done
gilbahat opened this issue Mar 9, 2025 · 0 comments
Open
1 task done
Labels

Comments

@gilbahat
Copy link

gilbahat commented Mar 9, 2025

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

When configuring cosmovisor according to documentation but loading a snapshot from a recent height, cosmovisor will fail to parse the different message and not respond by switching the binary.

Cosmos SDK Version

0.47.4

How to reproduce?

  1. install a node with cosmovisor. place the genesis binary in COSMOVISOR_HOME/genesis/bin. place all required upgrade binaries in upgrades/vX.Y.Z/bin.
  2. Restore a recent height snapshot, one that is expected to work with the latest version, making sure it is available under vX.Y.Z
  3. Start cosmovisor

Expected behaviour:

cosmovisor parses the error message of trying to run with this recent height with a genesis binary and switches to the right binary.

Observed behaviour:

Cosmovisor does not parse the error message and will loop forever using the genesis binary.

said error message on our chain, may differ slightly per chain, with genesis version = 0.4.8:

Mar 09 15:01:47 redacted cosmovisor[16142]: panic: Wrong app version 0, upgrade handler is missing for v0.4.11 upgrade plan
Mar 09 15:01:47 redacted cosmovisor[16142]: goroutine 18 [running]:
(stack dump proceeds)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant