All pages
Powered by GitBook
1 of 1

Upgrade to v1.13.0 - Altaris

Thursday, August 1st, 2024

Summary

The Injective Canonical Chain will undergo a scheduled enhancement upgrade on Thursday, August 1st, 2024, 14:00 UTC.

The following is a short summary of the upgrade steps:

  1. Vote and wait till the node panics at block height 80319200.

  2. Backing up configs, data, and keys used for running the Injective Canonical Chain.

  3. Start your node with the new injectived binary to fulfill the upgrade.

The network upgrade can take the following potential pathways:

  1. Happy path Validators successfully upgrade chain without purging the blockchain history, and all validators are up within 5-10 minutes of the upgrade.

  2. Not-so-happy path Validators have trouble upgrading to the latest Canonical chain.

Recovery

Prior to exporting chain state, validators are encouraged to take a full data snapshot at the export height before proceeding. Snapshotting depends heavily on infrastructure, but generally this can be done by backing up the .injectived directory.

It is critically important to backup the .injectived/data/priv_validator_state.json file after stopping your injectived process. This file is updated every block as your validator participates in a consensus rounds. It is a critical file needed to prevent double-signing, in case the upgrade fails and the previous chain needs to be restarted.

Upgrade Procedure

Notes for Validators

You must remove the wasm cache before upgrading to the new version (rm -rf .injectived/wasm/wasm/cache/).

  1. Verify you are currently running the correct version (c1a64b7ed) of injectived:

       injectived version
       Version dev (c1a64b7ed)
       Compiled at 20240122-0743 using Go go1.19.3 (amd64)
  2. Make a backup of your .injectived directory

    cp ~/.injectived ./injectived-backup
    1. Download and install the injective-chain v1.13.0 release

    wget https://github.com/InjectiveLabs/injective-chain-releases/releases/download/v1.13.0-1722157491/linux-amd64.zip
    unzip linux-amd64.zip
    sudo mv injectived peggo /usr/bin
    sudo mv libwasmvm.x86_64.so /usr/lib
  3. Verify you are currently running the correct version (c1a64b7ed) of injectived after downloading the v1.13.0 release:

    injectived version
    Version dev (af924ca9)
    Compiled at 20240728-0905 using Go go1.22.5 (amd64)
  4. Start injectived

    injectived start
  5. Verify you are currently running the correct version (ead1119) of peggo after downloading the v1.13.0 release:

     peggo version
     Version dev (ead1119)
     Compiled at 20240728-0905 using Go go1.22.5 (amd64)
  6. Start peggo

    peggo orchestrator