Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
There are regular upgrades to the Secret Network that require users and validators to update their systems. This section is dedicated to hosting upgrade instructions for Secret Network upgrades. There are instructions for:
All coordination efforts will be done in the "SN Validators" Telegram group.
Make sure to backup your validator before making any changes.
Please read carefully before you begin the upgrade.
Note: The below instructions assume default installation. DO NOT COPY-PASTE if config.toml
is not in ~/.secretd/config/config.toml
or 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 10,186,400, you'll see this message in your node's log (journalctl -fu secret-node
):
Then, the upgrade steps for v1.10 are:
After restarting the node with v1.10, you should see INF applying upgrade "v1.10" at height: 10186400
in 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.
⚠️ 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.
When the network reaches the halt height 10,186,400, the Secret Network blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.10 binary (be it manually or automatically).
The proposal targets the upgrade proposal block to be 10,186,400, anticipated to be on Monday August 14, 2023 at 5:00PM 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.10 binaries, the SCRT Labs team will distribute a v1.9 binary with an empty v1.10 upgrade handler, which will allow the chain to revert to v1.9 while continuing to produce new blocks.
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.
Note: The below instructions assume default installation. DO NOT COPY-PASTE if config.toml
is not in ~/.secretd/config/config.toml
or 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 7,760,000, you'll see this message in your node's log (journalctl -fu secret-node
):
Then, the upgrade steps for v1.8 are:
After restarting the node with v1.8, you should see INF applying upgrade "v1.8" at height: 7760000
in 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.
⚠️ 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.
When the network reaches the halt height 7,760,000, the Secret Network blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.8 binary (be it manually or automatically).
The proposal targets the upgrade proposal block to be 7,760,000, anticipated to be on Saturday March 4, 2023 at 3:00PM 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.8 binaries, the SCRT Labs team will distribute a v1.7 binary with an empty v1.8 upgrade handler, which will allow the chain to revert to v1.7 while continuing to produce new blocks.
Note: when starting the v1.10 node on a (pre-registered) unpatched machine, you might get a GROUP_OUT_OF_DATE
error. It is expected and your node should still start up during the grace period. After the grace period ends (August 21, 2023, 2:00 PM UTC), unpatched machines will no longer start.
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.
To check whether your hardware will be able to register on the network, you can run the check-hw
tool of the new release (or the latest RC version, if not available). You can find it in the Releases page.
Download the check-hw
tar, extract and run:
You should see some logs and if your hardware is compatible, you should receive at the end:
When the network reaches the halt height 6,537,300, you'll see this message in your node's log (journalctl -fu secret-node
):
Then, the upgrade steps for v1.6 are:
⚠️ Note: if you have modified your systemd unit file (/etc/systemd/system/secret-node.service
) you will need to re-apply those changes post installation and pre service restart.
After restarting the node with v1.6, you should see INF applying upgrade "v1.6" at height: 6537300
in 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.
⚠️ 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.
When the network reaches the halt height 6,537,300, the Secret Network blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.6 binary (be it manually or automatically).
The proposal targets the upgrade proposal block to be 6,537,300, anticipated to be on Tuesday December 13, 2022 at 12:00PM 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.6 binaries, the SCRT Labs team will distribute a v1.5 binary with an empty v1.6 upgrade handler, which will essentially allow the chain to revert to v1.5 while continuing to produce new blocks.
All coordination efforts will be done in the "SN Validators" Telegram group.
Make sure to backup your validator before making any changes.
Please read carefully before you begin the upgrade.
Various prerequisites should be installed and configured
After the installation, the secret node should perform an additional step, BEFORE the actual network upgrade (more on this later).
There are 9 steps to be performed. Steps 1-4 inclusive can be performed BEFORE the upgrade height is reached (or before the upgrade is even proposed). We recommend doing so, i.e. perform those steps in advance, to minimize the downtime during the upgrade.
Technically the DCAP attestation isn't required. If your node is already registered on the network then the attestation during the upgrade isn't necessary, and we still support EPID attestation anwayay. But we strongly recommend making sure it works nevertheless. The EPID would be phased-out by Intel on April 2025.
If your system has 5th Gen Intel® Xeon® Scalable Processor(s)
For the DCAP attestation to work, you'll need to register your platform with Intel. This is achieved by the following:
You can check the file /var/log/mpa_registration.log
, to see if the platform is registered successfully.
The Quote Provider library is needed to provide the data for DCAP attestation. It should be installed by now (by the previous section), but before using it should be configured. The configuration file should be here:
/etc/sgx_default_qcnl.conf
If you're running a physical machine
The simplest would be to use the PCCS run by SecretLabs. Modify the following parameters in the file:
You can set this parameter by the following command:
Cloud computers
For cloud computers, the cloud service providers may provide their own PCCS. Please see their documentation
Note: You'll need to restart the AESMD service each time the configuration is changed
Download and run the check-hw tool (included in the Release package). You should see the following:
That would mean all the above steps are ok, and you're good to go.
In case you see some error messages, but at the end the following:
That would mean there's a problem with DCAP attestation. However the EPID attestation still works. Although you may technically run the node, it's strongly recommended to fix this. The EPID will be phased-out by Intel on April 2025.
To get a more detailed error info, run check-hw --testnet
When the network reaches the halt height you'll see this message in your node's log (journalctl -fu secret-node
):
Then, follow those steps to upgrade for v1.13: :warning: Note: The below instructions assume default installation. DO NOT COPY-PASTE if config.toml
is not in ~/.secretd/config/config.toml
or 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.
This step must be done manually, before the Node automatic upgrade
This node version supports both EPID (older) and DCAP (newer) attestation schemes. Before proceeding, it's recommended to verify that DCAP attestation works properly. Though it's not mandatory if your node is already registered on the network.
The above retrieves self attestation. And since --no-epid
flag is specified, that should be a DCAP attestation.
You can also verify that EPID attestation works, by the following command
After restarting the node with v1.13, you should see INF applying upgrade "v1.13" at height: ...
in the logs (journalctl -fu secret-node
). Once 67% of voting power comes online, you'll see blocks executing again.
When the network reaches the halt height, the Secret Network blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.13 binary (be it manually or automatically).
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.13 binaries, the SCRT Labs team will distribute a v1.12 binary with a replacement v1.13 upgrade handler, which will allow the chain to revert to v1.12 while continuing to produce new blocks.
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.
When the network reaches the halt height 5,941,700, you'll see this message in your node's log (journalctl -fu secret-node
):
Then, the upgrade steps for v1.5 are:
⚠️ Note: if you have modified your systemd unit file (/etc/systemd/system/secret-node.service
) you will need to re-apply those changes post installation and pre service restart.
After restarting the node with v1.5, you should see INF applying upgrade "v1.5" at height: 5941700
in 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.
⚠️ 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.
When the network reaches the halt height 5,941,700, the Secret Network blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.5 binary (be it manually or automatically).
The proposal targets the upgrade proposal block to be 5,941,700, anticipated to be on Wednsday November 2, 2022 at 2:00PM 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.5 binaries, the SCRT Labs team will distribute a v1.4 binary with an empty v1.5 upgrade handler, which will essentially allow the chain to revert to v1.4 while continuing to produce new blocks.
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.
When the network reaches the halt height 5,309,200, you'll see this message in your node's log (journalctl -fu secret-node
):
Then, the upgrade steps for v1.4 are:
⚠️ Note: if you have modified your systemd unit file (/etc/systemd/system/secret-node.service
) you will need to re-apply those changes post installation and pre service restart.
After restarting the node with v1.4, you should see INF applying upgrade "v1.4" at height: 5309200
in 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.
⚠️ 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.
When the network reaches the halt height 5,309,200, the Secret Network testnet blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.4 binary (be it manually or automatically).
The proposal targets the upgrade proposal block to be 5,309,200, anticipated to be on Wednsday Septmber 21, 2022 at 2:00PM 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.4 binaries, the SCRT Labs team will distribute a v1.3 binary with an empty v1.4 upgrade handler, which will essentially allow the chain to revert to v1.3 while continuing to produce new blocks.
All coordination efforts will be done in the "SN Validators" Telegram group.
Make sure to backup your validator before making any changes.
The v1.11 upgrade will NOT include rocksdb binaries. We kindly ask anyone still running rocksdb to switch to goleveldb ASAP to avoid problems during the upgrade.
Please read carefully before you begin the upgrade.
Note: The below instructions assume default installation. DO NOT COPY-PASTE if config.toml
is not in ~/.secretd/config/config.toml
or 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 10,824,000, you'll see this message in your node's log (journalctl -fu secret-node
):
Then, the upgrade steps for v1.11 are:
After restarting the node with v1.11, you should see INF applying upgrade "v1.11" at height: 10824000
in 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.
⚠️ 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.
When the network reaches the halt height 10,824,000, the Secret Network blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.11 binary (be it manually or automatically).
The proposal targets the upgrade proposal block to be 10,824,000, anticipated to be on Tuesday September 26, 2023 at 12:45PM 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.11 binaries, the SCRT Labs team will distribute a v1.10 binary with an empty v1.11 upgrade handler, which will allow the chain to revert to v1.10 while continuing to produce new blocks.
All coordination efforts will be done in the "SN Validators" Telegram group.
Make sure to backup your validator before making any changes.
Please read carefully before you begin the upgrade.
Note: The below instructions assume default installation. DO NOT COPY-PASTE if config.toml
is not in ~/.secretd/config/config.toml
or 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 8,861,800, you'll see this message in your node's log (journalctl -fu secret-node
):
Then, the upgrade steps for v1.9 are:
After restarting the node with v1.9, you should see INF applying upgrade "v1.9" at height: 8861800
in 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.
⚠️ 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.
When the network reaches the halt height 8,861,800, the Secret Network blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.9 binary (be it manually or automatically).
The proposal targets the upgrade proposal block to be 8,861,800, anticipated to be on Saturday May 16, 2023 at 2:00PM 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.9 binaries, the SCRT Labs team will distribute a v1.8 binary with an empty v1.9 upgrade handler, which will allow the chain to revert to v1.8 while continuing to produce new blocks.
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.
Note: The below instructions assume default installation. DO NOT COPY-PASTE if config.toml
is not in ~/.secretd/config/config.toml
or 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 7,719,500, you'll see this message in your node's log (journalctl -fu secret-node
):
Then, the upgrade steps for v1.7 are:
After restarting the node with v1.7, you should see INF applying upgrade "v1.7" at height: 6537300
in 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.
⚠️ 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.
When the network reaches the halt height 7,719,500, the Secret Network blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.7 binary (be it manually or automatically).
The proposal targets the upgrade proposal block to be 7,719,500, anticipated to be on Wednesday March 1, 2023 at 2:00PM 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.7 binaries, the SCRT Labs team will distribute a v1.6 binary with an empty v1.7 upgrade handler, which will essentially allow the chain to revert to v1.6 while continuing to produce new blocks.
All coordination efforts will be done in the "SN Validators" Telegram group.
Make sure to backup your validator before making any changes.
Please read carefully before you begin the upgrade.
Note: The below instructions assume default installation. DO NOT COPY-PASTE if config.toml
is not in ~/.secretd/config/config.toml
or 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
):
Then, the upgrade steps for v1.12 are:
After restarting the node with v1.12, you should see INF applying upgrade "v1.12" at height: 11136666
in 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.
⚠️ 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.
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.
All coordination efforts will be done in the "SN Validators" Telegram group.
Make sure to before making any chnages.
Please read carefully before you begin the upgrade.
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.
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 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 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.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.
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.
You should review the docs for Cosmovisor located here:
Now the Cosmovisor directory structure should look like this:
After making the proper configurations to your new node, launch it using sudo systemctl start cosmovisor
. You should now see blocks executing in the logs (journalctl -fu cosmovisor
).
Now the Cosmovisor directory structure should look like this:
To relaunch your node, use sudo systemctl start cosmovisor
. You should now see blocks executing in the logs (journalctl -fu cosmovisor
).
The "Shockwave Alpha" upgrade is anticipated to be on Wednesday April 27th, 2022 at 2:00PM UTC. Below are instructions to prepare Cosmovisor for automatically upgrading your node to v1.3.
Now the Cosmovisor directory structure should look like this:
If set up properly, when the time comes Cosmovisor will perform an automatic v1.2 to v1.3 upgrade.
When the network reaches the halt height 4,711,950, you'll see this message in your node's log (journalctl -fu secret-node
):
Then, the upgrade steps for v1.4 are:
⚠️ Note: if you have modified your systemd unit file (/etc/systemd/system/secret-node.service
) you will need to re-apply those changes post installation and pre service restart.
⚠️ Note: uncomment the right binary based on the database type you're using: rocksdb
vs goleveldb
. To check what database type you're currently using: awk -F \" '/^db_backend =/{print $2}' ~/.secretd/config/config.toml
.
After restarting the node with v1.4, you should see INF applying upgrade "v1.4-fix" at height: 4711950
in 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 4,711,950, the Secret Network testnet blockchain will be halted and validators will need to take action to upgrade the chain to the secretd v1.4 binary (be it manually or automatically).
The proposal targets the upgrade proposal block to be 4,711,950, anticipated to be on Sunday Septmber 11, 2022 at 2:00PM 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 Testnet Validators" Telegram group.
If as a result of a software bug the network fails to produce new blocks with the v1.4 binaries, the SCRT Labs team will distribute a v1.3 binary with an empty v1.4 upgrade handler, which will essentially allow the chain to revert to v1.3 while continuing to produce new blocks.
secret-1
To secret-2
⚠️ Please read carefully before you begin the upgrade.
Network Upgrade Instructions from secret-1
to secret-2
Validators
Prepare your secret-1
validator to halt after block #1,246,400
Install 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-2
validator
In case of an upgrade failure
All coordination efforts will be done in the channel in the Secret Network Discord.
⚠️ Don't delete your
secret-1
machine, as we might have to relaunch it.
⚠️ If your SGX machine has a previous
secretnetwork
installation on it (e.g. from the testnet), you will need to remove it before you continue:
secret-1
Validator To Halt After Block #1,246,400On the old machine (secret-1
):
On the new SGX machine (secret-2
):
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.
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" --recover
you should also use--hd-path "44'/118'/0'/0/0"
.If the wallet is stored on a Ledger device, use
--legacy-hd-path
when importing it withsecretcli keys add
.
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:
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.
⚠️ 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 .
For instructions on how to setup Cosmovisor, go .
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 with #100,000 as the block time calculation window. Note that block times have high variance, so keep monitoring the time.
Now you might want to checkout the guide for syncing a node from height 0 or for syncing a node from a more recent block height.
⚠️ 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 .
For instructions on how to setup Cosmovisor, go .
You're probably familiar with by now:
()