Loading...

dYdX Chain Upgrade

The upgrade is scheduled for block 54,450,000. It is estimated to take place 4 days 1 hour 37 minutes from now.


Install New Binary

cd $HOME
cd v4-chain
git pull
git checkout v9.0.0
make install

Check Version

# should be v9.0.0
dydxprotocold version 

# Should be commit 0cd314eeefb39a17d013367d57812ad523de09fb
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/v9.0.0/bin
cp $HOME/go/bin/dydxprotocold $HOME/.dydxprotocol/cosmovisor/upgrades/v9.0.0/bin

Check Version Again

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