Skip to content

V3 Upgrade Guide

Anmol edited this page Jul 8, 2022 · 13 revisions

Persistence Core-1 Chain Upgrade

This upgrade is a large feature upgrade to Persistence chain. It brings in cosmwasm module, Inter Chain Account host capabilities.

The feature of this upgrade are:

  • Fixing snapshot and upgrade-info.json directories. (More details below)
  • Windows support for persistence chain being deprecated due to wasm integration
  • Upgrade go and cosmos-sdk versions

See more in release details

Getting prepared for the upgrade

Need a check that the data directory for snapshots and the upgrade handler is the correct one. This can be checked by running commands

ls $HOME/data
## snapshots/ dir exists?

If snapshots/ directory exists in the above list, then need to copy the upgrade-info.json after the chain halt to the proper location, $HOME/.persistenceCore/data directory. If the snapshots/ directory exists in the location $HOME/.persistenceCore/data than no need to do anything special after the chain halt.

Details on chain upgrade

When the network reaches the halt height, the state machine program of the PersistenceCore mainnet will be halted. The classic method for upgrading requires all validators and node operators to manually substitute the existing state machine binary with the new binary. Because it is an onchain upgrade process, the blockchain will be continued with all the accumulated history with continuous block height.

Clone this wiki locally