Step-by-step guide on how to update your t3rn node to the latest version.
December 19th, 2024

This continues from the Twitter post.

Since it’s on the testnet, they’re testing various things. Yesterday, a huge gas spike caused many of us to lose BRN in gas fees.

Don’t worry, they’ll compensate us for the lost BRN. They also have an update we need to install on our VPS to run the node perfectly.

To access your VPS, enter the VPS screen. Press “CTRL + C” if your node is running to stop it.

You will find yourself in the “executor/executor/bin” directory. We need to navigate to the home directory to begin.

To go to the home directory, use the following command; remember, you only need to copy and paste the commands.

cd ../../..

Now that you’re in the home directory let’s remove the outdated folder from our VPS by using the command below:

rm -r executor

Again, following immediately with this command.

rm -r executor-linux-v0.27.0.tar.gz

Now that both outdated folders have been removed let’s install the new version using the command below.

wget https://github.com/t3rn/executor-release/releases/download/v0.28.0/executor-linux-v0.28.0.tar.gz

Then copy and paste this command to unzip the folder:

tar -xvzf executor-linux-v0.28.0.tar.gz

Followed by:

cd executor/executor/bin

Just like this.

Next, copy and paste the following:

export NODE_ENV=testnet

Immediately followed by (Copy the two codes below at once and paste):

export LOG_LEVEL=debug
export LOG_PRETTY=false

Immediately followed by (Copy the two codes below at once and paste):

export EXECUTOR_PROCESS_ORDERS=true
export EXECUTOR_PROCESS_CLAIMS=true

Then immediately followed by:

export EXECUTOR_MAX_L3_GAS_PRICE=50

This command, introduced in the latest guide, sets a GWEI limit to prevent issues with our node during gas price spikes.

Just like this.

Now, read this carefully, obtain the private key of the wallet you wish to use, or have testnet funds in any wallet you have been using, such as metamask.

Now you see the code below; see where it says =YOUR_PRIVATE_KEY your private key should be what is there, so remove that YOUR_PRIVATE_KEY and put your private key there before you paste the code into your VPS

export PRIVATE_KEY_LOCAL=YOUR_PRIVATE_KEY

After you have done that, copy and paste the following:

export ENABLED_NETWORKS='arbitrum-sepolia,base-sepolia,optimism-sepolia,l1rn'

Immediately followed by:

export EXECUTOR_PROCESS_PENDING_ORDERS_FROM_API=false

And finally,

./executor

Your NODE is running perfectly.

Press CTRL + A + D together as usual to exit your screen.

That will be all for now.

Subscribe to Abraham Chase.
Receive the latest updates directly to your inbox.
Nft graphic
Mint this entry as an NFT to add it to your collection.
Verification
This entry has been permanently stored onchain and signed by its creator.
More from Abraham Chase.

Skeleton

Skeleton

Skeleton