Skip to main content
These instructions are applicable to both mainnet and testnet. Deployment dates will be communicated via official channels.

Upgrade notes

No breaking changes to node.toml config. This is a rolling upgrade on top of v0.16.4.
--triedb-path must name the triedb device itself (for example /dev/triedb), not a directory containing it. This applies to monad-bft and monad-rpc. Earlier releases accepted a directory holding a single database file; this release refuses one at startup.The packaged systemd units already pass /dev/triedb, so no action is needed on a standard install. If you run monad-bft or monad-rpc from a custom unit, a systemd drop-in that overrides ExecStart, or a container, check the flag before upgrading.
The packaged units now export triedb update and compaction counters as Prometheus gauges. monad-execution writes them to --db-stats-file and monad-bft reads them from --triedb-stats-path. Both flags are off by default; the packaged units set both to /home/monad/monad-bft/triedb-stats. If you override ExecStart, set both flags to the same path, or neither. A mismatch is silent: the gauges just stop updating.
Growing the triedb device (optional). This release adds monad-mpt --grow, which takes up the space after /dev/triedb is extended in place. The order matters:
  1. Upgrade to this release and start the node once. This records the device’s current size, which --grow needs.
  2. Stop monad-bft, monad-execution and monad-rpc.
  3. Extend the device in place, for example with lvextend, or by growing the RAID array and then the partition /dev/triedb points at.
  4. Run monad-mpt --storage /dev/triedb --grow and confirm the prompt.
  5. Start the services.
A device extended before step 1 is refused, and nothing is written. Return it to its previous size, or use --archive and --restore instead. If --grow is interrupted, run the same command again.

1. SSH into the node as root user

2. Check --triedb-path (custom deployments only)

Every match should name a block device such as /dev/triedb. If one names a directory, change it to the device before continuing.

3. Stop services

4. Upgrade monad package

If you encounter issues with the GPG signature (e.g. signatures were invalid), please renew the keys with the command below.
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

All services should show Active: active (running). Confirm the node rejoins and advances blocks.

6. Verify the correct version is running

Expected output: