Optimism introduces main updates to Fault Proofs, affecting withdrawal processes for bridges and exchanges on OP Mainnet and OP Sepolia.
Optimism (OP), a number one Layer 2 scaling answer for Ethereum, is ready to implement important breaking modifications to its Fault Proof system, which can immediately have an effect on bridges, centralized exchanges, and customized options that deal with withdrawals. This improvement is essential for stakeholders throughout the Optimism ecosystem, as they need to adapt their techniques to align with the brand new withdrawal verification course of.
Overview of the Fault Proof System Replace
The improve introduces a shift from the L2OutputOracle to a brand new system comprising the OptimismPortal and DisputeGameFactory. The L2OutputOracle, beforehand important for the Proposer function in storing L2 state output proposals, shall be fully eliminated. Instead, builders might want to use the rootClaim of a dispute sport to show withdrawals throughout step one of the two-step withdrawal course of.
The OptimismPortal contract will expertise minor modifications because it now references the DisputeGameFactory contract as a substitute of the L2OutputOracle. Builders should now seek for latest DisputeGame contracts with the suitable sport kind by way of the OptimismPortal to show withdrawals. This shift enhances the safety and decentralization of the withdrawal course of however requires builders to replace their consumer code accordingly.
Impression on Bridges and Centralized Exchanges
The transition to Fault Proofs necessitates updates within the logic for dealing with withdrawals. Most groups leveraging the Optimism SDK or Viem might want to replace their software program variations previous to the Sepolia launch. The Optimism SDK, as an illustration, requires an improve to model 3.2.0 or greater, which maintains API compatibility and integrates the brand new logic routinely as soon as the Fault Proof improve is detected.
For these utilizing Viem, the newest model breaks the API, necessitating the usage of an experimental decorator supporting fault proofs. Upon fault proofs being mainstreamed on the Mainnet, a swap to the secure API shall be really helpful.
Monitoring System Modifications
The Withdrawal Monitor and Dispute Monitor companies have undergone updates to accommodate the brand new fault proof system. The Withdrawal Monitor service, essential for the two-step withdrawal system, has turn into barely slower at startup however extra dependable and appropriate with a broader vary of infrastructure. It stays absolutely backward appropriate with present techniques.
The Dispute Monitor service, then again, will substitute the present Fault Monitor to detect invalid output proposals. Groups presently working the Fault Monitor might want to swap to the brand new service and replace their alerting techniques to remain in compliance with the brand new improve.
Subsequent Steps for Builders and Operators
Builders and operators throughout the Optimism community are suggested to familiarize themselves with the upcoming modifications by reviewing the detailed documentation offered by Optimism. This contains understanding the three major elements of the Fault Proof System—Cannon FPVM and Mips.sol—and making ready their techniques for the transition.
The Fault Proof updates are scheduled to launch on the testnet on March 19, 2024. It’s essential for all events concerned to organize their techniques prematurely to make sure seamless integration with the brand new protocol and keep away from any disruptions to their operations.
Optimism continues to offer developer assist for these experiencing difficulties through the transition. The proactive engagement and detailed documentation mirror Optimism’s dedication to sustaining a sturdy and developer-friendly ecosystem.
Picture supply: Shutterstock