dYdX

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

Install New Binary

cd dydx
git pull
git checkout v6.0.4
make install

Check Version

# should be 6.0.4
dydxprotocold version

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

Make Cosmovisor Directory and Copy Binary

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

Check Version Again

# should be 6.0.4
$HOME/.dydxprotocol/cosmovisor/upgrades/v6.0.0/bin/dydxprotocold version