Releases

Züs Mainnet Release Documentation

Prerequisites

Miner and Sharder Mainnet Release

Assumption: This release has been well tested on dev. Demo release steps are excluded due to deprecation.

  1. Snapshot Creation

  2. Update a Single Miner and Sharder

    • Select one miner and one sharder from the mainnet.

    • Update the 0chain binary for both.

  3. Initial Health Check (1 Day Observation)

    • Ensure the updated miner and sharder are running for at least 24 hours.

    • Confirm:

      • Rounds are progressing.

      • No suspicious entries in logs.

      • Updated miner is producing blocks.

  4. Announce and Update All Sharders

    • Broadcast to the network: instruct all operators to update their sharders.

    • Wait for full sharder update completion.

  5. Announce and Update All Miners

    • Broadcast to the network: instruct all operators to update their miners.

    • Wait for full miner update completion.

  6. Coordinate with @saswata for Hardfork Activation

    • Ensure all updates are complete.

    • Confirm readiness to activate the hardfork.

  7. Activate the Hardfork

    • Run command:

    ./zwallet add-hardfork -n <hardfork_name> -r <round_in_future>
    • Verify hardfork is registered:

    https://sharder1.0chain.net/sharder01/v1/scstate/get?key=hardfork:<hardfork_name>
    • Wait for the trigger round to be reached.

    • Post-activation checks:

      • Ensure chain is progressing.

      • Confirm miner/sharder logs are free from anomalies.

0box Mainnet Release

Assumption: This release has been well tested on dev. Demo steps are deprecated.

  1. Backup Postgres Database

    • Perform a full backup of the 0box Postgres DB hosted on AWS RDS.

  2. Update First 0box Instance

    • Pull and deploy the new Docker image.

    • Run health checks:

      • Ensure service is running.

      • Review recent logs for any errors or anomalies.

  3. Update Second 0box Instance

    • Deploy the updated image to the second instance.

    • Run the same health and log checks.

  4. Web App Testing

    • Perform functional tests across all connected web applications.

      • Manual tests or

      • Automated Cypress tests

Last updated