Fast Finality update
Devcon·Thu, Nov 5, 2026, 12:00 AM
Speaker
Transcript
[music]
Great to see good to see y'all here and many familiar faces. I would like to talk to you about decoupled consensus, which is an idea that more or less almost exactly a year ago became the kind of default understood path for bringing a faster finality to Ethereum. But a year a year ago it was just an idea more or less. It was you know something that you could maybe write in a blog post. Since then there's been a lot of real progress and we actually have like we we've gone quite a bit further and we're we're on on the way to trying to get this to main net.
I would like to tell you a bit about what the process was like, what kind of problems we we had to solve along the way and how and then yeah we're basically where we are and where we're going. So yeah the kind of title is like from an idea to a formally verified protocol because spoiler that's kind of the the current state of things. So first of all let let's start with what even is the the problem in a sense. So we we have a consensus protocol that's obviously pretty crucial part of a of a blockchain. There's a few things that we want from it.
There's actually a lot of things that we want from it but there's really three like high level problems that we we we we like to improve. One is we would like to have a provably secure and optimal protocol. So we would like to have a protocol that has like provable properties and that is kind of best in class where you can you can say that you you can say that whichever for example adversarial it tolerates that's the best that you can do. And we would like to have much faster finality than we do today. Today it's about 30 minutes or so.
We would like it to be you know a few minutes eventually seconds. And then we would like it to be post quantum. So there is BLS signatures which are not post quantum. We would like to get rid of those. You might have heard about mission 2028 so that kind of fits in in that whole picture.
And so on the on first problem, what is the status quo? The status quo is the consensus protocol of Ethereum is called Casper. Um it's basically a fusion of two parts. One is Casper FFG, the other one is LMD Ghost. Um basically there's this kind of two modules.
One is this finality gadget that that tries to like finalize things and give economic security, so give this guarantee that in order to have if there is a double spend, there's going to be slashing. And then there's an available chain that tries to make sure that we always kind of make progress and keep producing blocks basically no matter what, even if like a lot of parties are offline or kind of in really the worst cases that we can imagine. And yeah and overall the picture looks like this. You have this kind of finalized chain and and then you have like this suffix that just continues growing even if we're not making finality progress. Now there's a few issues with the current protocol that are kind of have been well known for years.
In particular two kind of parts of this are a bit sketchy. So the the available chain part which today is LMD Ghost, for years we've kind of known that there's some attacks. These attacks are not you know not something that can like bring down the network or anything otherwise of course we would have made it a priority to fix them years ago, but they basically weaken the security of the protocol in ways that essentially make it hard to really prove that it's secure under like the kind of standard models that people use for for proving that protocol consensus protocols are secure. And the other thing is like prevent this optimal kind of property that we would like. So they make it so that we know for sure that the protocol does not have the optimal resilience that it could have.
So under certain conditions you know bad things can happen that should not be possible or like it does not tolerate adversaries that are as powerful as as it could in theory. And then the other part is there is this kind of whole interaction between these two boxes. So actually the the box on the left, the finality gadget, in a way it works very well. Like, it's it's fine, you know. We it it has the right properties, essentially.
Um, it's really more just the box on the right and the interaction. So, uh, the way that these kind of two boxes talk to each other, um, the the way that the Finality Gadget interferes with the Available Chain and the way that the Available Chain communicates things to that to the Finality Gadget to be finalized, um, this has kind of uh a a long history as well of like uh patches in the specs and kind of many like um, you know, a bit of like whack-a-mole with like, oh, let's try to fix this in this way and and so on. This has actually been stable for a few years, so now I think we we understand quite well what the current state is, but we also know that there's some fundamental limitations where like we actually need a redesign. We cannot really improve it further just by like, you know, mucking around with the with the protocol. Um, another problem is uh or you know, goal is is fast finality.
Um, and uh so again, what is the status quo? The status quo is this top bar uh that we're we basically have um this long period where we we vote uh for um trying to finalize things that we call epochs. And um we kind of spread out the votes uh over this epoch uh where the votes are kind of accumulated slot by slot. So there's like uh 32 slots in an epoch. In every slot uh is a subset of the validator set votes, which today is like about 30,000 validators or a bit less, so still quite large.
Um, and so yeah, we have all of these votes that kind of come in in every slot and this is how the two protocols kind of um like these votes work for both of the protocols, both for Finality Gadget and for the Available Chain. And um yeah, you could think, okay, what would be the the if we just keep things as they are, how do we make Finality faster? Well, we would like to basically shorten the epochs. Uh, but what happens when when we shorten the epochs? If we just kind of stick with today's protocol, well, we get something like the the bottom part of the picture.
So imagine that for example, we made um epochs uh four times smaller, so we kind of try to pack everything into eight slots. Well, now every slot is going to have four times as many as many votes. Um, and so this has, you know, consequences. We need to actually be able to deal with so many votes into its its each slot. And we might need to increase the slot time, for example, or we might need to really like work hard to optimize the the networking.
And then you know you could think of the extreme case where like we're really trying to like make epochs as short as possible, make finality as short as possible. We pack everything into one slot. So the whole validator set votes into one slot. This is of course difficult when there is 800,000 validators. And yeah basically you can see that there's a bit of a tradeoff.
Now the slots will become like potentially very long or like compared to today. So there's a bit of this tradeoff where we could have faster finality, but then we would have to have slower blocks or vice versa. And we cannot really like independently try to optimize the the two things. Now problem three is that we would like to have a post quantum consensus layer. So we would like to essentially get rid of BLS and put in place cryptographic primitives that are hash based and and post quantum and you people are now starting to also talk about post AI.
That's a bit you know less of a the the claim is less clear there, but there there's at least some let's say plausibly post AI story there. And yeah so what what is the problem there? We we actually have the primitives. So a lot of this work has actually been done thanks to to lots of people at DIF working on this for for years. But the issue is still there is kind of some fundamental tradeoffs that we would have to accept if we try to just swap in these primitives in the current protocol.
The main thing is the BLS signatures are actually very small and they also and and once you aggregate them they stay in the same size. So it's like 96 bytes and aggregate is also 96 bytes. And also aggregating them is kind is fairly cheap. On the other hand once we swap in this hash based signatures they become much larger. So a signature is 3 kilobytes, so 30 times larger.
An aggregate is 300 kilobytes or so. So like another 100 times larger. So you can see you know we would start with much larger signatures. We then aggregate them. We have even larger aggregates.
Um and also then there's kind of this actual aggregation work like this, like you know, CPU or or GPU uh work that would be in this in this kind of aggregation pipeline. Um this would be much heavier than it is for BLS. And so you try to cram everything into the slot. Um it's it's not that it cannot work, but it would definitely be like much more challenging and would really you know, stress things uh into the slot. So ideally we would not need to do this.
And so what is the solution? Well, a solution that has been brought last year is let's actually just decouple things. You know, we had these two boxes, um this available chain and this finality gadget. Um do they need to kind of work together in this like tightly coupled way? They actually don't.
So maybe we could just uh decouple them and have them be uh kind of on their own timeline. Um so for example, on the slot side, also on the block production side, we could have a very small committee um that you know, would be like maybe wouldn't need aggregation or anyway, it would be quite small, so it would be much easier to fit into the the slot timelines. We could have even shorter slots potentially. Um and on the uh finality gadget side where we have this kind of whole big validator set that's that's voting, um we could just uh have that completely decoupled from slots happening on its own timeline, taking as long as it needs, um and also being able to kind of optimize it independently of this kind of slot deadlines. And so yeah, basically we we try to remove this tradeoff of like finality and and and slot time having something to do with each other.
Now uh what what actual benefits do we do we get from this? Like what what what concretely how do we visualize the benefits of decoupling? Well, so let's look at the couple um basically let's look at the status quo. So the the top one is what it what we have in today's protocol. Um everything happens kind of together.
So in every slot we have these like let's say 30,000 votes or or whatever the amount is, um and they need to be uh they need to be sent, they need to be aggregated. There's a lot of them. There's a lot of aggregates. Um and this kind of have and then there's some dead time. So for example, when the block comes, there's no votes happening.
Um so because we're coupling together with the slot, there's some inefficiencies that arise um and the slot also has to suffer from having to kind of accommodate all of these all of this activity happening on its own uh deadlines. Uh now once we decouple uh we can look at the the top bar, the the yellow one um on the slot size the side um we have just a few validators voting. So we can conceivably kind of cut a bunch of the slot the the aggregation part um and we can just kind of leave that um to this small committee. Um on the um finality gadget timeline, so on this timeline where we want to aggregate the whole validator set um we could actually do it in um much kind of uh less constrained ways than we could uh with the uh with a couple protocol. So we can really be as creative as we want in optimizing uh this this process.
So for example here what I'm I'm showing in the in the bottom row is um we could just try for example to keep things more or less as they are today but pipeline it. Um so I mean one thing that you notice is there's no dead times. There's always some work that that's happening and also we can kind of pipeline this work. Um so we kind of cut a bunch of inefficiencies that we just cannot cut in the in the top bar. Um and then just as an example this is not it doesn't have to look like this.
It could look in many other ways. The the for example it could look like uh everyone votes and then we have this like bigger aggregation three that goes on for a while. Um the point is we basically have the freedom to just optimize uh the the bottom part completely independently from the top part which is of course um how you can actually get to like something optimal or or anyway uh much more optimized than today. And uh so there there there there is um this decoupling is not just for a faster finality. It also simplifies a lot the PQ story.
So if you remember there is this larger signatures. Now we can actually uh visualize them there. So again BLS 96 kilobytes um hash based SIG um is uh basically three times that, three kilobytes more or less uh and then an aggregate of the of those is is 100x. So we're talking kind of you know big numbers that we need to like fit into what we're doing. It's not fully really like a drop-in replacement once the replacement has such different characteristics.
And and there's also the the CPU part that that's not shown here. So what would it look like with decoupling? Well on the available chain side, so on the kind of block production side, the stuff that we need to cram into the the slot and which ideally we would like moving fast, we can have a very small committee. So we can have for example 500 validators. These are the numbers that have been kind of going around for a few years.
This would be only 1.5 megabytes per slot. So not not so much to to go around and potentially the proposer can be the only one that aggregates. So there does not have to be like a multi-layer aggregation structure there. Whereas today even with BLS we still do have this kind of multi-layer aggregation process.
And so and yeah actually while this aggregation path is quite a bit heavier than BLS, it's still very much doable by by individual nodes. So we could have something that looks like this. On the finality gadget side, again we have this ability to pipeline. So we could this kind of looks very much like what we what we showed before except now the signatures are much larger. So we still need to accommodate for that.
But we have basically the ability to like stretch out the timelines to pipeline things and not only pipeline in the sense of for example voting and propagation of votes and propagation of aggregates, but we also have the ability to pipeline the CPU work. So it's not all you know happening at the end. It can happen throughout. We can send send votes, start aggregating them, have that CPU work happen while other votes are being propagated. So again it basically really gives us a lot more flexibility to play around with the timelines, play around with how we structure things and actually both fit this new overhead of that comes from PQ while also ideally not not compromising on performance.
So not you know needing to increase finality time and actually potentially shortening it shortening it. Now what is actually so yeah up to here we've kind of talked about the goals and you know with the problems and how the couple consensus a bit help helps with that. Just quickly you know we we can look at also like what actually does a decoupled consensus protocol look like in in the actual consensus protocol machinery. Well it actually looks very much like what Gaspar does today if you really like squint and just look it from you know from very far. So it still has these two same boxes of finality gadget available chain and this interaction between them.
It still produces a finalized chain and an available suffix. The main difference basically is the finality gadget is now quite you know essentially completely redesigned to fit this this new protocol. It's a variant of simplex so it's a quite well-known protocol. It's used in a bunch of places. We we understand it quite well.
The available chain it would be a variant of a protocol called goldfish that we worked on years ago also quite well understood. And yeah the I don't want to get too much into the details of the protocol but basically I guess the key point there is like the components are well understood built on established foundations and then the kind of the trick is actually putting them together which is is very much non-trivial. You kind of see why but putting them together in the right way and this is what we basically been doing for for the last year figuring out how to do this in the in the right way. So yeah what is actually difficult then about putting all this together? Well what's difficult is we have a ton of properties that we actually want from this.
We want the finality gadget to have a whole bunch of properties. We want the available chain to have a whole bunch of properties. This is more than most blockchains ask of their consensus protocols. Most blockchains for example don't need to stay alive no matter what. Usually if two-thirds of the validators set if there's less than two-thirds of the validators set online they just stall.
Ethereum does not do that today and wants to keep not doing that in the future. So yeah I won't go into through all the properties but this is even like a very much non-exhaustive list of properties and already some here you just won't find in basically almost any other blockchain. And now so this is kind of the easy mode again very much non-exhaustive property now this is still not exhaustive but maybe gives you like a bit of a better look into like what actually is the complexity of coming up with a protocol like this. So this is on the left is the list of properties that are currently proven in in Lean. There's actually more but this is kind of the core of properties that really like innovate defining the protocol being correct.
There's a whole bunch of them again I won't go into it some of them have to do with finality some of them have to do with the available chain safety liveliness behavior under specific cases like bounded asynchrony there's really a lot and on the top you find the assumptions so the different kind of regimes under which the protocol can operate some of it is low participation some of it is high participation but potentially having a synchrony before some of it is bounded asynchrony there's really a lot and combined you have this whole kind of matrix of results holding under certain assumptions that are currently proven in Lean. And now how are we actually you know how how have we managed to to navigate this complexity well the first half of the year did have some some help with AI so it really I mean 2026 has been this year where you know we've all tried to adopt AI into our workflows and I've been trying to like play around and figure out how to do it. In the first half of the year this was kind of working it was very helpful in some ways it would allow you to iterate faster it would like generate ideas it would let you explore paths faster write specs and proofs faster but it had a lot of limitations it would produce a lot of slop it would be hard to share with co-workers like you'd have just these mountains of like slop proofs that you really you know could try to to get AI to like verify and verify and verify but you could never quite convince yourself that everything was fine and if you wanted to to share it with a co-worker it was kind of hell you had to really just like you know wait through pages and pages of slop and try to figure out how you're going to actually go to someone and say hey take a look at this. So it was it was okay. It did it did quite a bit, but it really was like almost it was it was a pain to work with it.
Now in the in the second half of the year, because 2026 has moved really fast and you you could really do this for like maybe every three weeks. Actually, you should break down what were the changes based on which models were available. But formal verification really became like a key part of protocol design. So over the last few years or and yeah, sorry, actually this this is still first half. Like in the first half, formal verification was there, but still very partial.
It was really kind of you would maybe take some proofs that you had already, try to formally verify them, get something, but still limited results, not so useful. In the second half, we've kind of moved to formal verification really being like a integral part of the design loop. So where basically what a researcher might do is like come up with ideas, come up with a design, then throw it to models, have that design end up in a in a lean model that you try to maintain, and then you iterate by having basically when when whenever you iterate, you also iterate on the lean model. And so you can quickly say this change is correct or this is exactly what breaks. I have to go back and figure out, you know, why did this break and and kind of go back to the design loop.
So this is actually really really helped the process. You introduce verifiability, you let the models just kind of work much more autonomously, and you can actually be convinced that things work without having to check so much yourself. And yeah, I mean, basically this is like this kind of process where the spec evolves with the the design. So we have this like lean spec for for the consensus protocol. Whenever you want to make a change, you basically make a change to the spec.
Maybe it leads to like a new property that you want to prove. Maybe sometimes you figure out that this property does not work and you have to make some changes. And yeah, it really has made this process much easier. You can sometimes in hours figure out if something is wrong or if you have to basically make adjustments. And yeah, I kind of [snorts] getting running out of time.
So let me just show you uh here on the right uh the current state is we have a basically um full lean model of the the consensus protocol um and that that's fully formally verified. Um the outer ring there is the proofs. So there's all of this stuff that you don't actually need to read. It's very large, but you don't have to care about the the lean kernel checks that. Um inside we have this kind of trusted code base um that actually defines correctness.
This is actually fairly small, like a human can deal with this. And yeah, I mean this is what the kind of overall uh how you can visualize the the the all of the properties and you know how they they interact with each other in the in the lean model. Um and yeah, this is where we are basically uh plan would be to target I star, things are in motion. Um we have this formally verified design, we have an EIP, um specs are starting, prototypes are starting, and yeah, the goal is finality from 13 minutes to uh you know four to eight times faster and then go go further. Thank you.
[applause]
All right, come on. Let's give Francesco a big round of applause. Wow. You were like a speeding bullet train going through all those slides, but look at the audience. We got a full audience and people watching online as well.
People want to ask lots of questions. So again, ladies and gentlemen, if you can scan the QR code, also remember to up vote your questions. We've got a lot, but we're going to try and go through as many as we can. Let's go to the most upvoted one so far. How does it impact home stakers who are running validators using 32 GB RAM, 2 TB NUC Pi 5B devices with low internet bandwidth areas?
A very good question.
Uh yeah, I guess the question will be about fast finality. Like cuz it's a bit different if you talk about fast finality or PQ. Um but uh yeah, let me maybe try to answer both. I I think generally PQ um can put a stress on the really long tail of the network just because well now we have to deal with um these larger signatures. We have to deal with aggregating them.
I I there is some element that's that's a bit um you know inevitable there that once we have to deal with this overhead some part of the network might not need to be might not need to might not be able to keep up with it. In principle the coupled consensus allows actually to play with the trade-offs. So we could basically have the finality time be as long as we want based on what trade-offs we want like based on which participants are we okay with you know being the kind of minimum level of hardware and bandwidth and so on. So actually the coupled consensus gives a bit more flexibility in how we decide about the trade-offs.
Yeah all right. Thank you for answering. I'll mark that. Okay next question that also got quite a few up votes is why do consensus related attestations need to to be to be PQ safe? [snorts] Cryptographers still haven't reached the consensus on whether ECC will break.
Isn't there a risk that we are throwing away decades of E?
[snorts]
Yeah I mean I'm very much not a cryptographer so you know this is the kind of thing where I'm I'm I'm happy to just listen to the cryptographers and try to understand what it what is the consensus and and understand what it what is the safe thing for Ethereum to do. I think anyway we've been on this path of moving to post-quantum cryptography for a while. I think the question now is just like what are the timelines. So it was never in question that we would do it. All the work has been happening for years now I think you know under the umbrella of lean Ethereum and and and not only for maybe like two years now there's been like a huge amount of work going into this.
So I think the question is really not been at all should we do it. It's just when should we when should it be done by? Should it be 2028? Should it be 2029? I think it's reasonable to question this these assumptions and these timelines in the era of AI where like you know things are really changing very fast.
But yeah again I'm not a cryptographer so I'm not going to comment specifically on you know elliptic curve cryptography breaking or not.
Yeah yeah yeah. I think even in the previous session the speaker also shared the age of AI is just forcing all the timelines to be faster and faster and faster and people just don't know when to expect. Okay next question let's go another up voted question. How do we decide who stays the smaller committee and does it harm decentralization?
Uh so this is a simple answer. Does it harm decentralization? No. Um it it no one stays in the smaller committee. People rotate all the time.
It actually looks very much like today. It's just the rotation is on I mean rotation happens every slot. Um you might participate less often, but it won't actually harm anything. Like it's um rewards are based on your weight just like today. Everything essentially looks like today in terms of fairness.
All right, very good. Yeah, does not harm. Okay, let's go another question at the top. Current ETH is 32 slots. Each slot takes 12 seconds and one epoch takes 6.
4 minutes. Finality is after two epochs. If you have to explain fast finality in comparison, can you summarize what are the changes?
Um yeah, basically the so the the what we call today epoch will stay the same, but it will not be um what decides the finality time. Uh the finality time will be on its own timeline. The epoch kind of stays only as some more or less administrative accounting type of of timeline. Um and yeah, I I think most likely at the beginning the idea would be to bring down finality time by four to eight X. So you know would be I guess 1.
6 minutes uh maybe maybe uh less, but um or sorry not what um like one half of finality would be 1.6 minutes. Um and the slot time that's undecided, but the idea would be that we can also optimize that separately. So we can go from 12 to 10 to maybe then eight and and so on. But of course this depends on trade-offs with the rest of the architecture of the of the protocol.
It's just decoupled consensus allows us to make these choices kind of independently of each other. That's mainly the point.
All right, fantastic. Last 10 seconds on the clock. How final is fast finality? Quick one.
not sure what the question means. If it means like is it as strong a guarantee as today, then yes, it's the same exact guarantee as today. It comes out with all the slashing that come with finality. If If question is how final in the road map, um then it's a bit less clear of a question. I think eventually we will definitely get there.
Is it going to be I star? Unclear.
Thank you. Ladies and gentlemen, let's give a big
[music]
Automatic transcript — names and jargon may be misspelled.