Quick overview of the advantages and potential issues of stateless Rollup

Advantages and potential issues of stateless Rollup.

Original author: OneTrueKirk

Original source: ethresear.ch

Original title: Stateless Rollups

Translation: Yvonne, MarsBit

Note: The original article was posted by OneTrueKirk on ethresear.ch.

This is my first time posting a topic here, so I apologize if I offend anyone in any way. I’ve been thinking about this idea (Stateless Rollups), mainly for a dedicated rollup for our lending protocol, but I hope it can be universally applicable and appreciate all feedback.

TLDR:

Only the state root is published, not the calldata.

(MarsBit’s note: Calldata is the value of the data part in a contract transaction and cannot be modified.)

Details

What if, instead of using Ethereum as a data availability layer, we published only the state root to the mainnet by publishing the full state as calldata? The main advantage is to reduce the amount of data stored on Ethereum, thereby reducing the cost of transactions on L2 for users. Even with EIP-4844, blobace is not free.

The main risk is the data withholding attack, where the proposer publishes a valid state root but withholds the full data from other rollup nodes in order to monopolize future block production or hijack funds. To prevent this, honest nodes must question any state update that cannot be provided with data by a peer. An Arbitrum-style interactive fraud proof can be used to force the proposer to disclose the full state on the mainnet, but if the root is valid, the challenge will still fail, so the cost of the challenge must be low even in the event of failure.

(MarsBit’s note: A data withholding attack refers to when an attacker, when accessing protected data, intentionally does not return all data or returns incorrect data in order to deceive or disrupt.)

If the cost of a failed challenge is low, even honest proposers who correctly propagate state data point-to-point may be forced to pay the cost of publishing all state data to the mainnet to defend against challenges, causing pain for honest proposers. The cost of initiating a challenge must be proportional to the cost of defense to ensure that honest proposers cannot be attacked in this way.

In the worst case, if an attacker can spend $1 to make an honest proposer lose $1, they can force the proposer to give up and revert their blocks. Subsequently, a new honest proposer can bid, and they cannot cause permanent downtime unless the attacker can repeat the attack on all potential honest proposers, including everyone with funds. It is possible to add another clause that raises the cost of challenges if an effective block has been stuck for too long. This makes it easy to challenge a dishonest proposer, but impossible to permanently stop state transitions.

More optimistically, if nodes propagate data between peers, they can decide on their own data backup and accessibility solutions, while users are best off storing the data they need for their own state transitions locally. In the context of a specific application, I have considered encoding rollup states in ways entirely different from the EVM to optimize for this. All state relevant to a particular user account can be encoded as the same hash value, so users can more easily verify changes to their own account without needing to know the global state (i.e. confirm that you received the amount of tokens you wanted in an exchange without worrying about where exactly they came from).

Summary

I would love to hear people’s thoughts and for people to provide links to relevant work. Unlike regular optimistic rollups, it is easy in optimistic rollups to determine whether submitted calldata matches the state root of the mainnet, and whether both are valid, but it is impossible to know from the state root alone whether an update is valid, so careful consideration of the economic issues of the challenge period and griefing is necessary.

We will continue to update Blocking; if you have any questions or suggestions, please contact us!

Share:

Was this article helpful?

93 out of 132 found this helpful

Discover more

Blockchain

Korean or Korean? Bittrex Dreams New York

In June 2015, the New York Financial Services Department (NYDFS) became the first pioneer to develop a regulatory fra...

Blockchain

IMF urges Philippine central bank to collect crypto exchange transaction data and use data for macroeconomic analysis

According to Cointelegraph reported on January 2, the International Monetary Fund (IMF) urged the Philippine Central ...

Blockchain

How to establish a compliant cryptocurrency exchange following the consecutive lawsuits against Binance and Coinbase?

Let's talk about the SEC's charges against Coinbase, which won't surprise any lawyer practicing in the United States ...

Blockchain

Interviewed 800 crypto traders in 75 countries around the world. What did they find?

"Traders look for simplicity, but the exchange can't meet it. 80% of participants have entered the market f...

Blockchain

After carrying a huge debt and shutting down TradeBlock, the former crypto empire DCG is now struggling for survival with one arm.

As the liquidity crisis in encryption erupted, the market declined, and the previous blind expansion and investment h...

Blockchain

Hong Kong's anti-acquisition new deal will take effect, and the "coin stock" of the fire currency will be renamed as a risk

Tongcheng Holdings Co., Ltd. (HK1611) issued an announcement proposing to change the company name to Firecoin Technol...