Skip to main content

Upgrade

Upgrade to

Loading data...

Before reaching the upgrade height

1. Switch Namada to stop at height

Update your systemd service so it runs the ledger up to block and then halts, and disable automatic restarts:

sudo sed -i \
-e 's|^ExecStart=.*$|ExecStart='"$HOME"'/.local/bin/namadan ledger run-until --block-height --halt|' \
-e 's|^Restart=.*$|Restart=no|' \
/etc/systemd/system/namada.service

2. Reload and restart the service

sudo systemctl daemon-reload
sudo systemctl restart namada.service

At block height

1. Download and extract

curl -sL https://github.com/anoma/namada/releases/download//namada--Linux-x86_64.tar.gz \
| tar -C "$HOME/.local/bin" -xzf- --strip-components=1 \
namada--Linux-x86_64/{namada,namadac,namadan,namadaw}

2. Switch Namada to continuous mode

Point ExecStart back to namadan ledger run and re-enable restarts:

sudo sed -i \
-e 's|^ExecStart=.*$|ExecStart='"$HOME"'/.local/bin/namadan ledger run|' \
-e 's|^Restart=.*$|Restart=always|' \
/etc/systemd/system/namada.service

3. Reload and start the service

sudo systemctl daemon-reload
sudo systemctl start namada.service