dYdX

dYdX v4.0.2 Upgrade

LFG

This guide assumes that you use cosmovisor to manage upgrades. If you do not use cosmovisor, please adjust some commands accordingly.

The upgrade is scheduled for Block 12791712. It is estimated to take place 1 month ago. A countdown clock is here. The governance proposal is here.

Install New Binary

cd dydx
git pull
git checkout v4.0.2
make install

Check Version

# should be 4.0.2
dydxprotocold version

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

Make Cosmovisor Directory and Copy Binary

mkdir -p $HOME/.dydxprotocol/cosmovisor/upgrades/v4.0.0/bin
cp $HOME/go/bin/dydxprotocold $HOME/.dydxprotocol/cosmovisor/upgrades/v4.0.0/bin

Check Version Again

# should be 4.0.2
$HOME/.dydxprotocol/cosmovisor/upgrades/v4.0.0/bin/dydxprotocold version