Ethereum zkRollup and zkEVM: The Future and Challenges of Scaling Technology

robot
Abstract generation in progress

The encryption economy is not just a technological revolution

The encryption economy is far more than just a simple technological revolution. Many practitioners and enthusiasts find it difficult to adapt to this field, primarily because its cycles are too pronounced and the fluctuations are extremely intense. In a bull market, ordinary people do indeed have the opportunity to achieve tenfold or even hundredfold returns, but losses in a bear market can be equally severe. Regardless of who it is, once entering the encryption field, investment will become a required course.

The main reason for the current bear market is the capital tightening caused by the Federal Reserve's interest rate hikes. The crazy yields of decentralized finance ( DeFi ) are a thing of the past, and the yields of mainstream lending protocols are generally below 2%. In contrast, the yield on US Treasuries in the real world has exceeded 3%, prompting institutional investors and stablecoin projects to continuously transfer funds from the encryption field to purchase government bonds.

Since the 1980s, the Federal Reserve has experienced a total of 6 interest rate hike cycles, each lasting 1-3 years, with an average of up to 10 hikes. The slower the pace of rate hikes, the worse the effects, making it harder to curb inflation. For example, the 6th interest rate hike process from 2015 to 2018 was slow, and the prices of raw materials, led by crude oil, rose instead of falling. After October, crude oil prices remained strong, which may prompt the Federal Reserve to continue its aggressive rate hike policy. There is no doubt that in 2023, global stock markets and the encryption market will continue to face pressure from institutional capital withdrawal, the bottom of the bear market has not yet arrived, and it is not advisable to bottom-fish easily.

Although the Crypto bear market has not yet reached the bottom, I firmly believe in Ethereum zkRollup

Optimistic about Ethereum zkRollup scaling solution

Putting aside the large cycle of the capital market, from the perspective of the transformation of encryption technology and the potential wave of Web 3.0 it may trigger, we are firmly optimistic about Ethereum and its zkRollup expansion solutions, especially the zkRollup solutions based on the new generation zkEVM.

Ethereum founder Vitalik Buterin stated at a conference on September 30: "After the merge, Ethereum's next step is scalability." Scalability is a core issue that hinders many cryptocurrencies and blockchain applications from becoming mainstream. It is well known that zkRollups can achieve scalability by bundling hundreds of transactions into a single execution task and verifying all transactions within that single task.

With Vitalik's strong support, Rollup has become the mainstream solution for Ethereum's scalability. Rollup solutions can be divided into Optimistic Rollup and zkRollup based on their technical types, and the main difference between the two lies in the method of ensuring transaction validity. Optimistic Rollup uses a fraud proof scheme, while zkRollup utilizes mathematical zero-knowledge proofs.

In the Optimistic Rollup network, there is a challenger role that can prove the existence of fraud in the data submitted to Ethereum, and then roll back invalid transactions through network consensus. In contrast, zkRollup uses zero-knowledge proof technology when batch processing transaction data, directly submitting proof to Ethereum based on the guarantee of the validity of transaction data, achieving immediate consistency of the final state.

Compared to Optimistic Rollup, zkRollup uses zero-knowledge proofs for mathematical verification, offering more technical advantages. Certain projects have been engaging in forward-looking exploration in this field for many years.

However, the EVM was not designed to support zero-knowledge proofs, which makes it very difficult to build a virtual machine that is compatible with Solidity and supports zero-knowledge proofs. To address this issue, some projects are developing virtual machines that support zero-knowledge proof computation and are compatible with Solidity, namely zkEVM. Unlike ordinary virtual machines, zkEVM can prove the correctness of execution, including the validity of inputs and outputs used during execution.

Although the bottom of the Crypto bear market has not yet arrived, I remain optimistic about Ethereum zkRollup

The Necessity of Redesigning zkEVM

Some projects compile bytecode into micro-operation code, use STARK to generate validity proofs for state transitions, and submit them to Ethereum for verification after using SNARK to validate the correctness of the proofs. Other projects have schemes that are somewhat similar but only use Halo 2 as their zero-knowledge proof method.

There are also projects that compile contract code written in Solidity into Yul(, an intermediate language that can be compiled into bytecode) for different virtual machines, and then recompile the Yul bytecode into a customized, circuit-compatible bytecode set specifically designed for its zkEVM.

Are these systems good enough to be put into production? Do we need to redesign a better zkEVM? zkRollup typically uses zero-knowledge protocols to prove and aggregate all transactions before publishing the aggregated proof to the chain. In principle, this means that the layer 1 chain can verify a short "proof" covering thousands of complex transactions, with no possibility of cheating. However, after the release of certain zkEVM testnets, it was found that the reality is not ideal—the process of generating proofs is very slow, taking dozens of minutes to execute a few transactions.

Some projects have optimized the structure of zkEVM and redesigned it to make it more efficient than all existing zkEVMs. The main reason is that it adopts a well-designed layered structure, compressing the redundant wasted space in the circuit and the size of the commitment polynomials, ultimately shortening the time required to generate proofs. At the same time, its Sequencer runs an Ethereum node, receiving user transactions, generating new states, and creating special zkEVM-friendly Traces. The Folder acts as a proof generator, obtaining this Trace from the Sequencer and using a large number of small tables ( instead of one large table ) to process it, which will greatly reduce redundancy and improve the speed of proof generation.

Although the Crypto bear market bottom has not yet been reached, I remain optimistic about Ethereum zkRollup

The Necessity of Faster Zero-Knowledge Proofs

SNARK is concise, but its efficiency is not as good as STARK. However, STARK seemed outdated when FOAKS emerged. Since speed is the bottleneck of zkEVM, comparing computational efficiency is of significant importance. STARK achieves quasi-linear proof and verification times, faster than SNARK, but noticeably slower than FOAKS. FOAKS is the world's first ZKP to achieve linear proof time and sub-linear verification time, reaching theoretical extremes. FOAKS is transparent and does not require any trusted setup, which means it maintains the highest level of security.

FOAKS is based on linearly time-encodable codes, making it the fastest among all existing ZKP schemes. Moreover, due to the use of recursive techniques, the proof size is reduced to 1/7 of existing schemes, allowing end users to enjoy Ethereum Layer 2 services for just one cent.

The Necessity of Independent Data Availability Layer

Currently, zkRollup mainly focuses on reducing the computational burden of validating transactions. This is particularly important for Ethereum, as validating the execution of complex smart contracts is very costly. However, Ethereum nodes still need to store the original transaction data simultaneously. This is not wise, as Ethereum is better suited to serve as a consensus layer rather than a storage layer, which means that scalability bottlenecks still exist—when nodes are impacted by insufficient bandwidth and storage ( rather than insufficient computation ).

This is why Ethereum needs a separate data availability layer to store these raw transaction data, to prevent the freezing of the entire smart contract due to zkRollup server or Ethereum node failures. More importantly, it decouples the costs of layer two from layer one, and further reduces the transaction costs of zkRollup based on zkEVM by over half.

Although the bottom of the Crypto bear market has not yet arrived, I remain optimistic about Ethereum zkRollup

View Original
This page may contain third-party content, which is provided for information purposes only (not representations/warranties) and should not be considered as an endorsement of its views by Gate, nor as financial or professional advice. See Disclaimer for details.
  • Reward
  • 5
  • Share
Comment
0/400
SandwichVictimvip
· 07-07 16:46
The market is not good, let's work on some technology.
View OriginalReply0
SchrodingerProfitvip
· 07-07 11:15
Increase the position or Cut Loss, in hesitation.
View OriginalReply0
airdrop_whisperervip
· 07-06 23:52
The bear market has become numb.
View OriginalReply0
PumpDoctrinevip
· 07-04 22:28
Expand the chain and expand a der! It's just the market manipulator dumping.
View OriginalReply0
BankruptcyArtistvip
· 07-04 22:22
How about the Bear Market? Follow zk to surge.
View OriginalReply0
Trade Crypto Anywhere Anytime
qrCode
Scan to download Gate app
Community
English
  • 简体中文
  • English
  • Tiếng Việt
  • 繁體中文
  • Español
  • Русский
  • Français (Afrique)
  • Português (Portugal)
  • Bahasa Indonesia
  • 日本語
  • بالعربية
  • Українська
  • Português (Brasil)