Skip to content

v4.2.1-patch.1

Pre-release
Pre-release

Choose a tag to compare

@fragwuerdig fragwuerdig released this 02 Dec 05:17
· 0 commits to main since this release

What is this?

v4.2.1-patch.1 is a mandatory security release for Terra Classic (columbus-5), based on v4.2.0.

It updates core dependencies (wasmd, wasmvm, cometbft, cosmos-sdk) with security fixes that are being handled through responsible disclosure. The update changes consensus behaviour. It is activated by a coordinated chain halt at block height 31544000, estimated for Wednesday, 2 December 2026, ~12:10 UTC. The actual time can differ, so track the block height rather than the clock. There is no governance proposal and no on-chain upgrade plan: every operator sets the halt height by hand (step 1).

Who needs to upgrade: everyone running a columbus-5 node, including validators, RPC/LCD providers, exchanges, relayers and explorers.

There is no store migration and no parameter change. Validators must use the x86_64 binary. The arm64 binary is provided for non-validator nodes and has only been smoke-tested.

Downloads

File sha256
terra_4.2.1-patch.1_Linux_x86_64.tar.gz c4ce2baff4eb5b6b1053002fba8a73eb23403891eefbffa596f22af4bbc483c1
terra_4.2.1-patch.1_Linux_arm64.tar.gz 0dd7e48efd856008bbe0219608e812c1dffa7c8179c52677e511504d036db154
checksums.txt

The binaries are statically linked, so no separate libwasmvm is needed.

Installation

1. Now, on v4.2.0: set the halt height. In app.toml:

If your validator is already at the target halt-height you may skip this step.

halt-height = 31544000

Restart v4.2.0 so the setting takes effect. Disable Cosmovisor auto-upgrade and confirm that the clock is synchronised (NTP). Do not start the new binary before the halt.

2. Download and verify. Use arm64 instead of x86_64 on ARM machines (non-validator nodes only).

VERSION=v4.2.1-patch.1
ARCH=x86_64
BASE=https://github.com/classic-terra/core/releases/download/$VERSION

curl -fLO $BASE/terra_4.2.1-patch.1_Linux_$ARCH.tar.gz
curl -fLO $BASE/checksums.txt
sha256sum -c --ignore-missing checksums.txt   # must print: OK

tar xzf terra_4.2.1-patch.1_Linux_$ARCH.tar.gz
./terrad version    # must print: 4.2.1-patch.1

3. Wait for the halt. The log shows:

halt per configuration height 31544000

A CONSENSUS FAILURE!!! message at this point is expected, and the process may keep running. Check the last executed height before you continue:

curl -s localhost:26657/abci_info | jq -r .result.response.last_block_height

It must print 31543999. /status showing 31544000 is normal. If abci_info shows 31544000, do not install the new binary. Contact the coordinators in the validator channel.

4. Install.

sudo systemctl stop terrad
sudo cp terrad $(which terrad)
terrad version        # 4.2.1-patch.1

Set these values before starting:

  • app.toml: halt-height = 0
  • config.toml: double_sign_check_height = 0. First make sure no other node signs with the same key.

Keep your data and priv_validator_state.json, and never restore an older copy of that file.

5. WAIT FOR RESTART GO-AHEAD

AFTER YOU INSTALLED THE PATCH VERSION: DO NOT RESTART YOUR NODE AND WAIT FOR GO-AHEAD SIGNAL. After you received the go ahead signal from the coordinator (Frag and Vegas) you can go ahead with:

sudo systemctl start terrad

Adjust the service name and paths to your setup.

6. Check. After the restart, the node replays block 31544000 and continues above it:

curl -s localhost:26657/status | jq -r .result.sync_info.latest_block_height

The chain resumes as soon as validators holding more than 2/3 of voting power run v4.2.1-patch.1.

Do not roll back to v4.2.0 once v4.2.1-patch.1 has been started. If there is a problem, keep the node stopped and contact the coordinators.