dYdX

dYdX v9.4.0 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 62250000. It is estimated to take place 2 weeks ago. A countdown clock is here. The governance proposal is here.

Install New Binary

cd dydx
git pull
git checkout v9.4.0
make install

Check Version

# should be 9.4.0
dydxprotocold version

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

Make Cosmovisor Directory and Copy Binary

mkdir -p $HOME/.dydxprotocol/cosmovisor/upgrades/v9.4/bin
cp $HOME/go/bin/dydxprotocold $HOME/.dydxprotocol/cosmovisor/upgrades/v9.4/bin

Check Version Again

# should be 9.4.0
$HOME/.dydxprotocol/cosmovisor/upgrades/v9.4/bin/dydxprotocold version