v2.0.0

Chain ID: jackal-1

The upgrade is scheduled for 2631260.

Cosmovisor Method

Build the new binary verison

cd canine-chain
git pull
git checkout v2.0.0
make install

Check the version

# The correct version should be 2.0.0
canined version
# Should be: 2c10d62602ff9c4aa68ec977e1f6870e2441df3b
canined version --long | grep commit

Make new Cosmovisor directory and copy binary

mkdir -p $HOME/.canine/cosmovisor/upgrades/recovery/bin
cp $HOME/go/bin/canined $HOME/.canine/cosmovisor/upgrades/recovery/bin

Verify the Cosmovisor upgrade version

# The correct version should be 2.0.0
$HOME/.canine/cosmovisor/upgrades/recovery/bin/canined version

Binary (Manual) Method

Build the new binary verison

cd canine-chain
git pull
git checkout v2.0.0
make build

Set Halt Height

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

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

Replace the binaries

cp $HOME/canine-chain/build/canined $(which canined)

Reset the Halt Height

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

Restart The Node

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

Last updated