
Full node validates blocks by downloading all transactions and re-executing them to check their validity, and not surprisingly, larger blocks impose a greater burden on the full node because more hardware is required to process and validate each block. Techniques such as fraud and proof of validity allow nodes to check validity without having to re-execute each transaction. Data availability sampling technology enables nodes to verify data availability while downloading only a small portion of each block.
Statelessness is a feature where the whole node validates blocks without storing state (this is called Statelessness). There are two main types of statelessness:
1. Strong statelessness: No node is required to store state.
2. Weak statelessness: Only the block producer is required to store state.
To verify the validity of a block, the full node starts with a pre-state root, which is the root of the state tree after the previous block has been attached to the chain. The transaction is then re-executed, generating a new state root (called post State root). The computed POST State root is then verified against the POST State root in the proposed block header. If a match is made, the block is valid; if not, the block is invalid and rejected. However, stateless nodes do not initially have pre-state root because they do not store state. In a stateless rollup, the sequencer assigns each block a pre-state root and a Post state root to validate the block.
Therefore, stateless rollup has two benefits
1, state growth
Removing the requirement of the full node storage state will lower the hardware threshold, thus reducing the barrier for more users to run the full node. Mitigating the negative effects of state growth is just as important for rollup as any other chain, because they are also vulnerable. Since weak statelessness does not absolve the sequencer from storing state, the most used rollups will find that state growth can be a hindrance. We can implement further measures to reduce the growth of the sequencer's state, for example, when the state expires, states that have not been accessed during a given period of time are removed from the state.
Incidentally, stateless also removes the DoS attack vector for disk IO, since stateless nodes no longer need to perform state access, which is especially useful if rollup has a large state.
2. Fraud proof
Statelessness and fraud certificates are two sides of the same coin; as soon as one is implemented, the other is made available for free. Nodes require pre-state root and Post State root to verify proof of fraud, similar to requirements for stateless block verification. Admittedly, there are other considerations regarding proof of fraud, such as single versus multiple rounds, bonding, and general censorship resistance details.
** Discussion: **
-
What do you think is the most valuable use of stateless Rollup?
-
Do you think stateless rollup will ever replace the old rollup technology?
Read the extension:
1.article about stateless Rollup
2.Deep analysis of L1 and L2 thinking mode differences
3.Vitalik: Rollups incomplete guide
** Welcome to follow us for more knowledge **

** Welcome to join our discussion ~**





























Ethereum has been wildly popular since its launch in 2015, but recently its high transaction fees and low scalability have negatively impacted the execution of complex applications, and the need for ethereum improvements has become increasingly urgent among users. Ethereum 2.0 has been in the works for some time and is the biggest change to the Ethereum network in years, aiming to address some of the problems with the current infrastructure.

自 2015 年问世以来,以太坊一直广受欢迎,但最近其昂贵的交易费用和低可扩展性对复杂应用程序的执行产生了负面影响,用户对以太坊改进的需求变得越来越迫切。以太坊 2.0 已经酝酿了一段时间,这是多年来以太坊网络最大的变化,旨在解决当前基础设施的一些问题。




The year 2021 has just been called the first year of NFT, and according to Collins, usage of the word has increased by 11,000 percent in the past year, That beat out a string of candidates including "double-vaxxed", "hybrid working", "cheugy" and "metaverse" to top the list.





