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 installCheck the version
# The correct version should be 5.0.0
strided version
# Should be: 8848c22076bb51319d4d29d03c772240849092c8
strided version --long | grep commitMake new Cosmovisor directory and copy binary
mkdir -p $HOME/.stride/cosmovisor/upgrades/v5/bin
cp $HOME/go/bin/strided $HOME/.stride/cosmovisor/upgrades/v5/binVerify the Cosmovisor upgrade version
# The correct version should be 5.0.0
$HOME/.stride/cosmovisor/upgrades/v5/bin/strided versionBinary (Manual) Method
Build the new binary verison
cd stride
git pull
git checkout v5.0.0
make buildSet Halt Height
sed -i.bak 's/halt-height = 0/halt-height = 2091902/' $HOME/.stride/config/app.tomlThen, 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.tomlRestart The Node
# Replace strided.service with whatever your service file is called
sudo systemctl restart strided.serviceLast updated