State of Ethereum censorship-resistance - Mikhail Gurevich (Lido)

ETHMilan 2024 · 22 Oct 2024 · 13:28

Mikhail Gurevich, a Lido DAO contributor on the analytics stream, asks how censorship-resistant Ethereum really is. The talk defines an act of censorship, explains why OFAC-compliant MEV-Boost relays and builders exist, and compares relay blocks with vanilla blocks. It presents monitoring data showing censorship latency of around 20 seconds, models a doomsday scenario where every relay censors, and shows how a minimum bid setting could restore latency. It closes with pointers to inclusion lists and multiple proposers.

Speakers

Topics

From ETHMilan 2024, hosted by ETH Milan.

Transcript

thank you uh so today we will speak about the state of ethereum sensorship resistance uh firstly let me introduce myself I am m gravich a light da contributor in analytics stream uh we'll talk today uh we'll start from the some definitions that will help us to talk about the tensor ship then we'll look uh into the current state of censorship in ethereum and why we might need a slightly different approach to that then we'll revisit the current state from the different angle and then we'll talk about what should we do next in relation with this tender ship situation in

ethereum uh so Lio uh Lio is a nonchain middleware that connects stakers with node operators and it is governed by light Dow uh now more than 9.7 million of ethereum is staked through Li middleware uh now let's talk about the definitions which we need to discuss censorship uh what the difference between validators and not operators validators is an oh the slide is somewhat broken here but okay uh the validator is an virtual entity uh which participates in the ethereum protocols

consensus and basically uh each validator is is a set of services or clients which run on some Hardware not operators uh on the other hand is an entity which provides a secure uh infrastructure for running these services and they ensure that protocol run smoothly and that uh users assets are safe uh so yeah the sl's really broken uh let's now Define the Act of censorship so what is the act of sensorship let's say we have a transaction that uh have uh has enough gas fee in it uh a proper gas limit and

uh it doesn't contradict the protocol rules and there is enough block space right now to include it into the next block but for some reason it's not included we would call uh this an act of tensor ship and uh this definition doesn't cover 100% cases so there are some cases in which it's not accurate but we're fine with that for now uh usually censorship is not economically profitable so uh why does it exist actually there are several reasons why it exist uh the first and the major one is compliance and risk reductions so uh some actors uh must comply with the governance regulation so like uh uh

office of foreign assets control lists uh and other things uh some actors choose to comply as a precaution but it needed to be stated here that there is no regulation that uh uh mandates that omitting such transactions would uh make you compliant so uh it's an unconfirmed interpretation of the current regulations uh this was the major one of one one cause of tenders ship the uh two other reasons uh are more rare and the first one of them is economically profitable so sometimes uh it's more profitable to include a uh bundle of transactions than to uh than

like the sum of individual profit from them and ethics or beliefs uh this mean that some actors could believe that uh not all activities should be allowed on chain and they could imply censorship uh now let's uh talk about how the blocks are actually produced so there are several actors in this process like block Builders proposers and M relays uh the first path is uh to produce a block through the EM boost relays uh m is a maximum uh extractable value uh this refers to the profit that can be extracted by block proposer from

uh building a block and uh uh block Builders are searching for the best possible block at every time then uh these blocks are distributed Mia via M boost software like M boo software use is used for finding these blocks and M boost relays uh they acts as an intermediary between uh block Builders and block proposers so basically block proposal could uh sell the blog space to the block Builders uh this path could imply censorship because M relays uh select the block

Builders uh to search for the block and these block Builders could imply censorship uh the next one is vanilla blocks uh vanilla blocks are the blocks being built by uh block proposers solely based on the priority fees and available blocks space uh this approach does not imply any censorship there is uh another possible uh path which is custom execution later clients but in reality it's very very very rare uh but I'll me mention it because it could exist uh right now we have around 91% of blocks being produced by IM relays and 9% of vanilla

blocks uh we had done with definitions now let's look uh at the current state of censorship uh here is a screenshot from a popular service meat. info and uh as we can see here around 60% of currently created blocks are built by IM relays which impose ofac uh based sensorship the infographics looks very red and somewhat alarming but uh what does it really mean for us uh I want to state that these two statements are not equal so a block made by ofac uh by a relay which implies ofc based uh

censorship is not equal to a block in which an act of censorship has occurred that's because not every block is being built in a time where we have a potential lary transaction in a memory pool uh that's why two years ago uh Li ecosystem Grant organization uh issued an request for proposals in order to build a service uh monitoring tool uh to understand the censorship better so the main idea was to understand censorship from the user perspective uh like what would be the latency of a PO potential at sensor transaction if a user triy to make it uh before becoming a Lia contributor

I was a part of the team neutrality watch and we created uh this service so we gathered uh data and we buil a machine learning classifier which uh predicted for each transaction in the memory pool whether it should be included into the next block uh at any given point of time and this allows us to calculate the latency sensorship latency for each transaction and uh on the right you can see that graph and it shows us that this latency was fluctua around 20 seconds for last six months uh let's reflect on this result

so first of all uh social pressure in ethereum works really good and prevents censorship so this mean that that's because like we see that uh it's less than 24 seconds for a transaction to be processed and it's just two blocks and despite as we can as we saw despite the almost half of M boost relays were imposing censorship it's just two blocks so uh is it enough uh actually I don't know some people can say that uh two blocks is relatively small latency for some of you uh any amount of tensor ship could be alarming uh so it's it's an open

question uh for me I would say that uh it's not bad could be better but but still what should we do next uh we should continue to monitor the state of censorship even if we believe that current sitation is okay and now I suggest we're talking about some doomsday scenario let's imagine that uh at some point of time all M relays become sensoring relays and that uh node operators uh in general doesn't change uh their approach we still uh remember that we have 9% of vanilla

blocks and that's why there would be no full censorship in this case but the latency would Skyrocket to 130 seconds what could be uh what what can we do to recover from this station uh there is a parameter in Mev boost software called uh minimum beat and it is set by the node operator uh it defines the threshold and then like for for each block uh if the MV of current block exceeds this threshold then uh validator will use the block proposed by relay even if it implies censorship while if the IM for the block

is less than this threshold the validator would uh build block a vanilla block uh by himself so no censorship in this case case we uh we are now talking about the really extreme scenario and let's make another assumption on top of it what would be if L da would vote for establishing a minimum beat as a mandatory option for not operators we gathered some data uh we gathered data on the me for the last six months and uh calculate uh the share of vanilla blocks uh for each of these thresholds and also we calculate the decrease of IM in that case you can see

it on the graph the X AIS shows us the mean bit thresholds the EG axis is percentage Blue Line shows us the share of vanilla blocks for each uh value of threshold and orange line shows us the MTH reduction uh what we can see is that uh if the threshold would be set at 45,000 of ethereum it would result in half of the blocks being vanilla and uh the downside would be the 177% reduction of MEF it's it's a lot to be honest but uh still we are talking about doomsday scenario

here uh so now we have 50% of blocks being vanilla and the light share now is around 28% this gives us 14% of all blocks would be vanilla and uh taking into account that uh currently we have 9% of vanilla blocks the total share of vanila blocks would be around 2.5% uh this would give us an average latency for potential ensor transactions around 60 seconds uh this is way worse than the current station but uh we are talking about recovering from this extreme scenario so 16% 60 seconds is not that

bad uh let's recap so now thanks for the ethereum community we have a latency of around 20 to 30 seconds uh in a doomsday scenario it would Skyrocket to 130 seconds uh thanks to 9% of vanilla blocks it would not be full censorship and a single policy change from Lia could bring it uh back to 60 seconds so uh please please uh continue doing this great work uh please read the anti-censorship researches like inclusion lists and uh uh multiple proposers uh visit Li the Research Forum take part into

rfps uh thank you for your attention uh if you have any questions please feel free to ask them [Applause]

Related talks