v6

Chain ID: stride-1

The upgrade is scheduled for 2559552.

Cosmovisor Method

Build the new binary verison

cd stride
git pull
git checkout v6.0.0
make install

Check the version

# The correct version should be 6.0.0
strided version
# Should be: 9c1a07a6f560d0d4165f7d7726ca3c5d7d9d4634
strided version --long | grep commit

Make new Cosmovisor directory and copy binary

mkdir -p $HOME/.stride/cosmovisor/upgrades/v6/bin
cp $HOME/go/bin/strided $HOME/.stride/cosmovisor/upgrades/v6/bin

Verify the Cosmovisor upgrade version

# The correct version should be 6.0.0
$HOME/.stride/cosmovisor/upgrades/v6/bin/strided version

Binary (Manual) Method

Build the new binary verison

cd stride
git pull
git checkout v6.0.0
make build

Set Halt Height

sed -i.bak 's/halt-height = 0/halt-height = 2559552/' $HOME/.stride/config/app.toml

Then, wait until the upgrade time. At the upgrade time, move to the next section.

Replace the binaries

cp $HOME/stride/build/strided $(which strided)

Reset the Halt Height

sed -i.bak 's/halt-height = 2559552/halt-height = 0/' $HOME/.stride/config/app.toml

Restart The Node

# Replace strided.service with whatever your service file is called
sudo systemctl restart strided.service

Last updated