Questions asked by validators, experience on issues we met during testnet upgrade, etc
The mainnet currently is using Cosmos SDK v0.37.4, which unfortunately doesn't support the
halt-timeoption. Therefore, before upgrading to
fotan-1software, validators need to upgrade the image of their node to the
likecoin/likecoin-chain:sheungwan-2in Docker Hub). The
sheungwan-2software is compatible with the current network, so no proposal or upgrade process is needed.
Some validators may want to perform machine changes (e.g. moving to a higher class machine) during the chain upgrade. After stopping the node software, they may move the whole
.likeclifolder to the new machine, and see if they can catch up the upgrade process. If not, then they may simply setup a new node using the new software and new genesis state produced during the upgrade process (see For other full node operators).
During the testnet upgrade, we encountered a problem on software bug, resulting in panic when initializing the chain (see the recording on the public testnet upgrade for details). Our blockchain developer debugged and provided a genesis file mitigating the problem. However, as validator Rick Mak (from Oursky) pointed out, a more decentralized way should be providing procedures for validators to generate the fixed genesis file from the problematic one, instead of providing the genesis file directly. Also, such mitigation may not be suitable for the upgrade, as it is untested and may result in other unexpected and more serious bugs (e.g. state corruption). Therefore, in the mainnet upgrade, if we met incidents like this, we would prefer halting the upgrade and restarting the old chain instead of live fixing it.
The new software moved the keystore to the
likedcommand, and provided new option for using the OS keystore instead of in file. If you are operating on Linux, then it may not be an issue as the OS keystore is not supported on Linux, so the software will simply fallback to file keystore. However, some validators using Ledger may operate their key on local machine, and for macOS users, the default keystore is the one from the OS. Therefore when migrating the key onto Linux server, users may find that they are not able to find the key from the
.likedfolder. In this case, the
--keyring-backend fileoption may help.