Theta Labs, Inc. is pleased to announce the release of Theta v3.4.0. This version enables the support for wrapped THETA as a TNT20 token, as well as staking THETA/TFuel to guardians/EENs from smart contracts. This release will perform a hardfork to enable the new features at block height 17285755, approximately 7pm Sep 28, 2022 Pacific Time. It is mandatory to upgrade your node otherwise it will fall out of sync after the hardfork.
Version code: Version 3.4.0 71f9bc399ea5d4411bbda1155f4cbc6fa8489180
Upgrade Instructions
Compile from source code
Same as the previous versions, the compilation requires Ubuntu 18.04.4 LTS or higher version with Go 1.14+. However, the compiled binary should run on a lower version Ubuntu. If you want to compile the source code on a lower version Ubuntu, you can use Docker. Or you can compile the code on a Ubuntu 18.04.4 machine and copy the compiled binary over. To upgrade, please follow the steps below:
- Pull the latest code from the
release
branch and compile the binary.
cd $THETA_HOME
git checkout release
git pull origin release
export GO111MODULE=on
make install
- If the compilation is successful, you can restart the Theta node as usual. After the Theta node is running, please execute the following command command to double confirm that the version code and hash printed match with the version code above.
thetacli query version
Use precompiled binary
If you prefer to use the precompiled theta
binary, please download the latest binary with the following command. Please replace <THETA_BIN_PATH>
with the parent folder of the theta binary you are running with:
curl -k --output <THETA_BIN_PATH>/theta `curl -k 'https://mainnet-data.thetatoken.org/binary?os=linux&name=theta'`
curl -k --output <THETA_BIN_PATH>/thetacli `curl -k 'https://mainnet-data.thetatoken.org/binary?os=linux&name=thetacli'`
With these binaries, you can restart the Theta node as usual. After the Theta node is running, please execute the following command command to double confirm that the version code and hash printed match with the version code above.
<THETA_BIN_PATH>/thetacli query version
For Guardian GUI nodes
If you are running the GUI version, it will update itself later this week. No action is needed from your end.