Mantle 백서

Mantle

원문

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

Allows anyone to verify the work performed by Sequencers by re-deriving output roots and comparing them against those submitted by the Sequencer. In case of a mismatch, verifiers will be able to perform a fault check and claim rewards by submitting fraud proofs on future versions of Mantle Network Mainnet. # Deployment Guides # Mainnet (v1.5.4) # Deploying a Rollup Verifier/Replica Node From Docker To build an app on Mantle network, you'll need access to a Mantle node. There are multiple public Node RPC Providers that you can choose from, or you can deploy your own depending on the requirements for your specific use cases. {% hint style="info" %} **This doc is a simple introduction to the process.** For more details, please refer to this: * [Mantle v2 Skadi mainnet node](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md) {% endhint %} ## For Operators Who Deploy Nodes For the First Time <a href="#for-operators-who-deploy-nodes-for-the-first-time" id="for-operators-who-deploy-nodes-for-the-first-time"></a> ### Prerequisites[​](https://docs-v2.mantle.xyz/nodes/verifier#prerequisites) <a href="#prerequisites" id="prerequisites"></a> Ensure you have the following software installed: * [Git](https://www.git-scm.com/downloads) * [Docker](https://docs.docker.com/engine/install/) * [Node.js](https://nodejs.org/en/download/) * [Foundry](https://book.getfoundry.sh/getting-started/installation) * [zstd](https://github.com/facebook/zstd) ### Hardware Recommendations[​](https://docs-v2.mantle.xyz/nodes/verifier#hardware-recommendations) <a href="#hardware-recommendations" id="hardware-recommendations"></a> For optimal performance, it is recommended to have the following hardware specifications: * **RAM** - 16GB+ * **CPU** - 8C+ * **Storage** - 4T+ disk(HDD works for now, SSD is better) * **Bandwidth** - 10mb/s+ download speed ### Approximate Disk Usage[​](https://docs-v2.mantle.xyz/nodes/verifier#approximate-disk-usage) <a href="#approximate-disk-usage" id="approximate-disk-usage"></a> As of Dec. 25, 2023: * Archive node: \~1.5TB * Full node: \~75GB ### Installation and Configuration[​](https://docs-v2.mantle.xyz/nodes/verifier#installation-and-configuration) <a href="#installation-and-configuration" id="installation-and-configuration"></a> #### Clone the Repository[​](https://docs-v2.mantle.xyz/nodes/verifier#clone-the-repository) <a href="#clone-the-repository" id="clone-the-repository"></a> Firstly, we need to clone the repository: ``` git clone https://github.com/mantlenetworkio/networks.git ``` #### Initialize to Generate Files[​](https://docs-v2.mantle.xyz/nodes/verifier#initialize-to-generate-files) <a href="#initialize-to-generate-files" id="initialize-to-generate-files"></a> Before running the node, you need to generate some necessary files, such as the `jwt_secret.txt` and `p2p_node_key.txt`. You can find more details [**here**](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#init-to-generate-the-jwt_secret_txt-file-and-the-p2p_node_key_txt). ### Deploy the Node[​](https://docs-v2.mantle.xyz/nodes/verifier#deploy-the-node) <a href="#deploy-the-node" id="deploy-the-node"></a> #### Download Latest Snapshot From Mantle (Recommended)[​](https://docs-v2.mantle.xyz/nodes/verifier#download-latest-snapshot-from-mantle-recommended) <a href="#download-latest-snapshot-from-mantle-recommended" id="download-latest-snapshot-from-mantle-recommended"></a> **We recommend that you start the node with the latest snapshot**, so that you don't need to wait a long time to sync data. Check [**this**](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#download-latest-snapshot-from-mantle) to know how to get the latest snapshot. {% hint style="info" %} * Depending on the user's location, we provide download links for snapshots in different regions. Check more details [here](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#download-latest-snapshot-from-mantle). * If you want to run with fullnode mode, please change the `--gcmode` to `full` in the [`docker-compose-mainnetv2.yml`](https://github.com/mantlenetworkio/networks/blob/main/docker-compose-mainnetv2.yml#L52). {% endhint %} #### Operate Mantle Node[​](https://docs-v2.mantle.xyz/nodes/verifier#operate-mantle-node) <a href="#operate-mantle-node" id="operate-mantle-node"></a> Once the snapshot is downloaded and extracted to the correct folder, you can start the node, we've prepared a `docker-compose` file for you, so that you can easily start and stop the node. * [How to start the node](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#start) * [How to stop the node](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#stop) * [How to wipe the node](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#wipe) * [How to view logs](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#logs) * [How to update the node](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#update) {% hint style="info" %} Please make sure to change your own L1 RPC Node URL in the [`docker-compose-mainnetv2.yml`](https://github.com/mantlenetworkio/networks/blob/main/docker-compose-mainnetv2.yml). OP\_NODE\_L1\_ETH\_RPC: 'wss\://mainnet.gateway.tenderly.co' #change this {% endhint %} **Example**[**​**](https://docs-v2.mantle.xyz/nodes/verifier#example) 1. Start the node ``` docker-compose -f docker-compose-mainnetv2.yml up -d ``` 2. We can use `docker ps` to get container id and `docker logs` to view the logs ``` docker logs -f <container_id> ``` ## For Operators Who Have Already Deployed Nodes <a href="#for-operators-who-have-already-deployed-nodes" id="for-operators-who-have-already-deployed-nodes"></a> ### Operation Guide[​](https://docs-v2.mantle.xyz/nodes/verifier-sepolia#operation-guide-1) <a href="#operation-guide-1" id="operation-guide-1"></a> If you have previously deployed Mantle nodes and need to complete this hardfork upgrade, you can follow the instructions [**here**](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#upgrade-for-historical-user) for more detailed information. ## Verification[​](https://docs-v2.mantle.xyz/nodes/verifier#verification) <a href="#verification" id="verification"></a> #### Check Service Status[​](https://docs-v2.mantle.xyz/nodes/verifier#check-service-status) <a href="#check-service-status" id="check-service-status"></a> Once you start the node, you also need to check the service status, we provide a command to check the service status and the chain data. * [How to check the service status](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#check-service) * [How to check the chain data](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#check-data) **Example**[**​**](https://docs-v2.mantle.xyz/nodes/verifier#example-1) When we use `cast bn` to check the service status, we will get the block number of the latest block. For example: ``` 1758076 ``` We can run this command many times to make sure the service is running correctly. <br> # Deploying a Rollup Verifier/Replica Node From Binary To build an app on Mantle network, you'll need access to a Mantle node. There are multiple public Node RPC Providers that you can choose from, or you can deploy your own depending on the requirements for your specific use cases. If you want to customize the op-geth and run with your own binary, please follow this tutorial. {% hint style="info" %} Due to the fact that Mantle DA in op-node is powered by EigenDA technology, which is currently not open-source yet, op-node still needs to be run using Docker. {% endhint %} ## Prerequisites[​](https://docs-v2.mantle.xyz/nodes/verifier-binary#prerequisites) <a href="#prerequisites" id="prerequisites"></a> Ensure you have the following software installed: * [Git](https://www.git-scm.com/downloads) * [Node.js](https://nodejs.org/en/download/) * [Foundry](https://book.getfoundry.sh/getting-started/installation) * [zstd](https://github.com/facebook/zstd) ## Hardware Recommendations[​](https://docs-v2.mantle.xyz/nodes/verifier-binary#hardware-recommendations) <a href="#hardware-recommendations" id="hardware-recommendations"></a> For optimal performance, it is recommended to have the following hardware specifications: * **RAM** - 16GB+ * **CPU** - 8C+ * **Storage** - 4T+ disk(HDD works for now, SSD is better) * **Bandwidth** - 10mb/s+ download speed ## Approximate Disk Usage[​](https://docs-v2.mantle.xyz/nodes/verifier-binary#approximate-disk-usage) <a href="#approximate-disk-usage" id="approximate-disk-usage"></a> As of Dec. 25, 2023: * Archive node: \~1.5TB * Full node: \~75GB ## Installation and Configuration[​](https://docs-v2.mantle.xyz/nodes/verifier-binary#installation-and-configuration) <a href="#installation-and-configuration" id="installation-and-configuration"></a> ### Clone the Repository[​](https://docs-v2.mantle.xyz/nodes/verifier-binary#clone-the-repository) <a href="#clone-the-repository" id="clone-the-repository"></a> Firstly, we need to clone the repository: ``` git clone https://github.com/mantlenetworkio/networks.git ``` ### Initialize to Generate Files[​](https://docs-v2.mantle.xyz/nodes/verifier-binary#initialize-to-generate-files) <a href="#initialize-to-generate-files" id="initialize-to-generate-files"></a> Before running the node, you need to generate some necessary files, such as the `jwt_secret.txt` and `p2p_node_key.txt`. You can find more details [**here**](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#init-to-generate-the-jwt_secret_txt-file-and-the-p2p_node_key_txt). ## Deploy the Node[​](https://docs-v2.mantle.xyz/nodes/verifier-binary#deploy-the-node) <a href="#deploy-the-node" id="deploy-the-node"></a> ### Download Latest Snapshot From Mantle (Recommended)[​](https://docs-v2.mantle.xyz/nodes/verifier-binary#download-latest-snapshot-from-mantle-recommended) <a href="#download-latest-snapshot-from-mantle-recommended" id="download-latest-snapshot-from-mantle-recommended"></a> **We recommend that you start the node with the latest snapshot**, so that you don't need to wait a long time to sync data. Check [**this**](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#download-latest-snapshot-from-mantle) to know how to get the latest snapshot. info * Depending on the user's location, we provide download links for snapshots in different regions. Check more details [here](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#download-latest-snapshot-from-mantle). * If you want to run with fullnode mode, please change the `--gcmode` to `full` in the [`gethv2.sh`](https://github.com/mantlenetworkio/networks/blob/main/gethv2.sh). ### Operate Mantle Node[​](https://docs-v2.mantle.xyz/nodes/verifier-binary#operate-mantle-node) <a href="#operate-mantle-node" id="operate-mantle-node"></a> Once the snapshot is downloaded and extracted to the correct folder, you can start the node with the following steps: {% stepper %} {% step %} ### **Prepare the corresponding repos to run the node and switch to the correct release version:** ``` # Download Mantle v2 Tectonic op-geth git clone https://github.com/mantlenetworkio/op-geth.git cd ./op-geth git checkout release/v1.3.1 ``` {% endstep %} {% step %} ### **Build op-geth binary:** ``` make geth ``` {% endstep %} {% step %} ### **Move the binary to the correct folder and start the node:** ``` cd ./../networks cp ./../op-geth/build/bin/geth ./ # export PATH export PATH=$PATH:$(pwd) # Run op-geth script firstly ./gethv2.sh ``` {% endstep %} {% step %} ### **Start the op-node by using docker:** {% hint style="info" %} Please make sure to change your own L1 RPC Node URL in the [`docker-compose-mainnetv2-nodeonly.yml`](https://github.com/mantlenetworkio/networks/blob/main/docker-compose-mainnetv2-nodeonly.yml). {% endhint %} ``` OP_NODE_L1_ETH_RPC: 'wss://mainnet.gateway.tenderly.co' #change this ``` ``` docker-compose -f docker-compose-mainnetv2-nodeonly.yml up -d ``` {% endstep %} {% endstepper %} ## Verification[​](https://docs-v2.mantle.xyz/nodes/verifier-binary#verification) <a href="#verification" id="verification"></a> #### Check Service Status[​](https://docs-v2.mantle.xyz/nodes/verifier-binary#check-service-status) <a href="#check-service-status" id="check-service-status"></a> Once you start the node, you also need to check the service status, we provide a command to check the service status and the chain data. * [How to check the chain data](https://github.com/mantlenetworkio/networks/blob/main/run-node-mainnetv2.md#check-data) **Example**[**​**](https://docs-v2.mantle.xyz/nodes/verifier-binary#example) When we use `cast bn` to check the service status, we will get the block number of the latest block. For example: ``` 1758076 ``` We can run this command many times to make sure the service is running correctly. # Testnet (v1.6.3) # Deploying a Sepolia Rollup Verifier/Replica Node From Docker To build an app on Mantle network, you'll need access to a Mantle node. There are multiple public Node RPC Providers that you can choose from, or you can deploy your own depending on the requirements for your specific use cases. {% hint style="info" %} * **This doc is a simple introduction to the process.** For more details, please refer to this: * [Mantle v2 Tectonic Sepolia node](https://github.com/mantlenetworkio/networks/blob/main/run-node-sepolia.md) * For those operators who have already deployed the Mantle Sepolia node, you can skip directly to this [section](#for-operators-who-have-already-deployed-nodes). {% endhint %} ## For Operators Who Deploy Nodes For the First Time[​](https://docs-v2.mantle.xyz/nodes/verifier-sepolia#for-operators-who-deploy-nodes-for-the-first-time) <a href="#for-operators-who-deploy-nodes-for-the-first-time" id="for-operators-who-deploy-nodes-for-the-first-time"></a> ### Prerequisites[​](https://docs-v2.mantle.xyz/nodes/verifier-sepolia#prerequisites) <a href="#prerequisites" id="prerequisites"></a> Ensure you have the following software installed: * [Git](https://www.git-scm.com/downloads) * [docker](https://docs.docker.com/engine/install/) * [node](https://nodejs.org/en/download/) * [foundry](https://github.com/foundry-rs/foundry/releases) * [zstd](https://github.com/facebook/zstd) * [aira2](https://aria2.github.io/) ### Hardware Recommendations[​](https://docs-v2.mantle.xyz/nodes/verifier-sepolia#hardware-recommendations) <a href="#hardware-recommendations" id="hardware-recommendations"></a> For optimal performance, it is recommended to have the following hardware specifications: * **RAM** - 16GB+ * **CPU** - 8C+ * **Storage** - 500GB+ disk(HDD works for now, SSD is better) * **Bandwidth** - 10mb/s+ download speed ### Operation Guide[​](https://docs-v2.mantle.xyz/nodes/verifier-sepolia#operation-guide) <a href="#operation-guide" id="operation-guide"></a> If you are a new operator who wants to deploy a Mantle Sepolia node, please follow the steps provided [**here**](https://github.com/mantlenetworkio/networks/blob/main/run-node-sepolia.md#installation-and-setup-instructions-for-new-user). ## For Operators Who Have Already Deployed Nodes[​](https://docs-v2.mantle.xyz/nodes/verifier-sepolia#for-operators-who-have-already-deployed-nodes) <a href="#for-operators-who-have-already-deployed-nodes" id="for-operators-who-have-already-deployed-nodes"></a> ### Operation Guide[​](https://docs-v2.mantle.xyz/nodes/verifier-sepolia#operation-guide-1) <a href="#operation-guide-1" id="operation-guide-1"></a> If you have previously deployed Mantle Sepolia nodes and need to complete this hardfork upgrade, you can follow the instructions [**here**](https://github.com/mantlenetworkio/networks/blob/main/run-node-sepolia.md#2025-07-5-upgrade-for-historical-user) for more detailed information. {% hint style="info" %} If you meet some data issues in the process, please try to restore from snapshot. You can refer to this [guide](https://github.com/mantlenetworkio/networks/blob/main/run-node-sepolia.md#restore-from-snapshot) {% endhint %} # Network Updates # Changelogs # Mantle v2 v1.6.3 - Elysium Upgrade This release introduces the **Elysium upgrade on Mantle Sepolia**, preparing Mantle’s rollup node, execution client, and cross-chain messaging components for Ethereum L1 Glamsterdam.The current rollout retains the existing **Arsia/Osaka L2 execution rules**. Amsterdam EVM behavior is not activated on Mantle L2 by this release.The Mantle Sepolia upgrade is scheduled for **Tue, 06 Oct 2026, 13:53:36 UTC**. {% hint style="danger" %} **🚧 All Mantle Sepolia node operators must upgrade both op-node and op-geth to v1.6.3 before the configured Ethereum Sepolia Glamsterdam activation point. 🚧** {% endhint %} ### What's New in v1.6.3 #### mantle-v2 * **L1 Glamsterdam compatibility:** Added support for L1 Amsterdam headers, Engine and Beacon API changes, Blob Parameter Only (BPO) schedules, and the new batch-submission calldata gas floor. * **Sequencer and preconfirmations:** Enabled eager next-block construction to reduce the interval between sealing one block and accepting transactions for the next. * **Cross-domain messenger:** Added L1 and L2 `CrossDomainMessenger 1.6.0` with Amsterdam-compatible relay gas budgets and safer handling of large messages. * **Contract deployment:** Added deployment and verification scripts for the updated cross-domain messengers. * **deps:** Updated op-geth to `v1.6.3`, based on upstream `go-ethereum v1.17.3`. * **build:** Updated Foundry to `v1.8.3` for Amsterdam-compatible contract builds. #### op-geth * **Upstream baseline:** Rebased on `go-ethereum v1.17.3`, retaining Mantle-specific BVM\_ETH, fee accounting, preconfirmation, deposit, and fork behavior. * **Elysium execution support:** Added support for the Mantle Elysium configuration, Amsterdam-compatible headers and payloads, and updated block assembly and forkchoice handling. * **Amsterdam compatibility framework:** Inherited upstream support for slot-number and block-access-list headers, Amsterdam gas accounting, EIP-7708 ETH transfer logs, EIP-7928 block access lists, and related Engine and networking changes. These capabilities do not activate Amsterdam EVM behavior on Mantle L2 in this rollout. * **Preconfirmation consistency:** Improved consistency across block size, timestamps, base fees, and next-block state. * **Pending transaction handling:** Included L1 and operator fees when evaluating pending transactions. * **`eth_simulateV1` fee calculation:** Added support for Mantle fee calculation. * **`eth_config` compatibility:** Fixed response handling for blobless OP Stack configurations and Amsterdam forks. * **Failed BVM\_ETH deposit accounting:** Corrected gas accounting across the gas pool, receipts, cumulative gas, and block headers. * **Deposit JSON encoding:** Fixed JSON encoding for deposit transactions. * **RPC schema:** Adopted the canonical `blockAccessListHash` JSON key for EIP-7928 block headers. **Internal Indexing Services** * **Compatibility:** Includes adaptations to Mantle’s internal indexing services to support the upgraded clients. <br> # Mantle v2 v1.5.4 - Arsia Upgrade This release activates the **Arsia upgrade on Mantle Mainnet** and includes audit-driven fixes on top of the v1.5.3 Sepolia release. Arsia is scheduled to activate on Mantle Mainnet at L2 block timestamp **1776841200** (Wednesday, **April 22, 2026, 07:00:00 UTC**). {% hint style="info" icon="triangle-exclamation" %} **🚧 All Mantle Mainnet node operators must upgrade to this release before the activation time. 🚧** {% endhint %} ### What's New in v1.5.4 (vs v1.5.3) #### mantle-v2 * **op-node:** Fixed `CheckL2Genesi
프로젝트로 돌아가기