upgradesfolder of cosmovisor before upgrade time.
Be aware of blocks like this for migration specific notes
When you see
<Placeholder>in code blocks below, please replace them with correct values.
For validator migration, we recommend cloning a new copy to avoid confusion, since the previous guide stored data within the repo folder.If your existing repo folder is already at
~, appending the clone command with a new folder name, and adopt this guide by changing the
liked initand prepare a systemd service file.
~/, and the liked data directory will be
If you are migrating an existing node on the same host, please ensure that your existing
.likedfolder is not at your home directory, otherwise this might overwrite your files!
LIKED_VERSIONto be used in the above Mainnet Github repository.
likecoin-public-testnet-5. Following is the command for running the setup-node script for testnet. Please confirm the latest testnet and parameters to be used in the testnet Github repository.
LIKED_VERSION=1.2.0. 1.2.0 is the version we start adpoting cosmovisor, it should upgrade itself to newer version during sync.
For existing validators hosted with the Docker Compose guide only. New operators should skip this section.Steps below generally applies to custom setups but paths to your old
.likedfolder and the command to stop the node will be different.
.likedfolder generated by the script as
cosmovisorsub-folder created by the script to
.likeddirectly instead of inside
keyring-filefolder, please move the following files to
~/.liked/keyring-filefolder so the liked flag
Skip this section for migrating operators
result.block.header.height, while the hash is
~/.liked/config/config.toml. Locate the
[statesync]section and update it to the following values:
~/.liked/config/app.toml, then change the defaults as desired.
For migrating validators, please ensure the old instance is turned off before you proceed!
result.sync_info.catching_upreflects if the node has finished sync up.
For migrating validators, this is the final step. The validator node should resume operation immediately.
~/.liked/keyring-file. This account is required to manage the validator and cast votes on proposals.
commission-max-change-ratecannot be changed afterwards.
~/.liked/keyring-filewhich contains your node key, consensus key and operator key. For security, please consider encrypting your backup with tools like GPG before transferring off the host.
123is the proposal number and
yesis the vote
.liked/cosmovisor/upgradesfolder before the upgrade time. Please refer to related chain upgrade guides for exact steps.
docker-compose.ymland replace it with the new version:
.envto target new docker image tag:
Please note that we will stop maintaining this method soon.