Monad 백서

Monad

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 73쪽

onad.xyz/node-ops/upgrade-instructions/v0.16.1 <Warning> These instructions apply to **mainnet** and **testnet**. Always verify which network you are operating before proceeding. </Warning> ## Upgrade notes No breaking changes to `node.toml` config for `v0.16.1`. **Metrics endpoint enabled by default.** Since v0.16.0, the metrics endpoint is enabled by default on port `9143/TCP`, listening on `0.0.0.0`. If you have firewall rules restricting the metrics port, verify they are configured as expected. <Warning> **MONAD\_TEN activation on mainnet (MIP-8: page-encoded storage)** v0.16.1 activates MONAD\_TEN on **mainnet** at timestamp `1788359400` (2026-09-02 14:30 UTC). **Every mainnet node must be running v0.16.1 before that timestamp.** A node still on v0.16.0 or earlier will continue applying MONAD\_NINE rules after activation and will diverge from the network. All nodes **must** also be in dual-db mode (Phase A complete) before upgrading. See [MIP-8 Activation and Page Storage Migration](/node-ops/upgrade-instructions/page-storage-mip-8-migration) for details. **Nodes that have not completed Phase A (dual-db activation) will fail to start on v0.16.1.** v0.16.1 extends the page-encoded timeline assertion from testnet to mainnet — if neither a page-encoded primary (Phase C) nor an active secondary timeline (Phase A/B) is detected, the node aborts at startup with: ``` live monad requires a page-encoded timeline (as primary or secondary) on monad_mainnet; primary_is_page=0 secondary_active=0 ``` Note that this failure surfaces at **upgrade time**, not at the activation timestamp. Verify dual-db status across your fleet before you begin. </Warning> ## 1. SSH into the node as `root` user ## 2. Verify dual-db mode (Phase A) Before upgrading, confirm your node has completed Phase A (dual-db activation). Nodes without an active page-encoded timeline will fail to start on v0.16.1. ```bash theme={null} monad-mpt --storage /dev/triedb ``` You should see both Primary and Secondary timelines: ``` Active timelines: Primary: State machine kind: ethereum Secondary: State machine kind: monad ``` If you only see a single `ethereum` Primary timeline, complete the [Phase A migration](/node-ops/upgrade-instructions/page-storage-mip-8-migration#phase-a-page-activation) before proceeding. ## 3. Stop services ```bash theme={null} sudo systemctl stop monad-bft monad-execution monad-rpc ``` ## 4. Upgrade monad package <Warning> If you encounter issues with the GPG signature (e.g. signatures were invalid), please renew the keys with the command below. </Warning> ```bash theme={null} curl -fsSL https://pkg.category.xyz/keys/public-key.asc \ | gpg --dearmor --yes -o /etc/apt/keyrings/category-labs.gpg ``` ```bash theme={null} sudo apt update && sudo apt install --reinstall monad=0.16.1 -y --allow-downgrades --allow-change-held-packages sudo apt-mark hold monad ``` <Warning> 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. </Warning> ## 5. Start services and verify ```bash theme={null} 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. If `monad-execution` exits immediately, check the journal for the page-encoded timeline assertion described in the upgrade notes above — that indicates Phase A was not completed on this node. ## 6. Verify the correct version is running ```bash theme={null} monad-rpc -V ``` Expected output: ```json theme={null} monad-rpc {"commit":"12b7017d61e888a62d89978d623fed182297e7af","tag":"v0.16.1","branch":"","modified":true} ``` # v0.16.2 Upgrade Instructions Source: https://docs.monad.xyz/node-ops/upgrade-instructions/v0.16.2 <Warning> This page contains upgrade instructions for **testnet** and **mainnet**. Always verify which network the instructions apply to. </Warning> ## Upgrade notes No breaking changes to `node.toml` config for `v0.16.2`. ### MONAD\_TEN is already active MONAD\_TEN (MIP-8, page-encoded storage) activated on mainnet at timestamp `1788359400` (2026-09-02 14:30 UTC) with v0.16.1. v0.16.2 carries the same activation. <Warning> **Never downgrade from a fork-carrying build.** A node running a release older than v0.16.1 will continue applying MONAD\_NINE rules after the activation timestamp and will diverge from the network. </Warning> ### Page-encoded timeline still required As with v0.16.1, a mainnet or testnet node must present either a page-encoded primary (Phase C) or an active secondary timeline (Phase A/B dual-db), or it will abort at startup with: ``` live monad requires a page-encoded timeline (as primary or secondary) on monad_mainnet; primary_is_page=0 secondary_active=0 ``` If you are upgrading from v0.16.1 this is already satisfied. If you are coming from v0.16.0 or earlier, complete the [Phase A migration](/node-ops/upgrade-instructions/page-storage-mip-8-migration#phase-a-page-activation) first. ### Building from source v0.16.2 requires the system package `libsecp256k1-dev` at build time. The published Docker images already include it. This only affects operators building outside those images. ## 1. SSH into the node as `root` user ## 2. Stop services ```bash theme={null} sudo systemctl stop monad-bft monad-execution monad-rpc ``` ## 3. Upgrade monad package <Warning> If you encounter issues with the GPG signature (e.g. signatures were invalid), please renew the keys with the command below. </Warning> ```bash theme={null} curl -fsSL https://pkg.category.xyz/keys/public-key.asc \ | gpg --dearmor --yes -o /etc/apt/keyrings/category-labs.gpg ``` ```bash theme={null} sudo apt update && sudo apt install --reinstall monad=0.16.2 -y --allow-downgrades --allow-change-held-packages sudo apt-mark hold monad ``` <Warning> 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. </Warning> ## 4. Start services and verify ```bash theme={null} 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. ## 5. Verify the correct version is running ```bash theme={null} monad-rpc -V ``` Expected output: ```json theme={null} monad-rpc {"commit":"4374d389edca834764cf42c43ae822813e183a65","tag":"v0.16.2","branch":"","modified":true} ``` # v0.16.3 Upgrade Instructions Source: https://docs.monad.xyz/node-ops/upgrade-instructions/v0.16.3 <Warning> These instructions are only applicable to **testnet**. Deployment dates will be communicated via official channels. </Warning> ## Upgrade notes No breaking changes to `node.toml` config. For validators and standard full nodes this is a rolling upgrade on top of v0.16.2. **State Archive nodes may need one extra step** — see below. ### State Archive nodes: promote the page timeline after installing **Does this apply to me?** | Your State Archive node | Action | | - | - | | Did **not** upgrade to the v0.16.1 hot-fix | Run `--promote-secondary` **after installing v0.16.3**, before starting services | | Already on the v0.16.1 hot-fix | Nothing extra — the page timeline is already promoted | Validators and standard full nodes are unaffected either way. <Warning> If it applies to you, run the promote **after** the package is installed and **before** the services are started: ```bash theme={null} monad-mpt --storage /dev/triedb --promote-secondary ``` v0.16.3 asserts if the primary database's encoding type does not match the block's revision, so an affected archive node that starts without promoting will fail on startup. </Warning> Why this is needed: up to and including v0.16.1, archive nodes committed to **both** timelines past the MIP-8 fork, doubling the disk growth rate. v0.16.3 commits only to the page-encoded timeline past the fork, which removes that 2x write amplification. Reads are routed per requested block version, so historical queries below the cutoff continue to be served from the slot encoding. The ordering is covered in the numbered steps below — stop services, install, promote, then start. <Note> **This page takes precedence for v0.16.3.** [MIP-8 Activation and Page Storage Migration](/node-ops/upgrade-instructions/page-storage-mip-8-migration#state-archive-nodes) states that State Archive nodes skip Phase C and keep the slot timeline active permanently. That remains true for v0.16.1 and earlier, but an archive node that skipped the v0.16.1 hot-fix must run the promote step above when installing v0.16.3. </Note> <Warning> **RPC must be restarted whenever the database timeline setup changes.** The RPC process caches the timeline configuration at startup, so it must be restarted along with the other services during any timeline change such as `promote-secondary`. The procedure below already does this. </Warning> ### Replaying history from genesis If you are replaying the whole chain from genesis, the procedure has changed. Set the disk up with `monad-mpt --state-machine ethereum` and start the replay from genesis. The replay will hit an assertion when it crosses MONAD\_TEN (the MIP-8 fork); at that point complete migration Phases A and B to mirror state into the page-based secondary database, then run `monad-mpt --promote-secondary` before resuming the replay. ### Snapshots are not backward compatible <Warning> Snapshots produced by v0.16.3 **cannot be restored by earlier binaries.** Every snapshot stream now carries an eight-byte versioned header, so an older loader aborts within about a second rather than misparsing the data. The target database is left untouched. </Warning> Snapshots written by earlier releases restore normally under v0.16.3 — the incompatibility is only in the forward direction. Coordinate with snapshot validation before snapshotters begin producing headered streams. ### Statesync Statesync peers still speaking protocol v0 or v1 are now rejected with `BadVersion`. Protocol v2 is what is deployed, so this should be a no-op; confirm no node is below v2 before rolling out. ### Building from source This release requires the system package `libsecp256k1-dev` at build time. The published Docker images already include it. This only affects operators building outside those images. ## 1. SSH into the node as `root` user ## 2. Stop services ```bash theme={null} sudo systemctl stop monad-bft monad-execution monad-rpc ``` ## 3. Upgrade monad package <Warning> If you encounter issues with the GPG signature (e.g. signatures were invalid), please renew the keys with the command below. </Warning> ```bash theme={null} curl -fsSL https://pkg.category.xyz/keys/public-key.asc \ | gpg --dearmor --yes -o /etc/apt/keyrings/category-labs.gpg ``` ```bash theme={null} sudo apt update && sudo apt install --reinstall monad=0.16.3 -y --allow-downgrades --allow-change-held-packages sudo apt-mark hold monad ``` <Warning> 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. </Warning> ## 4. Promote the page timeline — State Archive nodes that skipped the v0.16.1 hot-fix Skip this step entirely if the node is a validator or a standard full node, or if it is a State Archive node already running the v0.16.1 hot-fix. See [above](#state-archive-nodes-promote-the-page-timeline-after-installing). ```bash theme={null} monad-mpt --storage /dev/triedb --promote-secondary ``` Verify the result: ```bash theme={null} monad-mpt --storage /dev/triedb ``` ## 5. Start services and verify ```bash theme={null} 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. ## 6. Verify the correct version is running ```bash theme={null} monad-rpc -V ``` Expected output: ```json theme={null} monad-rpc {"commit":"d12edcbc0152f903f19fbed23c4136f8851ce5b5","tag":"v0.16.3","branch":"","modified":true} ``` # v0.16.4 Upgrade Instructions Source: https://docs.monad.xyz/node-ops/upgrade-instructions/v0.16.4 <Warning> These instructions are applicable to both **mainnet** and **testnet**. Deployment dates will be communicated via official channels. </Warning> ## Upgrade notes No breaking changes to `node.toml` config. This is a rolling upgrade on top of v0.16.3. ## 1. SSH into the node as `root` user ## 2. Stop services ```bash theme={null} sudo systemctl stop monad-bft monad-execution monad-rpc ``` ## 3. Upgrade monad package <Warning> If you encounter issues with the GPG signature (e.g. signatures were invalid), please renew the keys with the command below. </Warning> ```bash theme={null} curl -fsSL https://pkg.category.xyz/keys/public-key.asc \ | gpg --dearmor --yes -o /etc/apt/keyrings/category-labs.gpg ``` ```bash theme={null} sudo apt update && sudo apt install --reinstall monad=0.16.4 -y --allow-downgrades --allow-change-held-packages sudo apt-mark hold monad ``` <Warning> 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. </Warning> ## 4. Start services and verify ```bash theme={null} 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. ## 5. Verify the correct version is running ```bash theme={null} monad-rpc -V ``` Expected output: ```json theme={null} monad-rpc {"commit":"2a2bcc04679b919db402dee2b13d4adce900098b","tag":"v0.16.4","branch":"","modified":true} ``` # Validator Installation Source: https://docs.monad.xyz/node-ops/validator-installation Setting up a validator is very similar to setting up a full node with a few extra steps. Start by configuring a node according to the full node installation [instructions](/node-ops/full-node-installation). When the full node is fully operational and synced to the network tip, you can register your node as a prospective validator by calling [`addValidator`](/reference/staking/api#addvalidator) on the staking precompile. This function requires passing at least `MIN_VALIDATE_STAKE = 100_000 MON` (the minimum self-stake). After registering, your validator must also satisfy the following conditions, described in greater depth in the staking [docs](/monad-arch/consensus/staking): 1. Must have a total stake of at least `ACTIVE_VALIDATOR_STAKE = 10_000_000 MON` 2. Must be in the top `ACTIVE_VALSET_SIZE = 200` validators by stake weight 3. Must continue to have a self-stake of `MIN_VALIDATE_STAKE = 100_000 MON` When all three conditions are achieved, the validator will become active in the next epoch. ## Staking CLI [`staking-sdk-cli`](https://github.com/monad-developers/staking-sdk-cli) is an open-source staking CLI tool for interfacing with the staking precompile. Start with the [onboarding workflow](https://github.com/monad-developers/staking-sdk-cli/blob/main/docs/validator-onboarding.md). ## Configure `node.toml` When following the full node instructions, when you got to [this section](/node-ops/full-node-installation#get-configuration-files) you should have downloaded the Validator-themed `node.toml`. From that template, the following should be configured: 1. (Important) Review the `beneficiary` address. This is the address that will receive block rewards. ```toml theme={null} beneficiary = "0x<INSERT_BENEFICIARY_ADDRESS>" ``` 2. (Optional) - Double check `node_name` makes sense after transition from full node (for example, remove any `full_` prefix). Please choose a unique identifier to avoid confusion. 3. (Optional) - Configure [dedicated](/node-ops/full-node-block-delivery#dedicated-upstream) or [prioritized](/node-ops/full-node-block-delivery#prioritized-secondary-raptorcast-inclusion) connections: * **Dedicated full node** ```toml theme={null} # Use the following to broadcast blocks to downstream full nodes # [[bootstrap.peers]] # address = "<ip>:<port>" # record_seq_num = "<record_seq_num>" # name_record_sig = "<name_record_sig>" # secp256k1_pubkey = "<full node pubkey>" # [[fullnode_dedicated.identities]] # secp256k1_pubkey = "<full node pubkey>" ``` * **Prioritized full node** ```toml theme={null} # Use the following to broadcast blocks to downstream full nodes # [[bootstrap.peers]] # address = "<ip>:<port>" # record_seq_num = "<record_seq_num>" # name_record_sig = "<name_record_sig>" # secp256k1_pubkey = "<full node pubkey>" # [[fullnode_raptorcast.full_nodes_prioritized.identities]] # secp256k1_pubkey = "<full node pubkey>" ``` To apply these full node configuration changes without restarting `monad-bft`, run the following command: ```bash theme={null} monad-debug-node --control-panel-ipc-path /home/monad/monad-bft/controlpanel.sock reload-config ``` # Official Monad Links: Website, Discord, X, and Telegram Source: https://docs.monad.xyz/official-links Verified official Monad links: website, Discord, X, Telegram, and block explorers MonadVision and Monadscan. Check here before you click or connect a wallet. These are the verified official links for Monad. Check a link against this page before you connect a wallet or sign a transaction. ### Mainnet Network <div> <table> <thead> <tr> <th>What</th> <th>Where</th> </tr> </thead> <tbody> <tr> <td>Block Explorer (MonadVision)</td> <td> <CopyToClipboard>[https://monadvision.com](https://monadvision.com)</CopyToClipboard> </td> </tr> <tr> <td>Block Explorer (Monadscan)</td> <td> <CopyToClipboard>[https://monadscan.com](https://monadscan.com)</CopyToClipboard> </td> </tr> <tr> <td>Network Visualization</td> <td> <CopyToClipboard>[https://gmonads.com](https://gmonads.com)</CopyToClipboard> </td> </tr> <tr> <td>App Hub</td> <td> <CopyToClipboard>[https://app.monad.xyz](https://app.monad.xyz)</CopyToClipboard> </td> </tr> </tbody> </table> </div> ### Announcements and Socials <div> <table> <thead> <tr> <th>What</th> <th>Where</th> </tr> </thead> <tbody> <tr> <td>Website</td> <td> <CopyToClipboard>[https://monad.xyz](https://monad.xyz)</CopyToClipboard> </td> </tr> <tr> <td>Blog</td> <td> <CopyToClipboard>[https://www.monad.xyz/blog](https://www.monad.xyz/blog)</CopyToClipboard> </td> </tr> <tr> <td>X</td> <td> <CopyToClipboard>[https://x.com/monad](https://x.com/monad)</CopyToClipboard> </td> </tr> <tr> <td>Monad Ecosystem on X</td> <td> <CopyToClipboard>[https://x.com/monad\_eco](https://x.com/monad_eco)</CopyToClipboard> </td> </tr> <tr> <td>The Pipeline on X</td> <td> <CopyToClipboard>[https://x.com/pipeline\_xyz](https://x.com/pipeline_xyz)</CopyToClipboard> </td> </tr> <tr> <td>Announcement Telegram</td> <td> <CopyToClipboard>[https://t.me/monad\_xyz](https://t.me/monad_xyz)</CopyToClipboard> </td> </tr> <tr> <td>Youtube</td> <td> <CopyToClipboard>[https://www.youtube.com/@MonadFoundation](https://www.youtube.com/@MonadFoundation)</CopyT
프로젝트로 돌아가기