Phil Daian, Devcon 2022  (summary | video)

This is the abridged transcript adapted from Phil Daian’s talk on Oct 14, 2022 at Devcon VI in Bogota, Colombia.

https://lh5.googleusercontent.com/pGH6LIkHIENnpstzjT-fa1g62iSeHL_FQbxnUcDYAqqndGEanPyDWTZJ2PCkSmnpVDdev3Cg43Z9-hXF-MPvWpr_ajbrXWiT9m2QVccy1ynotT04BpM3FvNbKp5lbxkU3AaEPgemTWwzdtJTx7wBaX0urdm2bY5ypQ__MQAi7ybScUY53M6S5PiIwG549g

Today, I’m going to be taking you on a tour through my journey over the last three years.

I’m going to talk about Flashbots and the choices we’ve made as a collective, how they relate to the base layer of Ethereum security and fairness for users. What is Flashbots doing? How can we all do it together with the community, to build these systems for the next trillion?

Where did MEV come from?

The long game of MEV

https://lh6.googleusercontent.com/VmHlQcfPdNyFh1JI9PigJg-18gNytc1wPrmMIQfUSObgsRI7anpwW7eQxiVSmkKK4TiRUM9pZzRsBjSq1huxiHvX6oVHHnPzE0lnifMMsrIQZS1FMkSoM6O88J88ZJdaGt-A1u__oeFvsIImdf2snjWBdpe3EpcGJxoBKzCtPddy2Exx3qbrJt_XHHVzuQ

This all started for me with an academic paper I wrote at Cornell called Flash Boys 2.0: Frontrunning, Transaction Reordering, and Consensus Instability in Decentralized Exchanges, where we looked at the market dynamics of several decentralized exchanges that were popular at the time around 2018 and 2019. We looked into the game that bots were playing to arbitrage decentralized exchanges. We examined how that related to user fairness and consensus security using extensive measurement infrastructure.

https://lh4.googleusercontent.com/0Z83fWlvpgyZr8VB2RJQ2ZuXGYM_qXJUVWScXjoZE7ZMvI78UpeHdZGP8-CIAQKkSGe0H-qP2WqivW2CY8lVG80uUFob1w2nhPJlhKgLmSoiLTuCDou9rKBOpgm3mrfp0QqJv7tqEH0pzYEHmgw05Xb8zjj7vx3yBEBSfplPrELKUOuqw74r4I_BCiBjbg

https://lh4.googleusercontent.com/A-no13OuheYrrx_stzRf8oqzorE6y1h1GsYuNExL55VZnm9XKuPMXjI3bzYBSZbwIUSqL8DTFGwLN7cgiOUuBafXhQ5T0L08xQNl3t9JaF_zlByX_lVKtUhHHLy2D1FxYCekVFEcQ4XTXBjfwctWaYo2DMRieRcUBTx8QnGr5MwWQ9rLCpRwK3xr5ba_Tw

https://lh3.googleusercontent.com/w6Y4Z6gcB9gXFuWYFWDw4IyniwoMS34GSCV-GODErv4EidTf3q5VetoZZdTVd9nJe06GfXPeIQDwUy8B141fgiYjPwGrUatYAEATWEubEkid5lmjmtUz1V0Yem8iScJyYP6H0DyKbli5XxgC_ECrAU1Rg0odrCvVnQp0XbskCTepIVLEm0t1zBff0rvcwQ

In this paper, we defined MEV, short for Miner Extractable Value (or Maximal Extractable Value today), as the total amount that Ethereum miners (or validators today) can extract from manipulation of transactions within a given time frame, which may include multiple blocks worth of transactions. We identified ordering optimization fees (OOF) as representing one case of MEV.

On the one hand, MEV is fundamental, like financial potential energy that runs through every any distributed systems secured by economic incentives. On the other hand, it poses concrete, measurable, consensus-layer security risks. In the paper, we demonstrated empirically that MEV poses a realistic threat to Ethereum.

https://lh6.googleusercontent.com/lwJikANpGpz67KfwxYvgWJhKStql_VI-R5e6iqWwZ7gErA6pC6JrnMZ1MaqYREvp_EAJXSzt_S7AFwD8D7FNO86mxvXBNn1YC4wPCkyihiWy6mYrlapxR4_o1BMJpNsFHKJp5z3V1AZD5QIB3kR58t1aC1DZbV7LgfPY2txfNn6irvjFBsQ4iDRRoXdqQQ