v0.16.6 Upgrade Instructions
Contents6 sections
This version can be skipped. Upgrade to v0.16.7.
Upgrade notes
No breaking changes to node.toml config. This is a rolling upgrade on top of v0.16.5.
The monad package is now built as a Debian package (PR #3277). Installation via apt is unchanged — no action is needed on a standard install. After upgrading, confirm the installed package version with:
dpkg-query --show monad
The output should show version 0.16.6.
Packages now stamp the submodule commit into the built binaries, and the triedb driver is resolved via ldd (PR #3277). On a standard install no action is needed. After the upgrade, monad-rpc -V reports the exact stamped submodule commit — use that value when verifying the running version in the final step below.
monad-bft now supports dual Prometheus/OTLP metrics export (PR #3275). The default Prometheus export is unchanged on a standard install, so no action is needed. If you run monad-bft from a custom unit, a systemd drop-in that overrides ExecStart, or a container, verify your metrics endpoint still works after the upgrade:
sudo systemctl status monad-bft --no-pager -l
monad-mpt --upgrade and the MONAD007 migration are removed in this release (PR #2709). If your runbook or tooling still invokes them, remove those steps — the flag is no longer accepted. After upgrading, the check below should return nothing:
monad-mpt --help | grep -- '--upgrade'
monad-mpt --repair is removed in this release (PR #2709). If your recovery runbook still invokes it, remove that step — the flag is no longer accepted. After upgrading, the check below should return nothing:
monad-mpt --help | grep -- '--repair'
1. SSH into the node as root user
2. Stop services
sudo systemctl stop monad-bft monad-execution monad-rpc
3. Re-import the APT repository signing key
The Category Labs APT repository signing key has been rotated. You must re-download the key before upgrading — with the old key, apt update fails signature verification and monad=0.16.6 cannot be installed.
curl -fsSL https://pkg.category.xyz/keys/public-key.asc \
| gpg --dearmor --yes -o /etc/apt/keyrings/category-labs.gpg
Verify the new key is installed:
gpg --show-keys --with-fingerprint /etc/apt/keyrings/category-labs.gpg
The output should show the Category Labs APT Archive Signing Key (2026) with fingerprint:
7C42 CFAB 84AB B23B 5040 082C DE2D ABCA 749E 2B10
4. Upgrade monad package
sudo apt update && sudo apt install --reinstall monad=0.16.6 -y --allow-downgrades --allow-change-held-packages
sudo apt-mark hold monad
The apt-mark hold monad command prevents the monad package from being upgraded automatically by apt-get upgrade. Without it, unattended system upgrades can install a newer version of monad that has not been approved for your network, causing version mismatch issues.
5. Start services and verify
sudo systemctl daemon-reload
sudo systemctl start monad-bft monad-execution monad-rpc
sudo systemctl status monad-bft monad-execution monad-rpc --no-pager -l
All services should show Active: active (running). Confirm the node rejoins and advances blocks.
Verify the correct version is running:
monad-rpc -V
Confirm the output reports "tag":"v0.16.6". The commit field reports the stamped submodule commit (see the upgrade notes above).