Denali Mainnet IMA Hotfix Soft Upgrade

Be sure to follow specific upgrade schedule assigned to your node(s). Follow guidance from the core team.
With the 2.0.2 version, please note that the SKALE node docker now listens on an additional socket which is located in /var/run/skale/docker.sock. A new socket path will be added to daemon.json config during update. In addition, the service configuration for docker daemon will be changed to ensure that /var/run/skale is created.
If a node has custom docker daemon service configuration (systemd unit file), update may lead to unexpected behavior. In this case it’s better to ask for the assistance from the core team.
Please, don’t forget to run skale node check as a last step.

1. Install SKALE Node CLI

Download the SKALE Node CLI binary

Make sure VERSION_NUM is 2.0.2

Terminal Command:

VERSION_NUM=[VERSION_NUM] && sudo -E bash -c "curl -L https://github.com/skalenetwork/skale-node-cli/releases/download/$VERSION_NUM/skale-$VERSION_NUM-`uname -s`-`uname -m` >  /usr/local/bin/skale"

Make the SKALE Node CLI binary executable

Terminal Command:

sudo chmod +x /usr/local/bin/skale

2. Update node using skale node update

Change directory

cd  ~ && vi .env

Update .env

Make sure the following options are set

CONTAINER_CONFIGS_STREAM=2.0.2
IMA_CONTRACTS_ABI_URL=https://raw.githubusercontent.com/skalenetwork/skale-network/master/releases/mainnet/IMA/1.0.0-stable.1/abi.json
DISABLE_IMA=False

Perform update

Run skale node update:

skale node update .env

3. Run skale node check to make sure your node is configured properly

skale node check