Skip to content

Ethereum MEV

Ethereum: the best tooling, the worst concentration

Ethereum's MEV is the most refined machine in the industry and one of the least fair markets around. Both are true at once, and they are not in tension.

Read it as the reference implementation. Every part here has a counterpart elsewhere — some were taken apart, some were replaced with homegrown versions.

The pipeline: where the money is made

The full stack is broken down layer by layer in the supply chain. This is a locating table, so you do not have to hunt across six pages for where the money appears.

Layer What it does Where the money comes from Read
Wallet / RPC Decides which pool your transaction reaches first Earns nothing; decides whether you get sandwiched Order flows
Mempool Staging area: a public pool plus several private ones Your transaction becomes someone else's signal Mempool
Searcher Scans, simulates, bundles, bids Extracted value minus the bid Strategy taxonomy
Builder Takes bundles, orders them, assembles the block, bids for it Total tips minus the proposer bid — the ordering spread Block builders
Relay Validates the block, holds the body, forwards only the header Mostly free, in exchange for block share Relays
Proposer Asks for bids, signs the header The block bid PBS
Blob market Auctions data space to rollups Blob fees, priced separately from execution Protocol upgrades

From the Merge on 2022-09-15 to now, MEV-Boost adoption is effectively saturated. The pipe runs fine. Every open problem is about how power sits inside it.

The fee market: EIP-1559 and after Pectra

London on 2021-08-05 (block 12965000) split fees in two: base_fee, which is entirely burned, and priority_fee, the tip that goes to the builder.

The adjustment is per-block feedback: below target, base_fee drops 12.5%; above target, it rises 12.5%. The target is a constant fraction, so the chain settles back near the same container size when demand swings.

Text Only
effective_priority_fee = min(max_fee - base_fee, max_fee)

Pectra (mainnet 2025-05-07) moved the target from 15M to 36M gas, with a 72M maximum.

One consequence deserves its own line: the zero-gas transaction died. Before London, some DEXs took the miner fee out of the transferred tokens and used it as frontrunning protection. After London every transaction pays a real gas price, and that free lunch was gone. Details in EIP-1559.

Block-size manipulation is a real derivative risk

A builder has an incentive to pad or truncate a block to push the next block's base_fee up or down. Anyone holding blockspace derivatives for a given date should care about that, rather than only about the gas price curve.

Blobs split MEV into two markets

Dencun shipped EIP-4844 on 2024-03-13, the biggest structural change to MEV since the Merge.

Before: rollup data had to be written as calldata inside an Ethereum block, competing for the same gas market as user transactions. A rollup and a user were bidding for the same container.

After: blobs are a separate data market. They are cheap, transient (pruned after roughly 18 days), excluded from persistent state, and demanded by rollup batch timing rather than by users.

The result is that execution-layer MEV and data-availability MEV became two markets with completely different volatility profiles:

Execution-layer MEV Blob MEV
Demand source User transactions, arbitrage, liquidations Rollup batch submission timing
Pricing Base fee plus tips A separate blob fee market, converging per block toward a target
What moves it On-chain congestion, hot tokens When a rollup decides to submit a big batch
Counterparties Searchers Rollup sequencers and blob-market bidders

Builders now run a spread between the two: is this container worth more filled with user transactions, or with blobs? Blob fees became the most volatile component of builder revenue.

Protocol upgrades covers the Pectra and Fusaka blob target changes and FOCIL in more detail.

The EVM facts a searcher actually needs

Most MEV writing skips this. The people who skip it write bots that lose money on every small opportunity, because they never counted what they burned.

The price list

Operation Cold Warm
SLOAD 2100 100
SSTORE (zero → non-zero) 22100 —
BALANCE / EXTCODESIZE / EXTCODECOPY 2600 100
Plain transfer 21000 intrinsic —

The cold/warm split came from EIP-2929 (Berlin, 2021-04-15). It raised gas hard and in the same breath produced access lists: EIP-2930 lets you declare up front which slots and addresses a transaction will touch, turning cold access warm. Pre-warming is real money, not a micro-optimisation.

Cancun changed some old arithmetic

Two things in older tutorials will actively hurt you:

  • EIP-3529 cut the gas refund cap hard. Any strategy whose profit math depends on refunds has to be recomputed.
  • EIP-6780 (Cancun, 2024-03-13) changed SELFDESTRUCT: only contracts created in the same transaction are deleted; the rest keep their code. EIP-3541 belongs to London (2021) and rejects new bytecode starting with 0xEF.

Check the fork date before reading any gas-optimisation guide. Plenty of 2021 code no longer runs.

Memory and calldata

Solidity memory expansion is quadratic: \(cost = 3w + \frac{w^2}{512}\) for \(w\) words of 32 bytes. Push a large array into memory and the second half of the curve starts to bite.

Calldata is far cheaper: 16 gas per non-zero byte, 4 per zero byte. So the standard EVM cost trick is to move work out of computation and into calldata.

There is a Pectra-era catch: EIP-7623 raised the calldata floor price, charging a flat floor on total calldata volume. It hurts calldata-heavy, compute-light transactions more. Stop assuming calldata is free in bundle design.

Why any of this matters for MEV

A typical liquidation runs 100k–250k gas. At 30 gwei base fee plus a tip, the gas bill alone is a meaningful slice of a small liquidation's profit, and sometimes larger than it.

That is a direct explanation for two things that keep winning:

  • Dutch-style liquidations (Euler's design, where the discount scales with how bad the account is) turn a gas war into a race, because gas is no longer the only thing competing.
  • Backrunning an oracle update does not need to front anything, so it can bid gas gently.

All-out gas wars only pay when the prize is big enough. Everything smaller needs the cheaper-gas discipline in longtails.

Account abstraction: a new chokepoint

ERC-4337 hands UserOperations to a bundler that aggregates them. The problem: the bundler sees the entire UserOperation stream and decides the order itself.

That makes a bundler a MEV chokepoint on a par with a builder, and a far less audited one. The design has existed since 2020 and has not been treated with anything like the same seriousness.

Pectra's ERC-7702 lets an EOA act as a smart account by delegating code, which brings AA ergonomics to ordinary wallets. The benefit is obvious. The cost is that "the wallet is upgradeable code" becomes the default, widening the phishing surface and the MEV surface at the same time.

Details in account abstraction.

The state of it in 2025-2026

  • PBS is universal. Whether to adopt it stopped being the question years ago.
  • The builder and relay markets are concentrated. A handful of builders take most block assembly share, and relays are concentrated too. Censorship resistance and "whoever has the most order flow gets the block" pull in opposite directions.
  • The public mempool is largely drained. Large swaps travel over private channels and what is left in the public pool is mostly noise. The classic sandwich attack surface is shrinking.
  • The governance fight moved from ePBS to FOCIL. Through 2025 the centre of gravity shifted from ePBS toward forced inclusion lists (EIP-7547 / EIP-7805) — both attempts to make "the proposer should not see the contents" a workable constraint.
  • Intents and solver networks became the retail entry point. CoW Protocol, UniswapX and 1inch Fusion pull users out of AMMs, and the MEV contest moved with them into solver bidding.

Bluntly: the most sophisticated MEV tooling in the industry, attached to one of the worst concentration problems, both produced by the same infrastructure. Better tooling means a bigger payoff for whoever is concentrated.

Further reading

  • MEV-Boost repository — what the proposer actually runs; the source beats the docs.
  • Execution specs — the specs are the truth. Confirm a gas number here, not in a blog post.
  • mevboost.pics — a live board for builder and relay share, which is where the governance arguments actually get settled.
  • MEV-Boost docs — PBS implementation details; the API contract has changed more than once, so check the version.
  • Protocol upgrades — the Pectra, Fusaka, blob target and FOCIL timeline.