Understanding L2 Transaction Lifecycle: From Submission to L1 Finality
Recently, when depositing ETH from Base to Binance, I encountered this explicit message: ‘Please note that L2 networks require its corresponding L1 transaction to reach finality (64 blocks) before deposits can be unlocked. ETA ~25 min’.
This constraint raises two interesting technical questions: why is L1 finality crucial in this context, and where does this 25-minute delay specifically come from? Let’s analyze the underlying mechanisms of Ethereum rollups to understand these points.
Let’s take a concrete example: Alice wants to send 1 ETH to Bob on Base, a Layer 2 using the OP-Stack. This seemingly simple transaction involves several key actors in its processing chain.
It all begins when Alice initiates the transaction from her favorite wallet, specifying Bob’s address and the amount of 1 ETH. The wallet then transmits this transaction to the configured RPC node, which relays it to the Sequencer. This essential component of the architecture integrates the transaction into the next block before broadcasting it to the P2P (peer-to-peer) network.
At this stage, the transaction is marked as “unsafe” by the OP-Stack. Why? Simply because the block data hasn’t yet been published on Ethereum, a crucial step to ensure the transaction’s security.
The next step is to publish this block on Ethereum, but not just any way: since the introduction of EIP-4844, we transmit it via what a new transaction type: blob transactions (Type 3). The OP-Batcher handles the behind-the-scenes work, publishing all this data on L1. This step takes about ten minutes, from inclusion in the L2 block to publication on L1.
Once published on L1, our transaction becomes “safe” on Base. But that’s not all - there’s still the crucial step of “finality” to consider. In Ethereum Proof-of-Stake, finality represents an impressive cryptoeconomic guarantee: any attempt at modification would require burning at least 33% of the total staked ETH on the network, approximately $72 billion at current prices.
This finality is ensured by Casper FFG (Friendly Finality Gadget), a mechanism inspired by BFT (Byzantine Fault Tolerance) consensus protocols. Its operation relies on several key concepts:
An epoch is divided into 32 slots of 12 seconds each, totaling 6.4 minutes. For each epoch:
Justification Phase: Each slot’s committee validators cast their votes, known as attestations, for the current epoch’s checkpoint. A checkpoint transitions to a “justified” state once it accumulates votes from two-thirds of the total validator set. This supermajority requirement is crucial - it provides robust protection against potential network splits.
Finalization Phase: When a justified checkpoint’s child checkpoint (in the subsequent epoch) also achieves justified status, something important happens: the parent checkpoint, along with all blocks in its epoch, become finalized. This two-step approach isn’t arbitrary - it creates a system where finality, once achieved, is both secure and irreversible. By requiring consecutive justified checkpoints, the protocol ensures that the network has reached a strong consensus about the chain’s state.
Let’s break down why transactions need these specific timeframes:
This is why Binance sets a 25-minute waiting period - it accounts for the entire process while building in safety margins to ensure reliable transaction finality.