The development of Mantle v1 began in late 2022, utilizing the OVM codebase, and predated the introduction of the OP Stack. It brought forth a novel concept of modularity, presenting diverse solutions across various system components. This modular approach aimed to offer flexibility and adaptability within the ecosystem.
However, with the release of OP Stack, Mantle chose to upgrade its network to a version based on the OP Stack Bedrock in order to better embrace the OP Stack ecosystem and lower the threshold of composability and interoperability.
Enhancements in Mantle v2 Compared to Mantle v1
EIP-1559 was not supported in Mantle v1 and is supported in Mantle v2. By introducing EIP-1559, Mantle v2 gains more efficient transaction fee price auctions while stabilizing block utilization and enhancing network security. For more details, please check here.
Removal of Redundant Components
Mantle v2 has eliminated redundant components such as the Data Transport Layer and Threshold Signature Scheme, which were present in Mantle v1. These removals were made possible by the existence of similar functionalities in the new OP Stack architecture. For more details, please check here.
Stable Block Time
In the design of Mantle v1, the block generation of layer 2 (L2) is transaction-dependent, and each block contains only one transaction, which causes the block time generated by L2 to become variable. In Mantle v2, the block generation of L2 is transaction-independent, and has a fixed time (2s) to generate blocks, so each block will contain multiple transactions.
Block State Tagging
Due to the change in the way blocks are generated, Mantle v2 adopts the same tagging of blocks and block header states as OP Stack-based chains, including
Distinctions between Mantle v2 and OP Stack Bedrock
Independent Data Availability (DA)
To mitigate high transaction fees associated with using Ethereum as the DA layer and considering the ongoing development of EIP-4844, Mantle v2 adopts Mantle DA, powered by EigenLayer's EigenDA technology. This significantly reduces transaction fees while making minimal compromises on security guarantees. For more details, please check here.
Migration of Native Tokens in L2
In Mantle v2, we introduce a highly anticipated feature — the migration of native tokens in L2. In Mantle v2, the flow of MNT tokens in L2 will no longer use the ERC-20 contract. Instead, MNT native tokens are the same first-class citizen as ETH in other L2 solutions, $MNT will work as the gas fee in the Mantle L2. For more details, please check here.
To enhance user experience and reduce user onboarding barriers, Mantle v2 introduces Meta Transaction to facilitate the payment of transaction fees on behalf of users. The combination of on-chain contracts and off-chain services allows users to specify the sponsor and the percentage of payment to be made, thus lowering the barrier for users. For more details, please check here.
Fee Optimization Strategy
Mantle v2 implements a fee optimization strategy using the tokenRatio parameter to adjust the impact of using $MNT as transaction fees. For more details, please check here.