Upgrade

Prepare for and the upcomming chain upgrade using Cosmovisor.

Chain ID: perun-1 | Latest Version Tag: v1.1.0

Since we are using Cosmovisor, it makes it very easy to prepare for upcomming upgrade. You just have to build new binaries and move it into cosmovisor upgrades directory.

Download and build upgrade binaries

# Clone project repository
cd $HOME
rm -rf c4ed
git clone https://github.com/chain4energy/c4e-chain.git
cd c4ed
git checkout v1.1.0

# Build binaries
make build && make install

# Prepare binaries for Cosmovisor
mkdir -p $DAEMON_HOME/cosmovisor/upgrades/v1.1.0/bin && cp $HOME/go/bin/c4ed $DAEMON_HOME/cosmovisor/upgrades/v1.1.0/bin
$DAEMON_HOME/cosmovisor/upgrades/v1.1.0/bin/c4ed version
rm -rf build

Thats it! Now when upgrade block height is reached, Cosmovisor will handle it automatically!

Last updated