v4.2.1 Upgrade Instructions
For more information on past upgrades and instructions, refer to Upgrade Versions.
You may refer to this Countdown Timer which will countdown the time till the upgrade height.
cosmovisor
is a small process manager for Cosmos SDK application binaries that monitors the governance module for incoming chain upgrade proposals. If it sees a proposal that gets approved, cosmovisor can automatically download the new binary, stop the current binary, switch from the old binary to the new one, and finally restart the node with the new binary.
Go 1.19+ or later is required for the f(x)Core. Install go
by following the official docs.
This upgrade tutorial is for mainnet v3.1.x upgrade to v4.2.1, if it is another upgrade or network, please select the corresponding upgrade tutorial
1. Install Cosmovisor
Set up the Cosmovisor environment variables. Creates the folder structure required for using cosmovisor.
if you have used cosmovisor before, you can skip this step. Or you can use rm -rf $HOME/.fxcore/cosmovisor
to reset
2. Install the fxcore release
Releases can be found here https://github.com/FunctionX/fx-core/releases
To check that you did this correctly, ensure your versions of cosmovisor
are the same:
In addition, we have added the feature of the doctor
command in the v4 version, which is used to check whether the environment you are currently running is correct. if you see the warning, please contact our technical support.
If the node has not been started, the output of the doctor command will shown "Blockchain Data" section is unavailable.
3. Start your node
To keep the process always running. If you're on linux, you can do this by creating a service.
⚠️Before this, please make sure you have stopped fxcored
and deleted the old fxcored.service
file, if not, please execute the following command:
Reload, enable and restart the node with daemon service file
Troubleshooting
Checking working environment
Accessing logs
Last updated