Skip to content

Latest commit

 

History

History
62 lines (56 loc) · 2.68 KB

README.md

File metadata and controls

62 lines (56 loc) · 2.68 KB

Namada Mainnet Update Script from v1.0.0 to v1.1.1

Current Block Blocks Left Target Block

Description

🔗 Namada v1.1.1 Release Expected update block height: 894000 This Bash script automates the update of Namada from v1.0.0 to v1.1.1. It checks all dependencies are installed, verifies the correct Chain ID namada.5f5de2dd1b88cba30586420, checks and updates CometBFT to v0.37.15, builds the latest Namada binaries, and restarts the node and syncs it properly.

Features

  • ✅ Checks if the script is run as root
  • ✅ Installs & updates required dependencies
  • ✅ Detects and updates CometBFT only if necessary
  • ✅ Clones and builds the latest Namada v1.1.1 from source
  • ✅ Automatically restarts the node and verifies block synchronization
  • ✅ Provides clear status messages for troubleshooting

AUTO Update Script 👇

🚧 Testing Mode Active: Installation is currently disabled for verification. Run the following command to download and execute the script:

curl -s https://raw.githubusercontent.com/papadritta/namada_mainnet/main/namada-update.sh | sudo bash -e

MANUAL Update Step-by-step 👇

Detailed Step-by-step Instruction Here

Tested on: Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-41-generic x86_64)

Troubleshooting

If the script exits or fails:

  1. Check the error message displayed in the terminal.
  2. Verify Namada is running using:
sudo systemctl status namadad
  1. Check logs for more details:
sudo journalctl -u namadad -f -o cat
  1. Check the correct ports are open:
sudo netstat -tulnp | grep namada
  1. Retry running the script if an intermittent error occurs.

If the node is not syncing blocks:

  • Run the following to check block height manually:
curl -s http://localhost:26657/status | jq -r '.result.sync_info.latest_block_height'
  • If blocks are not increasing, restart Namada:
sudo systemctl restart namadad
  • If the node is stuck or failing block validation, perform a ledger rollback to revert to the last valid state:
sudo systemctl stop namadad && namadan node ledger rollback && sudo systemctl start namadad
  • If the issue persists, check network connectivity add peers & seeds and re-run the script.

Support

For any issues, open an issue on the repository or check the Namada documentation.