v7

Chain ID: stride-1

The upgrade is scheduled for 2819182.

Cosmovisor Method

Build the new binary verison

cd stride
git pull
git checkout v7.0.0
make install

Check the version

# The correct version should be 7.0.0
strided version
# Should be: ef4808d4095c3da3c4f35e1b37495b5813624d14
strided version --long | grep commit

Make new Cosmovisor directory and copy binary

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

Verify the Cosmovisor upgrade version

# The correct version should be 7.0.0
$HOME/.stride/cosmovisor/upgrades/v7/bin/strided version

Binary (Manual) Method

Build the new binary verison

cd stride
git pull
git checkout v7.0.0
make build

Set Halt Height

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