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.