dYdX

dYdX v5.2.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 22170000. It is estimated to take place 4 months ago. A countdown clock is here. The governance proposal is here.

Install New Binary

cd dydx
git pull
git checkout v5.2.0
make install

Check Version

# should be 5.2.0
dydxprotocold version

# Should be commit 21f18a56b1e94a23694164d12c37c76e1d085f26
dydxprotocold version --long | grep commit

Make Cosmovisor Directory and Copy Binary

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

Check Version Again

# should be 5.2.0
$HOME/.dydxprotocol/cosmovisor/upgrades/v5.2.0/bin/dydxprotocold version