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

# Overview

> [!WARNING]
>
> **Mainnet binary swap: v1.20.4-bl.3.** All mainnet node operators must [upgrade ASAP using the binary swap and recovery guide](https://docs.injective.network/infra/validator-mainnet/canonical-chain-upgrade-v1.20.4-bl.3.md) to prevent an AppHash mismatch. There is no upgrade handler; Cosmovisor users must also replace the active binary manually.

> [card] [Live Upgrades](https://chain.injective.network/upgrades)
>
> Track active and upcoming network upgrades, governance proposals, and activation timelines

> [card] [Release Binaries](https://github.com/InjectiveFoundation/injective-core/releases)
>
> Download the latest and prior injectived and peggo binaries from InjectiveFoundation/injective-core

**Validators:** Before upgrading, read the [Validator Troubleshooting Guide](https://docs.injective.network/infra/coordinated-upgrades.md) for critical safety rules, common failure modes, and recovery procedures. Mishandling `priv_validator_state.json` during upgrades can lead to double-signing and permanent tombstoning.

If you are not already a member of the verified validator channels, reach out to the Injective team via [Discord](https://discord.gg/injective) to get added. Upgrade coordination, emergency snapshots, and incident communication happen in these channels.

### Chain Upgrades

Injective periodically undergoes software upgrades. When a chain upgrade governance proposal is passed, a block height will be specified at which all nodes will automatically panic and stop running. At this point, the upgraded `injectived` binaries can be installed, and the node can be restarted.

### Node Upgrade Directions

To summarize, follow these steps to upgrade your node:

1. Sync your node to the block height predetermined by the upgrade governance proposal.
2. The node will automatically panic/stop at the predetermined upgrade height.
3. Remove the old binaries and install the new release binaries.
4. Restart the node.

> [!NOTE]
>
> If the upgrade fails or a sentry node becomes corrupted, see the [Snapshots page](https://chain.injective.network/snapshots) for options to resync your node from a fresh snapshot.

### Upgrading with Cosmovisor

To manage chain upgrades, use [Cosmovisor](https://docs.injective.network/infra/cosmovisor.md).

### Binary swap without an upgrade handler

Use these steps only when the release notice specifies **no upgrade handler**. Download the release from the [official binary manifest](https://storage.googleapis.com/injective-chain-releases/status.json) and verify its published SHA-256 checksum first.

**Regular service**

1. Stop the node service and confirm `injectived` has exited. A halted chain does not mean the process has stopped.
2. Back up the existing binary and node configuration. Validators: after stopping, copy `data/priv_validator_state.json` from your node home to a safe location outside the data directory. Remote signer users must preserve their signer's state instead.
3. Replace the `injectived` executable used by your service with the verified binary. Install any required bundled runtime libraries and preserve ownership and permissions. Keep the existing node data.
4. Run the installed executable with `version` and confirm it matches the release notice.
5. Restart on the coordinated go-ahead and confirm the node is syncing and participating normally.

**Cosmovisor**

1. Stop the Cosmovisor service and confirm its `injectived` child process has exited.
2. Back up the current binary, node configuration, and validator signing state as above.
3. Replace `$DAEMON_HOME/cosmovisor/current/bin/injectived` with the verified binary, including any required bundled runtime libraries. Preserve ownership, permissions, and existing node data. **Do not stage the binary in a new `upgrades/<name>` directory:** there is no handler to activate it.
4. Run `$DAEMON_HOME/cosmovisor/current/bin/injectived version` and confirm the expected version.
5. Restart Cosmovisor on the coordinated go-ahead and confirm the node is syncing and participating normally.

**If an AppHash mismatch occurs:** Stop the node and follow the release-specific recovery instructions. Before restoring a snapshot, preserve the latest validator signing state after shutdown and restore that state before restarting; never replace it with an older backup or snapshot state. Never run two instances using the same validator key.

For the binary swap enforced **after height 191,016,661**, use the [pre-upgrade recovery snapshot manifest](http://injective-mainnet-snapshots.s3-website.gra.io.cloud.ovh.net/upgrade-snapshots/status_191016661.json) if recovery is needed. See [snapshot restore guidance](https://chain.injective.network/snapshots) and [validator recovery precautions](https://docs.injective.network/infra/coordinated-upgrades.md#recovering-from-a-snapshot).

### Node Maintenance (Managing Storage)

As Injective state grows, your disk space may fill up. It's recommended you periodically prune the chain data by downloading new snapshots. Beyond the overhead on the disk, the node is more performant when the chain state is smaller.

Injective validators take daily light snapshots that you can use to clean the chain state, which grows at about 10-15 GB daily. These snapshots are normally only around 2-3 GB. We recommend pruning the chain data every 300-400 GB. For snapshot download links and usage instructions, see the [Snapshots page on the Chain Portal](https://chain.injective.network/snapshots). For directions on syncing your node, see [Join A Network](https://docs.injective.network/infra/join-a-network.md).


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