Upgrade to v1.12.1
Monday, January 22nd, 2024
This is a non-consensus breaking release, node operators can upgrade in their earliest convenience.
Network downtime will not occur during this upgrade.
All nodes, validator and non-consensus nodes must be upgraded as soon as possible to this version.
Validators should also upgrade the peggo version.
Summary
Risks
Recovery
Upgrade Procedure
Notes for Validator Operators
Notes for Service Providers
Summary
The Injective Canonical Chain will undergo a improvement upgrade on Jan 22th.
The following is a short summary of the upgrade steps:
Backing up configs, data, and keys used for running the Injective Canonical Chain.
Install the v1.12.1-1705909076
Start your node with the new injectived binary to fulfill the upgrade.
Upgrade coordination and support for validators will be available on the #validators
private channel of the Injective Discord.
The network upgrade can take the following potential pathways:
Happy path Validators successfully upgrade chain without purging the blockchain history and all validators are up within 5-10 minutes of the upgrade.
Not-so-happy path Validators have trouble upgrading to latest Canonical chain.
Abort path In the rare event that the team becomes aware of unnoticed critical issues, the Injective team will attempt to patch all the breaking states and provide another official binary within 36 hours. If the chain is not successfully resumed within 36 hours, the upgrade will be announced as aborted on the #mainnet-validators channel of Discord, and validators will need to resume running the chain without any updates or changes.
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.
In the event that the upgrade does not succeed, validators and operators must restore the snapshot and downgrade back to Injective Chain v1.12.0 release and continue the chain until next upgrade announcement.
Upgrade Procedure
Notes for Validators
You must remove the wasm cache before upgrading to the new version (rm -rf .injectived/wasm/wasm/cache/).
Verify you are currently running the correct version (
b92723b13
) ofinjectived
:Make a backup of your
.injectived
directoryDownload and install the injective-chain
v1.12.1 release
Verify you are currently running the correct version (
c1a64b7ed
) ofinjectived
after downloading the v1.12.1 release:Start injectived
Verify you are currently running the correct version (
e8089a7
) ofpeggo
after downloading the v1.12.0 release:Start peggo
Last updated