OshVanK Node ServiceOshVanK Node Service
Lumera
Testnet

Update v1.20.2

Instructions for updating Lumera to v1.20.2

๐Ÿ’ข ๐Ÿ“‹ Update Steps

๐Ÿ’ข Step 1: Governance Vote ๐Ÿ—ณ๏ธ

# Vote YES for Proposal #11
lumerad tx gov vote 15 yes --from wallet --chain-id lumera-testnet-2 --gas-prices 0.1ulume --gas auto --gas-adjustment 1.6 -y

After Evm-Migration:

lumerad tx gov vote 15 yes \
  --from wallet-evm \
  --keyring-backend os \
  --chain-id lumera-testnet-2 \
  --gas-prices 0.1ulume \
  --gas auto --gas-adjustment 1.6 \
  -y

๐Ÿ’ข Step 2: Switch to Working Directory ๐Ÿ“

cd $HOME

๐Ÿ’ข Step 3: Download v1.20.2 Binary ๐Ÿ“ฅ

wget -O lumera_v1.20.2_linux_amd64.tar.gz https://github.com/LumeraProtocol/lumera/releases/download/v1.20.2/lumera_v1.20.2_linux_amd64.tar.gz

๐Ÿ’ข Step 4: Extract Archive ๐Ÿ“ฆ

tar -xvzf lumera_v1.20.2_linux_amd64.tar.gz

๐Ÿ’ข Step 5: Make Binary Executable โœ…

chmod +x lumerad

๐Ÿ’ข Step 6: Create Cosmovisor Upgrade Directory ๐Ÿ“‚

mkdir -p $HOME/.lumera/cosmovisor/upgrades/v1.20.2/bin

๐Ÿ’ข Step 7: Move Binary to Upgrade Directory ๐Ÿš€

mv $HOME/lumerad $HOME/.lumera/cosmovisor/upgrades/v1.20.2/bin/lumerad
sudo mkdir -p /root/.lumera/lib
sudo mv $HOME/libwasmvm.x86_64.so /root/.lumera/lib/libwasmvm.x86_64.so

๐Ÿ’ข Step 8: Verify Installation โœ”๏ธ

ls -l $HOME/.lumera/cosmovisor/upgrades/v1.20.2/bin/

Expected Output:

-rwxr-xr-x 1 root root ... lumerad

๐Ÿ’ข Step 9: Pre-Update Checks ๐Ÿ”

# Check current version
lumerad version

# Check node sync status
curl -s localhost:${LUMERA_PORT}657/status | jq .result.sync_info

# Check proposal status
lumerad q gov proposal 14

๐Ÿ’ข โš ๏ธ Important Notes

  1. Automatic Update: Cosmovisor will automatically perform the update at the designated block height after the proposal is approved.
  2. No Manual Intervention Required: Once you place the binary in the upgrade folder, Cosmovisor will automatically handle the transition at the correct time.
  3. Node Status: Your node must be running and fully synced during the update.
  4. Backup: It is highly recommended to back up your important data before the update.

๐Ÿ’ข ๐Ÿ”„ Post-Update Checks

# Monitor node logs
sudo journalctl -fu lumerad -o cat

# Check the new version (should be v1.20.2)
lumerad version

# Check node status
curl -s localhost:${LUMERA_PORT}657/status | jq

# Check block height
lumerad status 2>&1 | jq .SyncInfo.latest_block_height

๐Ÿ’ข ๐Ÿงน Cleanup (Optional)

# Delete the downloaded tar.gz file
rm -f $HOME/lumera_v1.20.2_linux_amd64.tar.gz

On this page