> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skale.space/llms.txt
> Use this file to discover all available pages before exploring further.

# Upgrade to v5.3.0 on Base Mainnet

> Upgrade SKALE validator nodes on Base Mainnet with node version 5.3.0-base

This release updates the node version to `5.3.0-base`, node-cli to `3.3.1`, and SGXWallet to `1.10.4` on Base Mainnet.

<Note>
  Before starting, back up the SGXWallet `sgx_data` directory and `sgx_wallet_backup_key.txt` on another machine. Back up each node with `skale node backup .` from the directory containing its `.env` file.
</Note>

## Upgrade the SGX server

<Steps>
  <Step title="Set the SGXWallet image to v1.10.4">
    On the SGX server, open `sgxwallet/run_sgx/docker-compose.yml` and set the image to:

    ```yaml theme={null}
    image: skalenetwork/sgxwallet_release:1.10.4
    ```

    Keep the existing volumes, devices, and command settings.
  </Step>

  <Step title="Restart SGXWallet with the new image">
    From `sgxwallet/run_sgx`, run:

    ```bash theme={null}
    docker compose down && docker compose pull && docker compose up -d
    ```
  </Step>
</Steps>

## Upgrade each Base Mainnet node server

<Steps>
  <Step title="Download node-cli v3.3.1">
    On each node server, download the Linux x86\_64 binary:

    ```bash theme={null}
    curl -fL https://github.com/skalenetwork/node-cli/releases/download/3.3.1/skale-3.3.1-Linux-x86_64 -o /usr/local/bin/skale
    ```
  </Step>

  <Step title="Verify the node-cli binary checksum">
    ```bash theme={null}
    sha512sum /usr/local/bin/skale
    ```

    Expected checksum:

    ```text theme={null}
    baa46bb22f535cef979cf8816ddefb0d0b51fec37129af6f5ec65774cfe609714ccaa2d656fd7962deb7c1f6e06df1ee637e2a5ff1fecc06539a672ebc7d27cd
    ```
  </Step>

  <Step title="Make node-cli executable">
    ```bash theme={null}
    chmod +x /usr/local/bin/skale
    skale version
    ```
  </Step>

  <Step title="Set the SKALE node version">
    In the node's `.env` file, set:

    ```bash theme={null}
    NODE_VERSION=5.3.0-base
    ```

    Keep the existing Base Mainnet `ENDPOINT`, `ENV_TYPE`, contract addresses, and other network settings.
  </Step>

  <Step title="Run the node update">
    From the directory containing `.env`, run:

    ```bash theme={null}
    skale node update .env --yes
    ```

    Then check the node and its SGXWallet connection:

    ```bash theme={null}
    skale node info
    skale health sgx
    ```
  </Step>
</Steps>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.