Skip to content

SKALE 3.1.2 upgrade

Upgrade steps for the SGX server

  1. Go to run_sgx folder

    Terminal window
    cd sgxwallet/run_sgx
  2. Backup sgx_data folder and SGX backup key

  3. Pull recent changes

    Terminal window
    git checkout stable && git pull

    If there any conflicts, please, contact the SKALE team

  4. Restart the container

    Terminal window
    docker compose down && docker compose up -d

Upgrade steps for the node server

  1. Disable docker-lvmpy

    Terminal window
    systemctl stop docker-lvmpy && systemctl disable docker-lvmpy
  2. Download new node-cli binary

    Terminal window
    curl -L https://github.com/skalenetwork/node-cli/releases/download/2.6.1/skale-2.6.1-Linux-x86_64 > /usr/local/bin/skale
  3. Verify node-cli binary hash sum

    Terminal window
    sha512sum /usr/local/bin/skale

    Expected checksum

    Terminal window
    5faf3eb1bffe00a4172f7f34570b84bed2ff051b40b3bc97b249ee74e07ea2dee5991297bbe8071c50ad01fa718d9ebbe9fc4d397324b4fa05950d11e891a179
  4. Make node-cli executable

    Terminal window
    chmod +x /usr/local/bin/skale
  5. Run update procedure

    Terminal window
    skale node update .env --yes