v5

Chain ID: stride-1

The upgrade is scheduled for 2091902.

Cosmovisor Method

Build the new binary verison

cd stride
git pull
git checkout v5.0.0
make install

Check the version

# The correct version should be 5.0.0
strided version
# Should be: 8848c22076bb51319d4d29d03c772240849092c8
strided version --long | grep commit

Make new Cosmovisor directory and copy binary

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

Verify the Cosmovisor upgrade version

# The correct version should be 5.0.0
$HOME/.stride/cosmovisor/upgrades/v5/bin/strided version

Binary (Manual) Method

Build the new binary verison

cd stride
git pull
git checkout v5.0.0
make build

Set Halt Height

sed -i.bak 's/halt-height = 0/halt-height = 2091902/' $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 = 2091902/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