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
Cosmovisor appears to have a bug in version v1.7.0. When using the add-upgrade command to schedule an upgrade, the binary is not replaced after reaching the expected height. This issue does not occur in version v1.6.0.
Observations and Configuration
Upgrade Info
The upgrade target is v0.12.1, and the expected height for the upgrade is 322000.
Hey @lucas2brh, we attempted to reproduce the issue with simapp by testing an upgrade scheduled for a block that takes 5 hours to reach. However, cosmovisor functioned as expected and the binary was successfully replaced after the upgrade. Could you please share additional logs or details that might help us investigate further? Thanks!
Is there an existing issue for this?
What happened?
Summary
Cosmovisor appears to have a bug in version v1.7.0. When using the add-upgrade command to schedule an upgrade, the binary is not replaced after reaching the expected height. This issue does not occur in version v1.6.0.
Observations and Configuration
The upgrade target is v0.12.1, and the expected height for the upgrade is 322000.
The directory structure confirms that the upgrade binary for v0.12.1 is properly prepared:
.story/story/cosmovisor/ ├── upgrades/ │ └── v0.12.1/ │ └── bin/ │ └── story └── current -> upgrades/v0.12.0.test3
The binary for the upgrade is located in the correct path and has appropriate permissions:
The active version of Cosmovisor is v1.7.0:
Expected Behavior
At the configured upgrade height (322000), Cosmovisor should replace the binary and start using the v0.12.1 binary.
Actual Behavior
The binary remains unchanged, and the process continues to use the v0.12.0.test3 binary.
Error logs:
Additional Notes
Environment
How to reproduce?
add-upgrade
command to schedule an upgrade.Please investigate this issue and provide a fix or workaround. Let me know if further information is required.
The text was updated successfully, but these errors were encountered: