Binary Upgrades
Example commands for upgrading the layerd binary.
Use these steps when Tellor reaches a planned chain upgrade and your node stops at the upgrade height.
There are two upgrade paths depending on how you run your node:
Cosmovisor — Download the new binary and register it with cosmovisor before the upgrade height. Cosmovisor swaps binaries and restarts the node automatically. See Upgrading with Cosmovisor below.
Manual or systemd — Download the new binary, optionally install it to your PATH, and restart the node yourself. Follow sections 1–3 below.
If you have not set up cosmovisor yet, see Cosmovisor Sync.
1. Download the new binary
The new layerd binary version is v6.1.9. Choose the command for your machine:
mkdir -p ~/layer/binaries && cd ~/layer/binaries && mkdir v6.1.9 && cd v6.1.9 && wget https://github.com/tellor-io/layer/releases/download/v6.1.9/layer_Linux_x86_64.tar.gz && tar -xvzf layer_Linux_x86_64.tar.gzmkdir -p ~/layer/binaries && cd ~/layer/binaries && mkdir v6.1.9 && cd v6.1.9 && wget https://github.com/tellor-io/layer/releases/download/v6.1.9/layer_Linux_arm64.tar.gz && tar -xvzf layer_Linux_arm64.tar.gzmkdir -p ~/layer/binaries && cd ~/layer/binaries && mkdir v6.1.9 && cd v6.1.9 && wget https://github.com/tellor-io/layer/releases/download/v6.1.9/layer_Darwin_arm64.tar.gz && tar -xvzf layer_Darwin_arm64.tar.gzConfirm the version:
~/layer/binaries/v6.1.9/layerd version2. (optional) Install it in ~/go/bin/layerd
Copy the new binary into ~/go/bin:
mkdir -p ~/go/bin
cp ~/layer/binaries/v6.1.9/layerd ~/go/bin/layerd
chmod +x ~/go/bin/layerdMake sure ~/go/bin is in your shell PATH so new terminal sessions can find layerd. Edit with nano or use the commands below to add export PATH="$HOME/go/bin:$PATH" in your .bashrc or .zshrc
Check that your shell is using the new binary:
3. Restart at the upgrade height
The node will stop and wait for the upgraded binary when the upgrade height is reached. When this happens, stop your node process. If you start the node manually, restart it with the new binary:
If you run your node with systemd, update the ExecStart line in your .service file to point at the new binary. Use an absolute path instead of ~:
Then reload systemd and restart your service:
Replace layerd with the actual name of your service if it is different.
Upgrading with Cosmovisor
If you run your node with cosmovisor (see Cosmovisor Sync), register the new binary before the upgrade height. Cosmovisor handles the swap and restart automatically — you do not need to update systemd or restart the process yourself.
The new layerd binary version is v6.1.9. Choose the command for your machine:
Confirm the version:
Then register the upgrade with cosmovisor:
Last updated
Was this helpful?

