EIP-8099 · Draft · Core · 2025-09-25
EIP-8099: MEVless Protocol
A proposal to stop sandwich attacks and front-running by having the chain order transactions by their hashes first, and only reveal and execute their contents in the following block.
What problem does it solve?
Maximal Extractable Value (MEV) attacks such as sandwiching and front-running all rely on one thing: whoever orders the transactions in a block can read them first. If a block producer sees a large swap in the mempool, it can place its own trade before and after it and pocket the price movement.
Existing mitigations each have a catch, according to the author: encrypted mempools add encryption/decryption overhead, private mempools rely on trusted operators, and proposer-builder separation still lets builders see transaction content. MEVless tries to remove the prerequisite itself: the party that fixes the order should never see what it is ordering.
How it works
Block production is split into two alternating phases:
- Sequencing blocks (odd heights). Users submit only the hash of their transaction plus a prepayment: a fixed base fee for storing and sequencing the hash, plus an optional tip. The network checks the sender can pay, deducts the prepayment, sorts the hashes by prepayment (highest first) and publishes that order as a commitment. The spec allows sequencing blocks to come at shorter intervals than execution blocks.
- Execution blocks (even heights). Users watch for their hash in the committed sequence, then submit the full transaction (with the remaining gas fee). The network checks the content matches the committed hash and executes everything in the already-fixed order.
To stop someone from reserving a huge gas limit and effectively claiming a whole block, the remaining fee is charged together with a "tax" of 50 % of the gap between gasLimit and gasUsed.
The design leans on unpredictable block producer selection. If a producer knew it would build the next block, it could submit hashes speculatively, see other users' revealed contents, and only reveal its own transactions when profitable, recovering the prepayment through its own fees. Random selection makes those prepayments a real cost.
Sample code
The spec proposes two new JSON-RPC methods. Their exact parameters are not defined, so this is an illustrative flow only:
import { JsonRpcProvider, Wallet, keccak256 } from "ethers";
const provider = new JsonRpcProvider(process.env.RPC_URL);
const wallet = new Wallet(process.env.PRIVATE_KEY!, provider);
// 1. Sign the transaction locally, but only publish its hash + prepayment
const signed = await wallet.signTransaction(await wallet.populateTransaction(myTx));
const txHash = keccak256(signed);
await provider.send("eth_sendTxHash", [txHash /*, prepayment params (unspecified) */]);
// 2. Wait until the hash appears in the committed sequence
const seq: string[] = await provider.send("eth_getTxSequence", []);
if (seq.includes(txHash)) {
// 3. Reveal the full transaction for the execution block
await provider.broadcastTransaction(signed);
}
Things to know
- Status: Draft. This is an early proposal; it is not scheduled for any Ethereum upgrade and its details may change substantially.
- The spec is high level: fee amounts, the exact commitment format, what happens to unrevealed hashes, and the RPC parameters are not pinned down.
- It assumes a consensus mechanism with unpredictable block producers. Ethereum's proposer schedule is known in advance within an epoch, so this assumption deserves scrutiny.
- Ordering by prepayment is still a priority auction; it hides content, not the existence or bid of a transaction.
- For a different approach to hiding transaction contents until ordering is fixed, see the encrypted mempool proposal EIP-8184.