Extracting Godl [sic] from the Salt Mines: Ethereum Miners Extracting Value

Julien Piet, Jaiden Fairoze, Nicholas WeaverarXiv 2022

Abstract

Cryptocurrency miners have great latitude in deciding which transactions they accept, including their own, and the order in which they accept them. Ethereum miners in particular use this flexibility to collect MEV—Miner Extractable Value—by structuring transactions to extract additional revenue. Ethereum also contains numerous bots that attempt to obtain MEV based on public-but-not-yet-confirmed transactions. Private relays shelter operations from these selfsame bots by directly submitting transactions to mining pools. In this work, we develop an algorithm to detect MEV exploitation present in previously mined blocks. We use our implementation of the detector to analyze MEV usage and profit redistribution, finding that miners make the lion's share of the profits, rather than independent users of the private relays. More specifically, (i) 73% of private transactions hide trading activity or re-distribute miner rewards, and 87.6% of MEV collection is accomplished with privately submitted transactions, (ii) our algorithm finds more than $6M worth of MEV profit in a period of 12 days, two thirds of which go directly to miners, and (iii) MEV represents 9.2% of miners' profit from transaction fees. Furthermore, in those 12 days, we also identify four blocks that contain enough MEV profits to make time-bandit forking attacks economically viable for large miners, undermining the security and stability of Ethereum as a whole.

Introduction: The Mechanics of MEV

In the decentralized landscape of Ethereum, transaction ordering is not a neutral process. Miners possess the absolute authority to determine which transactions are included in a block and the sequence in which they appear. This power gives rise to Miner Extractable Value (MEV)—the profit a miner can extract through the strategic insertion, reordering, or censoring of transactions. While initially the domain of public "bots" engaged in gas wars, the emergence of private relays like Flashbots has moved much of this activity off-chain. This research investigates the current state of MEV, questioning whether these private channels have democratized profit or merely consolidated power among miners.

Data Collection and Methodology

To analyze MEV exploitation, the researchers employed a two-pronged empirical approach. First, they modified a go-ethereum (Geth) node to monitor the public mempool—the "waiting room" for transactions. By comparing mempool data with the transactions actually recorded in mined blocks, they could identify private transactions sent directly to miners.

Mempool transaction overlap across multiple provider nodes.

To ensure a high degree of accuracy, data was aggregated from three global public nodes (Alchemy, Infura, and Rivet) alongside a local node. As shown in the overlap analysis, this multi-source approach allowed for a 99.9% capture rate of public transactions, providing a robust baseline for identifying "dark" or private activity.

Second, the team developed a novel graph-based MEV detector. By modeling token transfers as a directed graph, the algorithm identifies complex cycles representing arbitrage, frontrunning, and sandwich attacks. Unlike simpler tools, this detector accounts for "leftover capacity" in liquidity pools, enabling a more precise calculation of maximum extracted profit.

Key Findings: The Dominance of Miners

The analysis of a 12-day window in February 2022 revealed that MEV is increasingly a "miner's game." Despite the stated goals of private relays to democratize MEV, miners have captured the lion's share of the value.

  • Profit Totals: The detector identified over $6 million in MEV profit within the short 12-day study period.
  • Miner Capture: Miners were found to capture 66% of all MEV-related profits, outperforming independent bots.
  • The Rise of Dark Venues: A staggering 87.6% of MEV collection is now accomplished through privately submitted transactions. This shift toward "dark" activity reduces transparency for regular users and complicates gas price prediction.
  • Revenue Impact: MEV is no longer a marginal bonus; it represents 9.2% of miners' total transaction fee profits and nearly 23% of their income from DeFi-related transactions.

Systemic Risks: The Time-Bandit Threat

One of the most concerning findings involves the stability of the Ethereum network itself. When MEV profits in a single block are sufficiently high, miners are incentivized to perform "time-bandit" attacks—rewriting the chain's history to capture that value for themselves.

Visualization of blockchain forks and potential reorganization paths.

The study identified four specific blocks where the MEV was high enough to make such an attack economically viable for any miner controlling more than 10% of the network's hash rate. This indicates that the theoretical risk of chain instability due to MEV is now a practical reality.

Conclusion and Future Outlook

The transition of Ethereum to Proof-of-Stake (PoS) changes the actors from "miners" to "validators," but the underlying incentives for transaction reordering remain. The findings suggest that private relays have not solved the centralization of MEV; instead, they have provided a more efficient channel for miners to consolidate their lead. The authors suggest that protocol-level changes, such as randomized transaction ordering, may be necessary to preserve the long-term security and fairness of the blockchain.

Summary updated

BibTeX
@misc{piet2022extracting,
  author = {Julien Piet and Jaiden Fairoze and Nicholas Weaver},
  title = {{Extracting Godl [sic] from the Salt Mines: Ethereum Miners Extracting Value}},
  year = {2022},
  eprint = {2203.15930},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.15930},
}
Figure