As is tradition with my âWTF isâŠâ articles, I like to start off with a real-life analogy to allow people to get the gist and bounce if they donât care about the underlying details.
For this topic, weâll use concrete drying over time:
Thatâs the high-level of what âfinalityâ means in the context of blockchains. Much like concrete, as time passes from the point of being poured (initial confirmation) through setting (multiple confirmations) the ease with which the initial block can no longer be considered âtrueâ becomes increasingly difficult until itâs fully hardened (finalized). Once at that point itâs nigh impossible.
TLDR just remember the order of the steps:
Submitted -> Confirmed -> Finalized
If thatâs good enough for you to consider this case closed I invite you to hit the article with a like and go about your day. If you want to nerd out on the how, what and whyâs of finality (in the Ethereum context); continue on mon frere.
Alright - letâs try and build some structure around this concept and understanding it. Thankfully it gives us something to build from as all components come in to play as a byproduct of time passed, so weâll use that.
First though, lets round out our knowledge base with definitions.
Slot (Block Time): Youâll likely understand the alternate name for this: Block Time. A slot, or block time, is the amount of time given to the system to produce a new block of transactions to append to the current canonical chain.
Example slots/block times:
Ethereum - 12 seconds
Base - 2 seconds
Finality: The point at which a transaction is deemed irreversibly added to a given chainâs ledger. This term isnât uniformly used across chains when it comes to technical properties though, so be itâs best to not assume like-for-like in all contexts. In the Ethereum ecosystem, this is used when the below conditions are met:
Ethereum - When 2 Epochs have passed (~13min)
Optimistic L2 - When the fraud window has passed (~7d)
and here is an attempt to visualize all of those terms in a single image to make them a little easier to digest:
So, now that we have the pieces used to determine finality, how are they pieced together? What are the rules?
For Ethereum
Visualized
For L2s
Well, L2s are build on Ethereum so theyâre basically the same, right?
Yes and no, dear reader. Recall posting structure from my prior post on Based Rollups. L2s are their own blockchains, yes, but they depend on Ethereum for ultimate settlement. That means the answer is just as layered as the chains themselves.
These layers breakdown in to two types of finality:
So, L2s can have a level of localized finality if theyâre a certain type but otherwise must wait until either Ethereum finalizes their posted validity proof (ZK) or the challenge window has passed for fraud proofs (Optimistic rollups).
For Bitcoin / Proof of Work
This one is actually pretty easy - there is no finality in Bitcoinâs specific implementation of PoW. For it, whomever produces the heaviest chain head (read: produces enough blocks to be the âlongestâ chain) becomes the canonical ledger. This means, although impractical for many reasons, someone could produce enough hash to re-write the last day, week, year of Bitcoinâs history.
Again though; impractical for the sheer amount of resources and time itâd take, but a worthwhile distinction of the systems and actually leads to a few unique types of MEV, like âLong-Ranged Attacksâ and âBlock Witholdingâ where miners can either produce (and hide) a block to then append a subsequent block or mine several blocks in a row to create and capture unique profit opportunities.
Visualized:
So, we know how we come to finality in the largest Proof of Stake chain in crypto, but that seems like a lot of work - why are we even doing it?
Well, it comes with some benefits:
Why did I cover finality? No real idea - I just had heard it thrown around by some recently and realized it was an oft-used, but not deeply understood mechanic of blockchains.
Hope you enjoyed it and remember; itâs just your blocks hardening like concrete in the system and at some point theyâre rock-solid.
As is tradition with my âWTF isâŠâ articles, I like to start off with a real-life analogy to allow people to get the gist and bounce if they donât care about the underlying details.
For this topic, weâll use concrete drying over time:
Thatâs the high-level of what âfinalityâ means in the context of blockchains. Much like concrete, as time passes from the point of being poured (initial confirmation) through setting (multiple confirmations) the ease with which the initial block can no longer be considered âtrueâ becomes increasingly difficult until itâs fully hardened (finalized). Once at that point itâs nigh impossible.
TLDR just remember the order of the steps:
Submitted -> Confirmed -> Finalized
If thatâs good enough for you to consider this case closed I invite you to hit the article with a like and go about your day. If you want to nerd out on the how, what and whyâs of finality (in the Ethereum context); continue on mon frere.
Alright - letâs try and build some structure around this concept and understanding it. Thankfully it gives us something to build from as all components come in to play as a byproduct of time passed, so weâll use that.
First though, lets round out our knowledge base with definitions.
Slot (Block Time): Youâll likely understand the alternate name for this: Block Time. A slot, or block time, is the amount of time given to the system to produce a new block of transactions to append to the current canonical chain.
Example slots/block times:
Ethereum - 12 seconds
Base - 2 seconds
Finality: The point at which a transaction is deemed irreversibly added to a given chainâs ledger. This term isnât uniformly used across chains when it comes to technical properties though, so be itâs best to not assume like-for-like in all contexts. In the Ethereum ecosystem, this is used when the below conditions are met:
Ethereum - When 2 Epochs have passed (~13min)
Optimistic L2 - When the fraud window has passed (~7d)
and here is an attempt to visualize all of those terms in a single image to make them a little easier to digest:
So, now that we have the pieces used to determine finality, how are they pieced together? What are the rules?
For Ethereum
Visualized
For L2s
Well, L2s are build on Ethereum so theyâre basically the same, right?
Yes and no, dear reader. Recall posting structure from my prior post on Based Rollups. L2s are their own blockchains, yes, but they depend on Ethereum for ultimate settlement. That means the answer is just as layered as the chains themselves.
These layers breakdown in to two types of finality:
So, L2s can have a level of localized finality if theyâre a certain type but otherwise must wait until either Ethereum finalizes their posted validity proof (ZK) or the challenge window has passed for fraud proofs (Optimistic rollups).
For Bitcoin / Proof of Work
This one is actually pretty easy - there is no finality in Bitcoinâs specific implementation of PoW. For it, whomever produces the heaviest chain head (read: produces enough blocks to be the âlongestâ chain) becomes the canonical ledger. This means, although impractical for many reasons, someone could produce enough hash to re-write the last day, week, year of Bitcoinâs history.
Again though; impractical for the sheer amount of resources and time itâd take, but a worthwhile distinction of the systems and actually leads to a few unique types of MEV, like âLong-Ranged Attacksâ and âBlock Witholdingâ where miners can either produce (and hide) a block to then append a subsequent block or mine several blocks in a row to create and capture unique profit opportunities.
Visualized:
So, we know how we come to finality in the largest Proof of Stake chain in crypto, but that seems like a lot of work - why are we even doing it?
Well, it comes with some benefits:
Why did I cover finality? No real idea - I just had heard it thrown around by some recently and realized it was an oft-used, but not deeply understood mechanic of blockchains.
Hope you enjoyed it and remember; itâs just your blocks hardening like concrete in the system and at some point theyâre rock-solid.