Začněte svou obchodní cestu ještě dnes!
Author: Shiva
Compiled by: Tim, PANews
The pre-confirmation mechanisms of Base, MegaETH and Solana are Flashblocks, Miniblocks and Shreds respectively.
Who is the fastest?
Who is the safest?
Who will win?
Here’s everything you need to know:
The current block confirmation time on Base is 2 seconds.
Every 2 seconds, all tools such as block browsers, RPC, wallets, etc. will obtain status updates of blocks and databases and share them with users.
The above state updates lack "finality" (immutability), but are "pre-confirmed" by the sorter.
A 2 second update delay does not provide a good user experience because users are accustomed to higher speeds.
Flashblocks directly addresses this user experience problem by reducing the pre-confirmation time to 200 milliseconds:
Although it still takes 2 seconds for the entire block to be confirmed, users can see the updated status within 200 milliseconds, which significantly improves the user experience.
MegaETH currently plans to set the block time to 1 second.
However, they will adopt a pre-confirmation mechanism similar to Flashblocks to improve the user experience.
The MegaETH sequencer will output transactions as blocks are constructed (in an arbitrary order of transactions).
MegaETH plans to perform pre-confirmation every 10 milliseconds, and they call this format "Miniblocks".
Similar to Flashblocks, Miniblocks can significantly improve the user experience without increasing trust in the 1-second block.
(Note that when using Flashblocks, users also need to trust the TEE (Trusted Execution Environment) to run the prioritization correctly.)
Solana is a blockchain pioneer with good user experience and high-speed transactions.
Solana’s normal block time is 400 milliseconds.
However, during the block generation process, Solana block producers split blocks into smaller parts, called “Shreds”, and submit them to the Proof of History (PoH), which are then propagated to the rest of the network.
Other validators can start replicating transactions once they receive the shreds and send transactions immediately after validating the shreds (in less than 400 milliseconds).
Now two problems arise:
a) Solana
Assume a Solana validator receives 2 Shreds from a block producer, but these Shreds do not become part of the final block. This could be due to two reasons:
So, inclusion guarantees simply mean trusting that block producers are not malicious or corrupt.
b) MegaETH
There is only one collator. Therefore, the inclusive guarantee is to trust that the collator is not malicious.
Two other risks are:
i) The sorter is offline: In this case, when it comes back online, it will contain the pre-confirmed transactions.
ii) Ethereum L1 reorganization occurs: any unfinalized L2 transactions will be replicated by the sorter on the new fork.
c) Base
Similar inclusion guarantees as MegaETH.
The inclusive guarantee here is to trust that the sorter is not malicious and that the TEE (Trusted Execution Environment) is secure.
However, even if the TEE is hacked, the only thing that can be changed is the priority order of transactions.
In all cases, users get faster pre-confirmations, but at the risk of corrupt block producers.
Since a single block producer has a monopoly on the construction of a block at any given time, it is reasonable to assume that corrupt behavior has the same probability in each block construction.
L1 blockchains have a consensus mechanism, while most L2 blockchains do not.
In the L1 public chain, fixed block time can improve consensus efficiency because the voting behavior of validators is concentrated at the key time nodes of block generation. Validators will confirm the correctness of all transactions in the entire block through voting.
The answer is yes.
Although L2 block times are freely set and represent only "pre-confirmation" rather than finality, fixed block times still have the following key values:
As blockchain performance improves, faster sub-second pre-confirmations will become the norm.
The main chain that ultimately wins will also ensure that the probability of corruption is effectively resisted.