HOKIE: Is Rollups centralized?

2021-11-11 15:11:00

Ethereum is extremely crowded at present. There are too many transactions that need to be bundled into each block. To make matters worse, most of these transactions are computationally intensive (i.e., require a lot of computing), like flash loans or transactions made through aggregators. Gone are the days of simple transfers and payments (before DeFi).

Ethereum must process and record every line of calculation for every transaction until the Rollups arrive.

Rollups moves calculations down the chain, where only minimal transaction data is stored. Rollups handles all the messy data processing and exponentially increases the volume of smart contracts contained in a single Ethereum block by batching transactions (" rolling up ").

The problem Rollups was trying to solve (namely, "network congestion due to computing overload ") even gave us a vague idea of a Rollup solution (i.e.," move computing down the chain "). But as for how Rollups work, what they look like, and why they excite us, we need to dig a little deeper.

What is Rollup?

Each Rollup is essentially a separate blockchain, but with some modifications. Like Ethereum, each Rollup protocol has a "virtual machine" that executes the smart contract code. Rollup's virtual machine runs independently of Ethereum's own virtual machine, EVM, but is managed by an Ethereum smart contract. This linearity allows Rollups to communicate with Ethereum. Rollup executes the transaction and processes the data, and Ethereum receives and stores the results.

On a technical level, the key difference between Rollup and other more traditional blockchains is the way new blocks are generated.

Typically, a blockchain is a decentralized network maintained by multiple parties (i.e., "miners" or "verifiers," depending on the type of consensus on the blockchain). These parties co-produce blocks by consensus. Simply put, the parties vote on how to process a set of transactions, or in other words, how to build the next block. The block with the majority of support will be permanently written to the blockchain.

By contrast, Rollup chains do not run by majority rule. Instead, a single party monitoring Rollup status can send so-called "assertions" to Ethereum (L1 base layer) about how a particular batch of transactions should be processed. Importantly, Ethereum will independently accept or reject this assertion, whether or not it is supported by the majority of other parties to this Rollup. In practice, this usually means that a single party in the Rollup chain is assigned the task of processing the transaction and production blocks.

And so on... Rollups is centralized, right?

This centralized nature of Rollup block production is part of why Rollups can process transactions so efficiently. But this also raises an obvious and worrying question: how can Rollups ensure block production is correct without majority consensus? What happens if the block producer happens to be malicious?

This centralization confuses crypto users who are used to consensus-based blockchains. In fact, if the story were to end there, we might (wrongly) conclude that Rollups is just "a database copied by a single side," as Avalanche co-founder Kevin Seqniqi recently tweeted (wrongly).

In fact, this accusation of Rollup centralization is more of a logical misunderstanding than a false one. In general, centralized blockchains without robust consensus mechanisms are indeed vulnerable to corruption and hostile takeovers; However, in Rollups' unique case, this lack of decentralization is not actually a problem for their security or reliability. To understand why this is the case, we need to take a deeper look.

The importance of data availability

Rollups is like "moving smart contract computing down the chain, where only minimal transaction data is stored."

In fact, this last part, "storing transaction data on the chain," is crucial to the way Rollups works. In a Rollup chain, only computation (data processing) takes place down the chain, and each Rollup transaction still stores its input data (i.e., "calldata") on Ethereum.

What is the importance of keeping transaction data on the chain? In the math homework metaphor, the piece of paper we eventually handed to the teacher included long division problems and their answers, which allowed the teacher to check our work even if we didn't write individual steps on it. Similarly, the persistent availability of on-chain data means that any computation on Rollup can be repeated by the Ethereum base layer.

In short, Rollup's on-chain data availability allows for a built-in review process. Before transactions are permanently booked, Ethereum can "double check" the integrity of transactions processed on the Rollup chain -- almost like the us Supreme Court's judicial review power.

Limitations are an advantage

Therefore, the key feature of Rollups is their limitations. Rollups only pushes transactions to the (Ethereum) base layer; They cannot force base acceptance, as Ethereum can overturn any Rollup transaction if necessary. Because they are subject to this review process, Rollup transactions are considered to lack true finality.

Given this limitation of Rollups, we can return to the unresolved charge of Rollups centralization above. A single block producer in Rollup may attempt to process transactions maliciously, but if it does, Ethereum (base layer) will simply reject the batch after the review process is complete and the block producer will be penalized.

Currently, how the "review process" works depends on whether Optimistic Rollup or ZK Rollup. But in both cases, the review process is far more efficient than Ethereum could handle transactions on its own.

In summary, the Rollup system is based on "checks and balances", which ensures that Ethereum always remains a sovereign chain: Ethereum's own consensus is the final arbiter of truth.

The side chain, however, is different. Lacking the same review process, side chains handle transactions through their own, completely independent consensus mechanism. Side chain deals are "finality" ina way that Rollup deals are not (until they are confirmed on Ethereum). Therefore, side chains require a greater assumption of trust, as they cannot benefit from Ethereum's own decentralized security. In fact, I think side chains are more similar to EVM compatible Layer 1 than Rollup.

conclusion

To recap: Rollups moves calculations off the chain to free up more on-chain space. The availability of data on the chain is critical because it allows Ethereum to double-check the reliability of Rollups transactions. This review process in turn acts as a "check" on Rollup block production, eliminating the need for a consensus mechanism.

Rollups eventually allowed Ethereum to have its cake and eat it: they freed up more on-chain capacity without compromising the decentralized security of the network. At least in my opinion, this is the most elegant scalable solution we could hope for.

鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播信息之目的,不構成任何投資建議,如有侵權行為,請第一時間聯絡我們修改或刪除,多謝。

推薦文章

Uniswap公告Unichain主網明年初上線!首測路線圖兩功能,UNI強彈17%

去 中心化交易所(DEX)龍頭 Uniswap 於 10 月宣佈推出專為 DeFi 設計的 Lay...

DaFi Weaver
7 20小時前

下周必關注|LayerZero決定是否开啓“費用开關”;Aligned空投注冊結束(12.23-12.29)

下周重點預告 12 月 23 日 Aligned 將向 891322 個地址空投 26% 的 AL...

星球日報
8 20小時前

一周代幣解鎖:下周無高比例或金額重大的代幣解鎖

下周,共有 8 個項目解鎖,其中沒有重大解鎖,MOCA 解鎖流通量的 2.9% 。 Metars...

星球日報
7 20小時前

空投周報 | OpenSea基金會官推上线;Azuki、Doodles疑似即將發幣(12.16-12.22)

@OdailyChina @web3_golem Odaily星球日報盤點了 12 月 16 日至...

星球日報
8 20小時前

區塊鏈的達摩克裏斯之劍:一文讀懂谷歌新量子芯片對區塊鏈的影響

前言:谷歌推出了量子芯片 Willow 可以在 5 分鐘之內便完成了當今最快的超級計算機都需要 1...

星球日報
8 20小時前

資金費率的演變:從2021年黃金時代,到2024-2025年套利復興

資金費率起源 資金費率起源於加密貨幣衍生品市場,特別是從永續期貨合約中發展而來。它作為一種機制,用...

Block Beats
10 1天前