Vulcan Network Upgrade (OLD)
Network Upgrade Instructions From secret-1 To secret-2
secret-1 To secret-2β οΈ Please read carefully before you begin the upgrade.
Network Upgrade Instructions from
secret-1tosecret-2Validators
Prepare your
secret-1validator to halt after block #1,246,400Install the new binaries on your SGX machine
Migrate your validator's signing key
Migrate your validator's wallet
Set up your SGX machine and become a
secret-2validator
In case of an upgrade failure
Validators
All coordination efforts will be done in the mainnet-validators channel in the Secret Network Discord.
β οΈ Don't delete your
secret-1machine, as we might have to relaunch it.
β οΈ If your SGX machine has a previous
secretnetworkinstallation on it (e.g. from the testnet), you will need to remove it before you continue:
cd ~
sudo systemctl stop secret-node
secretd unsafe-reset-all
secretd reset-enclave
secretd init-enclave --reset
sudo apt purge -y secretnetwork
rm -rf ~/.secretcli/*
rm -rf ~/.secretd/*
rm -rf ~/.sgx_secrets/*You're probably familiar with SGX by now:
Setup SGX
Prepare Your secret-1 Validator To Halt After Block #1,246,400
secret-1 Validator To Halt After Block #1,246,400On the old machine (secret-1):
2. Install The New Binaries On Your SGX Machine
On the new SGX machine (secret-2):
3. Migrate Your Validator's Signing Key
Copy your ~/.secretd/config/priv_validator_key.json from the old machine (secret-1) to the new SGX machine (secret-2) at the same location.
4. Migrate Your Validator's Wallet
Export the self-delegator wallet from the old machine (secret-1) and import to the new SGX machine (secret-2).
On the old machine (secret-1) use secretcli keys export "$YOUR_KEY_NAME".
On the new SGX machine (secret-2) use secretcli keys import "$YOUR_KEY_NAME" "$FROM_FILE_NAME"
Notes:
If you're recovering the wallet using
secretcli keys add "$YOUR_KEY_NAME" --recoveryou should also use--hd-path "44'/118'/0'/0/0".If the wallet is stored on a Ledger device, use
--legacy-hd-pathwhen importing it withsecretcli keys add.
5. Set Up Your SGX Machine And Become A secret-2 Validator
secret-2 ValidatorOn the new SGX machine (secret-2):
Now wait until you're done catching up. This is fast.
Once the following command outputs true you can continue:
Once your node is done catching up, you can unjail your validator:
Youβre now a validator in secret-2! π
To make sure your validator is unjailed, look for it in here:
(Ref for testnet instructions)
In Case Of An Upgrade Failure
If after a few hours the Enigma team announces on the chat that the upgrade failed, we will relaunch secret-1.
On the old machine (
secret-1):Wait for 67% of voting power to come back online.
Last updated
Was this helpful?