The Subtle Relationship Between MEV-Boost and Ethereum PoS Consensus Mechanism

robot
Abstract generation in progress

Exploring the Relationship Between MEV-Boost and Ethereum's Consensus Mechanism

On April 2, a malicious attacker exploited a vulnerability in a certain relay platform to steal 20 million dollars. In the following days, developers released multiple patches to fix the issue, but combined with network latency and validator strategies, it resulted in a brief instability in the Ethereum network on April 6. Chain reorganization can reduce block production rates and settlement guarantees, which is detrimental to network health.

This article aims to explore the interaction between MEV-Boost and the Consensus Mechanism, revealing some subtleties in Ethereum's proof of stake, and listing possible directions for improvement.

Introduction to MEV-Boost

MEV-Boost is a protocol designed to mitigate the negative impact of Maximum Extractable Value ( MEV ) on the Ethereum network. It includes three roles:

  • Relay: A trusted intermediary that connects proposers and block builders.
  • Builder: A complex entity that constructs blocks to maximize MEV.
  • Proposer: Ethereum PoS Validator

The general process of MEV-Boost is: builders create blocks and submit them to relays; relays verify the blocks and calculate the payment amount; proposers choose the highest bid and sign; relays publish the blocks and distribute rewards.

MEV-Boost is an important infrastructure because it allows all proposers to fairly access MEV without establishing a trust relationship with builders, which is beneficial for the long-term decentralization of Ethereum.

Paradigm: Exploring the relationship between MEV-Boost and Ethereum Consensus Mechanism

Ethereum's fork choice rule

The fork choice rule determines how the network reaches consensus on the chain head. Its relationship with time has a significant impact on block production.

Ethereum PoS divides time into 12-second slots. In each slot, a validator is randomly designated as the proposer, while other validators vote to support the chain head. Each slot is divided into three 4-second phases, with the proof cutoff time at t=4 seconds being the most critical.

From a network health perspective, the optimal block release time is t=0. However, since the value of the block increases over time, proposers are incentivized to delay the release to capture more MEV.

To encourage timely releases, the "proposer boost" and "honest restructuring" mechanisms have been introduced:

  • Proposer Boost: Grants the proposer a fork choice boost equivalent to 40% of the proof weight, lasting for one slot.
  • Honest Restructuring: Allows honest proposers to force the restructuring of blocks with proof weights below 20%.

Paradigm: Exploring the relationship between MEV-Boost and Ethereum Consensus Mechanism

Repair of Relay and Beacon Nodes

After the attack on April 2, the relay and core development teams released multiple patches:

  1. The relay checks for malicious proposers, whether the block has been published, and introduces random delays.
  2. The beacon node verifies the validity of the block and checks if there are equivalent blocks on the network.

These changes have increased the delay in block publishing, which may result in blocks being broadcast after the proof deadline. Combined with honest reorganization, this has led to a sharp increase in the number of forked blocks.

Paradigm: Exploring the Relationship Between MEV-Boost and Ethereum Consensus Mechanism

Future Direction

In light of this, the research community should assess the "acceptable" number of reorganizations and consider the risks of equivalent attacks. Some possible directions for improvement include:

  • Implement "headlock" to prevent equivalence attacks
  • Increase MEV-Boost vulnerability bounty
  • Expand simulation software research sub-slot timing
  • Optimize relay block publishing path
  • Incorporate MEV-Boost into the Consensus Client (ePBS)
  • Add more test cases
  • Encourage diversity of relay clients
  • Adjust equivalent penalty measures

Overall, split attacks have helped us better understand the relationship between latency, MEV-Boost, and the Consensus Mechanism. We hope this will promote the continuous strengthening of the protocol.

Paradigm: Exploring the Relationship Between MEV-Boost and Ethereum Consensus Mechanism

ETH0.51%
View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 7
  • Repost
  • Share
Comment
0/400
LazyDevMinervip
· 13h ago
This is probably what the legendary large-scale Be Played for Suckers scene looks like.
View OriginalReply0
SandwichTradervip
· 13h ago
Just roll it up and it's done. The loopholes can't withstand greed. It's another history of suckers' blood and tears.
View OriginalReply0
ser_ngmivip
· 13h ago
Another person has been played for suckers. A mere 20 million is just a small matter.
View OriginalReply0
governance_ghostvip
· 13h ago
It's a bit outrageous, this time 20 million was taken away.
View OriginalReply0
JustAnotherWalletvip
· 13h ago
Ethereum is not that simple, bro.
View OriginalReply0
ProbablyNothingvip
· 13h ago
Another wave of vulnerabilities has been exploited. Let's see who still dares to say POS is safe.
View OriginalReply0
DeFiCaffeinatorvip
· 13h ago
If I had known it was stolen 20 million earlier, I would have run.
View OriginalReply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate app
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)