Loading...

dYdX Chain Upgrade

The upgrade is scheduled for block 50,240,951. It is estimated to take place 2 days 22 hours 55 minutes from now.


Install New Binary

cd $HOME
cd v4-chain
git pull
git checkout v8.2.0
make install

Check Version

# should be v8.2.0
dydxprotocold version 

# Should be commit f29f41735e4966ac0902cf6c8cc87598194d5a13
dydxprotocold version --long | grep commit 

Restart the service and check the logs

Without using Cosmovisor
sudo systemctl restart dydxprotocold
sudo journalctl -u dydxprotocold -f

Make Cosmovisor Directory and Copy Binary

mkdir -p $HOME/.dydxprotocol/cosmovisor/upgrades/v8.2.0/bin
cp $HOME/go/bin/dydxprotocold $HOME/.dydxprotocol/cosmovisor/upgrades/v8.2.0/bin

Check Version Again

# should be v8.2.0
$HOME/.dydxprotocol/cosmovisor/upgrades/v8.2.0/bin/dydxprotocold version
When upgrade block height is reached, Cosmovisor will handle it automatically.