Comment on page
Note: The below instructions assume default installation. DO NOT COPY-PASTE if
config.tomlis not in
~/.secretd/config/config.tomlor if you modified
/etc/systemd/system/secret-node.service. If you have modified
/etc/systemd/system/secret-node.service, you will need to re-apply those changes post installation and pre service restart.
When the network reaches the halt height 11,136,666, you'll see this message in your node's log (
journalctl -fu secret-node):
2:00PM ERR UPGRADE "v1.12" NEEDED at height: 11136666:
2:00PM ERR CONSENSUS FAILURE!!! err="UPGRADE \"v1.12\" NEEDED at height: 11136666
Then, the upgrade steps for v1.12 are:
# Backup your node's SGX secrets
cp -a /opt/secret/.sgx_secrets ~/sgx_secrets_backup
cp ~/.secretd/.node/* 111backup/
# Get the v1.12 binaries
# Verify the v1.12 binaries
echo '906589ad94a7bf8ec8bc5b54f6e3de7c2222e350cf1dbe61ac990fb95f1718b4 secretnetwork_1.12.0_mainnet_goleveldb_amd64.deb' |
# Stop the v1.11 node
sudo systemctl stop secret-node
# Install the v1.12 binaries
sudo apt install -y "./secretnetwork_1.12.0_mainnet_goleveldb_amd64.deb"
# re-apply any systemd unit file customizations
# Restart the node
sudo systemctl restart secret-node
After restarting the node with v1.12, you should see
INF applying upgrade "v1.12" at height: 11136666in the logs (
journalctl -fu secret-node). Once 67% of voting power comes online, you'll see blocks executing again.
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.
When the network reaches the halt height 11,136,666, the Secret Network blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.12 binary (be it manually or automatically).
The proposal targets the upgrade proposal block to be 11,136,666, anticipated to be on Tuesday October 17, 2023 at 2:00 PM UTC.
The upgrade is anticipated to take approx 30 minutes, during which time, there will not be any on-chain activity on the network.
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.12 binaries, the SCRT Labs team will distribute a v1.11 binary with a replacement v1.12 upgrade handler, which will allow the chain to revert to v1.11 while continuing to produce new blocks.
Last modified 1mo ago