- We describe the L2 MEV mechanism for a Based Rollup. MEV naturally partially flows to Ethereum, strengthening L1 economic security and allowing searchers to extract cross-domain MEV.
Special thanks to Justin Drake, Mike Neuder, and Toni Wahrstätter for great chat, valuable insights and review, and to Matthew Finestone and Brecht Devos for review, feedback, and discussions.
A Based Rollup “outsources” sequencing to L1, inheriting the liveness guarantees of L1, the decentralization of the L1, and naturally reusing L1 searcher-builder-proposer infrastructure.
Disclaimer: this approach was first described in Vitalik’s article as a “Total Anarchy” rollup in early 2021, and in March 2023 Justin Drake wrote how this could work in practice with “Based Rollups”.
- Taiko is an Ethereum-equivalent (Type 1) ZK-EVM. That is, it makes no changes to the Ethereum spec;
- Both builders and provers are permissionless: anyone can start and stop running a proposing and proving node whenever they wish;
- Builder determines the transaction order in the L2 block and submits a transaction directly to Ethereum. The order of blocks on Ethereum (L1) is determined by the Ethereum node building that block;
- A block is finalized after it was successfully proposed. The prover has no impact on how the block is executed and what the post-block state is;
- L2 searchers collect L2 transactions into bundles and send them to L2 block builders;
- L2 block builders take these bundles and build a block. L2 block builders can run the mev-boost that L1 builders use;
- L2 block builder can also be an L1 searcher and include L2 blocks into L1 bundles on its own;
- L1 builders will include L2 blocks into their L1 blocks as long as there is at least a tiny of piece of MEV in this block (and the gas limit is not reached). And as long as there are any DEXs deployed on L2, there always will be some MEV additionally to transaction fees;
- Blocks from L2 go to L1 through Private Order Flow. Otherwise, MEV might be stolen;
- If a searcher monitors the Ethereum mempool, the Based Rollup mempool, and the state of both chains, it can build bundles with cross-chain Based Rollup <> Ethereum MEV. Cross-chain MEV can also be extracted between Based Rollups (e.g. between two Taiko L2s).
The same structure works for L3, L4, etc. Based Rollup can be seamlessly deployed on a Based Rollup multiple times (scaling both vertically and horizontally).
In this case, each layer will have a mempool with searchers and builders (that can run mev-boost). And the block from layer n will land in the mempool on layer n - 1.
Given that the L2 MEV design area is pretty new, we research and experiment with various design options and appreciate any feedback and questions about our current solution. Please join our research, and share ideas and feedback about the L2 MEV area, Based Rollups MEV mechanics, and anything related.