Neutron v6.0.3 Upgrade Instructions
Chain upgrade point: July 2nd 2025, 15:00 UTC (approximately), at height 28886600- Go version: v1.23.4
- Release: https://github.com/neutron-org/neutron/releases/tag/v6.0.3
COORDINATED MAINNET UPGRADE ON HEIGHT 28886600. DO NOT APPLY MANUALLY
Upgrade Schedule
The upgrade will take place approximately on July 2nd at 15:00 UTC at height 28886600.
neutron-1. This is because an in-place migration of state will take place, i.e., this upgrade does not export any state.
System Requirements
64GB RAM is recommended to ensure a smooth upgrade.
Make sure you have enough disk space for upgrade, the state can grow twice during upgrade.
Backups
Prior to the upgrade, validators are encouraged to take a full data snapshot. Snapshotting depends heavily on infrastructure, but generally this can be done by backing up the.neutrond directory. If you use Cosmovisor to upgrade, by default, Cosmovisor will backup your data upon upgrade.
Critical: It is critically important for validator operators to back-up the
.neutrond/data/priv_validator_state.json file after stopping the neutrond process. This file is updated every block as your validator participates in consensus rounds. It is a critical file needed to prevent double-signing, in case the upgrade fails and the previous chain needs to be restarted.Current and Target Runtime
- Current runtime: The Neutron mainnet network,
neutron-1, is currently running Neutron v6.0.2. We anticipate that operators who are running on v6.0.2, will be able to upgrade successfully. - Target runtime: The Neutron mainnet network,
neutron-1, will run Neutron v6.0.3. Operators MUST use this version post-upgrade to remain connected to the network.
Upgrade Methods
There are 2 major ways to upgrade a node:- Manual upgrade
- Upgrade using Cosmovisor
- Either by manually preparing the new binary
- Or by using the auto-download functionality (this is not yet recommended)
Create the Updated Neutron Binary
Step 1: Get the Source Code
Go to neutron directory if present else clone the repository:Step 2: Verify the Installation
Check the new neutron version, verify the latest commit hash:Step 3: Verify libwasmvm Version
Make sure you are using the proper version of libwasmvm
Ways to change libwasmvm
- Use a statically built Neutrond binary from an official Neutron release: https://github.com/neutron-org/neutron/releases/tag/v6.0.3
- If you built Neutron binary by yourself, libwasmvm should be loaded dynamically in your binary and somehow, the wrong libwasmvm library was present on your machine. You can change it by downloading the proper one and linking it to the Neutron binary manually:
Method I: Manual Upgrade
1
Prepare Binary
Make sure Neutron v6.0.3 is installed by either downloading a compatible binary, or building from source. Building from source requires Golang 1.23.x.
2
Wait for Upgrade Height
Run Neutron v6.0.2 till upgrade height, the node will panic:
3
Switch Binary and Restart
Stop the node, and switch the binary to Neutron v6.0.3 and re-start by
neutrond start.It may take several minutes to a few hours until validators with a total sum voting power > 2/3 to complete their node upgrades. After that, the chain can continue to produce blocks.Method II: Upgrade using Cosmovisor
Manually Preparing the Binary
Preparation
1
Install Cosmovisor
Install the latest version of Cosmovisor (1.5.0):Verify Cosmovisor Version:
2
Create Cosmovisor Structure
Create a cosmovisor folder:Then you should get the following structure:
3
Set Environment Variables
Export the environmental variables:
4
Start with Cosmovisor
Start the node:Skipping the invariant checks is strongly encouraged since it decreases the upgrade time significantly and since there are some other improvements coming to the crisis module in the next release of the Cosmos SDK.
Expected Upgrade Result
When the upgrade block height is reached, Neutron will panic and stop. After upgrade, the chain will continue to produce blocks when validators with a total sum voting power > 2/3 complete their node upgrades.Upgrade Duration
Most likely it takes a couple of minutes.Rollback Plan
During the network upgrade, core Neutron team will be keeping an ever vigilant eye and communicating with operators on the status of their upgrades. During this time, the core team will listen to operator needs to determine if the upgrade is experiencing unintended challenges. In the event of unexpected challenges, the core team, after conferring with operators and attaining social consensus, may choose to declare that the upgrade will be skipped. Steps to skip this upgrade proposal are simply to resume the neutron-1 network with the (downgraded) v6.0.2 binary using the following command:There is no particular need to restore a state snapshot prior to the upgrade height, unless specifically directed by core Neutron team.
Important: A social consensus decision to skip the upgrade will be based solely on technical merits, thereby respecting and maintaining the decentralized governance process of the upgrade proposal’s successful YES vote.
Risks
As a validator performing the upgrade procedure on your consensus nodes carries a heightened risk of double-signing and being slashed. The most important piece of this procedure is verifying your software version and genesis file hash before starting your validator and signing. The riskiest thing a validator can do is discover that they made a mistake and repeat the upgrade procedure again during the network startup. If you discover a mistake in the process, the best thing to do is wait for the network to start before correcting it.AppHash Errors
If you are facing AppHash errors on your nodes, disable the fastnode subsystem by setting the following in
<NEUTRON_DATA>/config/app.toml:FAQ
Q: My node restarted in the middle of upgrade process (OOM killed, hardware issues, etc), is it safe to just proceed with the upgrade?
Q: My node restarted in the middle of upgrade process (OOM killed, hardware issues, etc), is it safe to just proceed with the upgrade?
A: No. Most likely the upgrade will be completed successfully. But you get AppHash error after the network gets up. It’s a lot safer to restart full process from scratch (recover the node from a backup).To perform an upgrade you need to keep your
./data/priv_validator_state.json file when you are applying a snapshot from the backup. This will help you avoid the risk of slashing due to double signing.