v0.2.1

Chain ID: nolus-rila

The upgrade is scheduled for 1327000.

Cosmovisor Method

Build the new binary verison

cd nolus-core
git pull
git checkout v0.2.1-testnet
make install

Check the version

# The correct version should be 0.2.1
nolusd version
# Should be: b33e872e7411d86549a4a8ac1ffbf9b1f5190efa
nolusd version --long | grep commit

Make new Cosmovisor directory and copy binary

mkdir -p $HOME/.nolus/cosmovisor/upgrades/v0.2.1/bin
cp $HOME/go/bin/nolusd $HOME/.nolus/cosmovisor/upgrades/v0.2.1/bin

Verify the Cosmovisor upgrade version

# The correct version should be 0.2.1
$HOME/.nolus/cosmovisor/upgrades/v0.2.1/bin/nolusd version

Binary (Manual) Method

Build the new binary verison

cd nolus-core
git pull
git checkout v0.2.1-testnet
make build

Set Halt Height

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

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

Replace the binaries

cp $HOME/nolus-core/target/release/nolusd $(which nolusd)

Reset the Halt Height

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

Restart The Node

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

Last updated