Shockwave Alpha v1.3
Secret Network v1.3 "Shockwave Alpha" Network Upgrade Instructions
⚠️ IMPORTANT NOTES ⚠️
All coordination efforts will be done in the "SN Validators" Telegram group.
Make sure to backup your validator before making any chnages.
Please read carefully before you begin the upgrade.
Table of Contents
Upgrading Manually
When the network reaches the halt height 3,343,000, you'll see this message in your node's log (journalctl -fu secret-node
):
Then, the upgrade steps for v1.3 are:
⚠️ Note: uncomment the right binary based on the database type on the node that you're upgrading: rocksdb
vs. goleveldb
.
After restarting the node with v1.3, you should see INF applying upgrade "v1.3" at height: 3343000
in the logs (journalctl -fu secret-node
). Once 67% of voting power comes online, you'll see blocks executing again.
Upgrading Automatically Using Cosmovisor
Cosmovisor is a new process manager for cosmos blockchains. It can make low-downtime upgrades smoother, as validators don't have to manually upgrade binaries during the upgrade, and instead can pre-install new binaries, and Cosmovisor will automatically update them based on on-chain SoftwareUpgrade proposals.
⚠️ Cosmovisor is still new and best practices for using it are not yet established. If you don't feel adventurous at this time, we recommend upgrading the manual way.
For instructions on how to setup Cosmovisor, go here.
Details of Upgrade Time
When the network reaches the halt height 3343000, the Secret Network blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.3 binary (be it manually or automatically).
The proposal targets the upgrade proposal block to be 3343000, anticipated to be on Wednesday May 11, 2022 at 2:00PM UTC. This uses a 7 day average block time, derived from https://www.mintscan.io/secret/blocks/3343000 with #100,000 as the block time calculation window. Note that block times have high variance, so keep monitoring the time.
The upgrade is anticipated to take approx 30 minutes, during which time, there will not be any on-chain activity on the network.
In Case of an Upgrade Failure
In the event of an issue at upgrade time, we should coordinate via the "SN Validators" Telegram group.
If as a result of a software bug the network fails to produce new blocks with the v1.3 binaries, the SCRT Labs team will distribute a v1.2 binary with an empty v1.3 upgrade handler, which will essentially allow the chain to revert to v1.2 while continuing to produce new blocks.
Last updated