Will zkEVM be the Savior of Ethereum?

Huobi Research发布于2022-02-18更新于2022-02-18

文章摘要

This article compares the features of two mainstream Rollup solutions and points out that zkRollup has better performance but poor compatibility, thus limiting its application scope. zkRollup needs to include zkEVM's to be able to run all kinds of general-purpose smart contracts in order to address the above shortcomings. The main points of zkEVM and the characteristics of two different technical routes are then described, and the mainstream projects of zkEVM are introduced. Finally, it is envisioned that ZKEVM will act as a savior for Ethereum in the near future to help expand the capacity of Ethereum, and has the possibility to play a role on other public chains in the longer term.

No doubt that Ethereum has become the superstar public chain that runs thousands of smart contracts on it. However, the traffic is so busy that “traffic jams” could often been spotted, even a “highway” like Ethereum must confront a long queue of transactions to be packed and sent, even though the toll (gas fee) could be enormous. The network congestion was not beyond expectation. An earlier incidence dating back to 2018 , a game named Crypto Kitten, had the privilege to bring about the weakness of Ethereum in handling mass transactions, let alone the number of users and Dapps have soared to several times of those in 2018. Ethereum has bear the burden of being the avant-garde, dragging it slower and slower as time goes by ; an update to alleviate the congestion cannot wait. not dropped significantly; when denominated in US dollars, the handling fee has risen to a certain extent due to the increase in the price of ETH.

What if there is a Layer 2 solution that could offer fast and secure transaction with low gas fee, highly compatible with vast majority of smart contracts and Dapps yet private enough without the controversial week-long waiting time, would you make it in your wish list? In fact, this nearly perfect Layer 2 solution could probably be live in the market in the near future.

What could Layer 2 and Rollup Do?

The most well-known ETH 2.0 is like a massive renovation of “the highway”; the process will eventually be slow since the renovation is naturally difficult to implement and benefits of various parties are involved. If it were to exempt a direct renovation on “the highway” by implementing ETH 2.0, a Layer 2 solution is more or less an indirect solution that it creates overpasses above “the highway” in order to achieve scaling. The mainstream Layer 2 scaling technique is Rollup: it handles more transactions without taking up space by compiling data. In other words, larger data packs could commute like a bus on " the highway" instead of cars with limited capacity, thus more passengers, data, in this case, could be transported.

Rollup could be classified by whether it interacts with proofs submitted to Layer 1. There are 2 Rollup technical tracks. One is the Interactive Rollup. For short, we identify one-round interaction and multi-round interaction as Optimistic Rollup (OP Rollup), Arbitrum, Boba Network and Optimism are some outstanding projects in this category: the number of projects in the ecosystem and TVL skyrocket in this year, and the TVL of this three projects occupied almost 70% of the whole Layer 2 market. The other is Non-interactive, also know as ZK Rollup; exemplary projects in this track are dYdX, Loopring and zkSync. They have a comparatively smaller market share.

If Optimistic Rollup were the innocent and romantic Juliet girl, longing for a love fairy tale with Romeo in a perfect world, ZK Rollup would be more like a considerate office lady, tact and neat. For immature ideas from an innocent girl would consume a large amount of time to be proven, and the result would not be necessarily right. Just as how it performs in Optimistic Rollup: the fraud proof could still be flawed even after a week-long verification period. However, the neat office lady, ZK Rollup, prefers a much faster and result-driven “state proof”. As the nature of verification differs, ZK Rollup outperforms OP Rollup with better performance, lower transaction fee and unconstrained exit time.

Defects of ZK Rollup

Compatibility is the main defect of ZK Rollup compared to OP Rollup. As illustrated in the below, ZK Rollup is only compatible with payment and transaction types of applications, while OP Rollup supports a variety more, lacking appropriate development of ZK Rollup, which leads to the mere 3.6% market share of Layer 2 in the whole Ethereum in terms of TVL.

ZK Rollup submits Zero Knowledge Proof to Ethereum mainnet as an effective proof; the inherent complexity of generating Zero Knowledge Proof triggers low compatibility with most applications. In the intricate process, logic of codes must be first converted to a mathematical circuit, not only including basic calculations such as plus or minus, and also accompanied with convoluted logic such as “and”, “or”, “Not”, Hash, bit operation,and other operations on smart contracts. Moreover, this diagram could only support plus and multiplication calculations, and Ethereum opcode is not Zero Knowledge Proof friendly as it was not designed to do so. Furthermore, the most frequently deployed Hashing method, such as AEW-128 or SHA-256, consist of enormous bit operations(“and” and “or” commands); it would be extremely complicated and substantial when converted to gate constraints in the cir.

We need ZK EVM

The current ZK Rollup has constructed a parallel path above the Ethereum boulevard. However, it is more like a bike trail that could only carries out simple transactions, whereas loaded trucks like smart contracts are too heavy to pass. In this case, should ZK Rollup conquer a larger market share by running smart contracts and produce proofs on Layer 2 in order that verification on mainnet could pass faster, a special virtual machine, ZK EVM, must be in place.

There are two key requirements under this circumstance. First, ZK EVM could be compatible with current EVM that codes on Layer 1 could be executed immediately on Layer 2. Second, ZK EVM must be capable of producing proofs for various operations while consuming less computation and storage resources.

Luckily, thanks to the vast development of Zero Knowledge Proof, a new algorism, “Plonk Zero Knowledge Proof”, has come to earth that accelerates the landing of ZK EVM. “Plonk Zero Knowledge Proof” does not produce the proof by calculating the whole circuit from head to toe; instead, it only verifies constraints in the circuit. That is to say, two points make a line, and to draw a line only need two points. Just as shown in the following chart, as long as the gate constraint and the copy constraint are verified, the whole circuit could be verified. In addition, the new algorism sets a trust mark to the whole unit instead of partially trusted, the verification process thus speeds up.

Tech Tracks of zEVM

There are two mainstream tech tracks:First, EVM friendly projects which embed Zero Knowledge Proof in current EVM. It aims to provide further support to native EVM opcode that codes are still executed in EVM and completely compatible with solidity commands. Applied ZKP and Hermez draw the most attention in this track.

Second, Zero Knowledge Proof friendly projects that build EVM with the foundation on Zero Knowledge Proof friendly opcode. This track focuses on the redesign of virtual machine that codes executed here could generate Zero Knowledge Proof much easier. That is to say, the original Zero Knowledge Proof unfriendly codes would be modified, adapting EVM developer tools in order to maintain compatibility with solidity.

The appealing point of EVM friendly track is compatibility. It is completely compatible with current ecosystem and developer tools, well inherited the credited security model from Ethereum. From the overview of Ethereum ecosystem, this kind of update would be so gradual that current projects could be transferred smoothly before anyone could notice once succeeded. However, as mentioned above, Zero Knowledge Proof will also be generated for those commands deviating from the generation of proofs, which may consume enormous resource along the way. Ethereum. From the overview of Ethereum ecosystem, this kind of update would be so gradual that current projects could be transferred smoothly before anyone could notice once succeeded. However, as mentioned above, Zero Knowledge Proof will also be generated for those commands deviating from the generation of proofs, which may consume enormous resource along the way.

Zero Knowledge Proof friendly track wins over in terms of flexibility. It does not strictly generate proofs for every single command, and code to a set of commands that is more Zero Knowledge Proof friendly instead. Throughout the transformation of codes, Zero Knowledge Proofs are generated while the functions of smart contract are sustained. As a result, it could potentially prevail that avant-garde projects are more likely to be attracted to participate by the tempting benefits of considerately smaller workload and less difficulties to be encountered. However, extra workload may be conducted to transform EVM codes to intermediary codes, especially in the case of replacing the most frequently deployed Keccak Hash functions with other functions. It remains mysterious that if the process of this transformation could be flawless that comes with extra security and compatibility problems.

Table 2:Advantages, shortcoming and outstanding projects of the two zkEVM technology tracks

Typical projects

zkSync 2.0

ZkSync 2.0 is a representative project in the second track mentioned above. Which is Zero Knowledge Proof friendly. The updated version of zkSync 1.0, zkSync 2.0, would be a much better solution that is EVM compatible. Matter Lab explored various technical implementation plans, including TinyRam, Optimized Special Ops, Recursive TinyRam is a simple and traditional random browser for R1SC circuit (a commonly used circuit in Zero Knowledge Proof). It processes logic from smart contract and generate circuit for common opcodes. However, the consumption could be tremendous: The amount of gates in TinyRam could be thousand times more than that in normal fixed circuit. In other words, in a normal fixed circuit, an “add” calculation could be done via merely one gate, whereas 1000 gates must be involved in TinyRam; the more gates, the higher the gas fee. Even though TinyRam is somewhat inefficient, it has minor influence on the whole consumption structure because a rather small percentage is reserved in dealing with logic. This is a tradeoff between efficiency and compatibility, which the latter weighs more for ZKEVM.

Except, there are some longer commands in EVM, such as CALL, DATACOPY, EXP, CREATE, and so on. These commands are naturally unfriendly to circuit proof. For these special commands, zkEVM of zkSync inserted Optimized Special Ops accordingly in order to facilitate the expression of these longer commands in EVM via specially designed codes as intermediary.

To enhance verification efficiency, EVM added Recursive Aggregation. Through Recursive Aggregation, those proofs, which originally must undergo the verification process separately, only need to be transformed a binary tree as root proof and verified; it is sufficient enough to verify that all proofs from leaf nodes are correct. Thus, verification efficiency is elevated.

As mentioned above, Zero Knowledge Proof friendly tech track employs the method of recreating a set of opcode to support Zero Knowledge Proof, which is much less impracticable that ZkSync 2.0 might be the first mature product in the market. Matter Labs has already launched closed beta for zkSync 2.0 that runs Uniswap V2; a trial experience to the Testnet is recommended if more relevant information is desired. The team has not announced the official schedule for the mainnet launch; it is likely that more tests must be conducted in order to confirm the security settings for this typical zkEVM.

Hermez

Hermez devoted to obtain full compatibility to Dapps of Ethereum by exploiting nativeommand set of EVM. It enables an optimized implementation from existing tools and ecosystem on Ethereum with higher security.

However, some native EVM commands are reluctant to Zero Knowledge Proof. The team alter the tough codes to some intermediary codes, micro opcode, to express the same logic that could be accepted. This kind of intermediary codes are customized and optimized; Zero Knowledge Proof is more likely to be generated in this case. Therefore, a balance is more likely to be achieved between maximizing Zero Knowledge Proof generation and optimizing compatibility of EVM, in the middle between the two tracks.

As native opcode of EVM requires executing environment, intermediary opcode is subject to a typical environment-uVM. UVM is composed by ROM and Main SM, and Main SM consists of various SM that could handle multiple functions.

Let’s dive into how Hermez produces proofs according to the program logic. A program has to be executed step by step no matter how complicated the logic is. For instance, extracting a number, completing a calculation, responding to a condition, jumping to another string, etc, the program reiterates various execution of commands until an ending condition is encountered. Although the trace, which represents the pathway of execution and number of executions, could be random, the result would be still within a certain scope of possible outcomes. That is to say, even though the program could not determine the specific route to go through, it would proceed on one of the Hermez stores these certain intermediary opcode in ROM, and configures responding codes according to different storage locations and commands characteristics, namely rom(x). During the process of program execution, a real opcode would be generated according to each operation, namely instTrace(x). Plookup algorism could be utilized in the process of verifying instTrace(x) is a subset of rom(x).

One could not identify a song if he or she could not hear the melody that belongs to the typical song. The same thing applies when identifying a program: A program is determined to be falsely executed if codes being executed are not genetically part of the program.

An assumption was made earlier by someone anonymous: It would be irrational to consider a program is correctly executed if it follows certain paths but in misplaced order. From my perspective, it is controversial to conclude the status of program execution merely by how it is executed. ZkEVM need, and only need to verify the exact codes of smart contract to be executed on Layer 2. Other possible glitch or the order of codes execution should not be part of zkEVM verification; developers who write and deploy the smart contract should be concerned.

In terms of proving the consistency of storage, Hermez utilize the prove of correlation for key-values. Compared to Applied ZKP, Hermez introduced Hash and Merkle Tree; a considerable amount of hash computations exist. However, the consumption for generating Zero Knowledge Proof by Hashing could be enormous, Hermez has not declared any official treatments in this case. From my own perspective, and consistent with the logic mentioned earlier this article, as long as the fixed logic is executed and verified, the degree of completion is entirely beyond concern.

The next proofs from SM could be integrated as a whole to be sent and verified by the verifiers.

Last but not least, Hermez employs a large amount of polynomial promises: the proof being generated is zk-STARK instead of zk-SNARK. Zk-STARK constitute a large proportion of storage, deviating from the principle that Rollup is born to minimize the amount of data submitted to Layer 1. As a result, Hermez proposed that a proof could be synthesized for a typical proof: A STARK proof could be generated first, PLONK or Groth 16 coule then come to play the role in synthesizing a shorter proof. It is commensurate with two separated compilation that directly reduce the consumption of the verifier and save unnecessary occupation of Layer 1 storage, achieving the function of scaling.

Hermez team prepares to launch Testnet in Q4 2021, and Mainnet in Q2 2022. Stay

AppliedZKP

Except zkSync 2.0 and Hermez, the construction of the “overpass” cannot be whole without AppliedZKP. An interesting topic is first spotted on AppliedZKP: Bus Mapping.

The inherent logic of Bus Mapping is to deal with storage and computation independently. When corresponding data is correctly read by a group of codes, executed in a preset order and intervened the account status, it would be considered as an effective execution. They categorized proof to “Status Proof” and “EVM Proof”. “Status Proof” is the final outcome that operations of status/storage/stacks are correctly executed, while EVM confirms the correct codes are executed within certain time range. With these two proofs in appearance, Ethereum Mainnet would be capable of authenticating whether programs are being executed on Layer 2.

To be more specific, “Status Proof” must match the status of operations related to storage completed in the EVM. An EVM storage is composed by 3 parts: Storage, Memory and Stack. “Status Proof” has to provide proof to each part respectively. Bus Mapping plays a role as a gateway transporting data between computation module and storage module. “Status Proof” would be the one to communicate with the computation module that data transported in Bus Mapping is consistent with that in the storage module.

The reflection of Bus Mapping includes two operations according to status. One is to read the old status, the other is to rewrite a new status. Storage status (applicable for Storage, Memory and Stack) is organized by sorts of key-values , a confirmation of receiving the correct data is equal to a confirmation that data transported by Bus Mapping match the data in storage status. Furthermore, plookup algorism would be employed to verify that the keys and values transported by Bus Mapping are inside the source being read; keys and values match each other. Thus, plookup finishes the verification process, in other words, academically, a relationship of subset between two data sets is confirmed.

Plookup first transforms the proof of bit operation to the verification that if input and output match the default setting in the lookup table, and then to the summary of whether the group of vectors is inclusive of another. By doing so, the number of Gate Constraints could be reduced, therefore efficiency levels up.

Proof of EVM need to confirm every single operation in the program, including calculation (plus, minus, multiplication and division), logic operation (“and” , “or” and “not”), program redirect (call), etc.. Each step requires to undergo an entire process of realizing opcode, defining constraints and EVM execution result, confirming elements of execution step in order to complete the EVM circuit.

Summary and Expectations

For Ethereum, the well-known “highway”, ZK Rollup has increased total transaction volume over 500 times, boosting TPS to 2000, which is on the par with current VISA payment system. After vast development of ZKEVM, ZK Rollup would be capable of handling more cases and providing comprehensive support for various applications, thus stands out to be a pioneer in the Rollup market.

Pressure of traffic on Ethereum could be enormously alleviated thanks to faster transportation of data. On one hand, in this case, Ethereum stands a better chance in the fierce competition of newly emerged public chains, such as Solana, Avalanche, Fantom, etc.. As a result, these public chains lost comparative advantage in terms of performance so that they have to differentiate from each other and employ more innovative strategies in order to attract users and grow their ecosystem. On the other hand, more newly launched projects could deploy on Ethereum with a lower cost and still benefit from the mature and powerful Ethereum ecosystem. In all, ZKEVM is the key. We believe that the development of technology would eventually make everything mentioned above true. Perhaps, the discussion of ZKEVM should not be in the scale of “whether ZKEVM would come” any more, but “when ZKEVM would come” instead.

Besides, ZKEVM is not the finish line of Rollup. The future of Rollup could way beyond our imagination rather than a temporary transition. According to Vitalik, for Ethereum, Rollups are more than likely to be the sole scalable solution without trust in the short run, or even long term. The volume of Rollup could be optimized by the reduction of gas fee for the calldata part in the block, cutting more than 5 times cost down, which is less than 1% of that in Layer 1; when Sharding is successful, scalability of Rollup could be amplified exponentially that further curtails the transaction fee to negligibly low.

Rollup could prevail among all public chains other than Ethereum. A newly developed district would be sparsely populated because very few could perceive and embrace the advanced philosophy of design; traffic jam might not be an issue at this time. So are the public chains. However, traffic would be eventually accumulated to a certain level that may cause traffic jam, an “overpass” is necessary sooner or later to sooth the situation. Rollup remains indispensable considering possible consequences that may appear in the future, and ZKEVM would play a vital role in the challenges yet to come.

你可能也喜欢

Marvell 大涨 32% 后,藏在背后的华人芯片家族浮出水面

Marvell股价单日大涨32.5%,创历史新高,过去一年涨幅达265%。其直接催化因素是英伟达CEO黄仁勋在Computex大会上将Marvell的定制ASIC和光互连技术称为“AI数据中心架构的核心”。这背后浮现出一个华人芯片家族——戴氏兄妹及其家族的产业网络。 戴家三兄妹均毕业于加州伯克利电子工程专业。小妹戴伟立与丈夫Sehat Sutardja于1995年在硅谷创办Marvell。大哥戴伟民于2001年在上海创办芯原股份,成为中国“半导体IP第一股”。二哥戴伟进创办的图芯后来被芯原收购。 过去三十年,戴氏兄妹及其关联家族共创立或深度参与六家公司,其中两家上市,四家被并购。他们精准踩中了半导体产业多次范式切换的节点:从PC时代(无晶圆厂模式、EDA工具)、移动互联网时代(IP授权、嵌入式GPU),到如今的AI与后摩尔时代(芯粒、先进封装、AI专用芯片)。 更深层的是“戴+Sutardja”两个华人家族的联姻与合作,构筑了一张横跨中美、连接产业链多环节的产业网络。戴家在中国半导体生态根基深厚,而Sutardja家族则拥有延伸至东南亚和欧洲的工程师网络与产能调度能力。他们共同投资或孵化了至少15家公司,覆盖芯粒时代所需的IP、互连标准、封装工厂、专用计算芯片等关键层面,形成了一个规模可观、分散但协同的资产组合。 Marvell此轮上涨的逻辑在于抓住了AI数据中心的新瓶颈:定制ASIC和高速互连。而戴+Sutardja家族的产业布局,如芯原(一站式ASIC定制)、Silicon Box(先进封装工厂)、以及被Arm收购的Dream Big(AI SuperNIC)、被高通收购的Alphawave(高速互连IP)等,均与这一逻辑高度重叠。他们走的是一条提供开放标准关键组件、构建核心产能、并通过并购或本土龙头模式实现价值的路径,虽难以诞生下一个平台巨头,却能在产业生态中持续保有重要影响力和多次成功退出的机会。

marsbit47分钟前

Marvell 大涨 32% 后,藏在背后的华人芯片家族浮出水面

marsbit47分钟前

微软很怕被AI巨头架空

微软与OpenAI的亲密联盟正在瓦解。2026年6月的Build开发者大会上,微软CEO纳德拉发布了七款自研AI模型、AI工作站及企业Agent治理平台,核心目标是摆脱对OpenAI的依赖。 转折点发生在4月27日,双方修订协议:微软对OpenAI模型的独家授权变为非独占,OpenAI可与其他云服务商合作,微软也不再支付收入分成。这意味着微软用130亿美元筑起的护城河被打破,从独家伙伴变为众多云服务商之一。 尽管微软AI业务年化收入达370亿美元,但主要来自为OpenAI等公司提供算力,赚的是基础设施的钱。其直接面向用户的Copilot市场份额却在下滑,用户活跃度不高,微软面临“赚钱但不是主角”的困境。 为此,微软将战略重心转向企业市场。Build大会聚焦开发者和企业,推出了AI工作站、Agent治理平台和安全容器等,旨在构建企业AI的操作系统——即管理、合规和安全运行各类AI模型的平台层。纳德拉押注:当模型本身日益成为可替换的基础设施时,控制企业AI的管理平台将成为新的制高点。 其深层焦虑在于,随着OpenAI和Anthropic筹备上市并获得独立算力,它们对Azure的依赖将降低,可能动摇微软的AI收入根基。因此,微软必须抢在盟友完全独立前,构筑更深层的、不可替代的企业服务生态,以避免从AI时代的驾驶员再次沦为旁观者。

marsbit1小时前

微软很怕被AI巨头架空

marsbit1小时前

CPU,悄悄回到了AI算力的舞台中央

过去三年,AI算力的焦点几乎全在GPU上,CPU长期被视为次要的“配套”角色。然而,2026年起,这一叙事开始出现变化。英特尔推出至强6+处理器,强调其在AI基础设施中作为“控制平面”的角色,负责编排、并发与数据流动,而非仅仅是GPU的辅助。 这种转变源于AI工作负载的变化。早期重心是高度并行的大模型训练,GPU占绝对主导。但随着AI进入推理与智能体时代,工作负载转变为部署已训练模型到实际业务中,涉及大量任务调度、多模型协作、并发请求处理和数据流管理。这类编排任务GPU并不擅长,反而成为了新的系统瓶颈。因此,CPU在处理这些“周边算力需求”上变得至关重要。 至强6+的产品定义反映了这一判断:它采用高密度能效核设计,核心数多达288个,重点追求多任务并发吞吐能力,而非传统意义上的单核峰值性能。这瞄准了智能体AI所需的高密度、高能效工作负载。 然而,CPU的“回归”并非英特尔一家之事,也面临多重挑战:英伟达通过Grace CPU等方案试图整合CPU角色;主要云厂商纷纷自研高能效ARM架构CPU;同时,至强6+所依赖的Intel 18A制程也需在良率、性能上与台积电N2等竞争。 总而言之,随着AI从集中训练迈向大规模智能体部署,负责系统编排和数据流动的CPU价值被重新发现和定义。虽然CPU回归AI算力核心舞台的趋势已现,但最终由哪家厂商主导这场回归,答案仍未可知。

marsbit1小时前

CPU,悄悄回到了AI算力的舞台中央

marsbit1小时前

交易

现货
合约

热门文章

加密市场宏观研报:美国“加密货币周”来袭,ETH开启机构军备赛高潮

本周,加密市场迎来两股重磅催化——华盛顿“加密货币周”的立法攻势与以太坊机构布局的密集爆发,共同构成加密行业2025年下半年的“政策拐点”与“资金拐点”。这一轮加密周期的深层逻辑,正从比特币转向以太坊、稳定币及链上金融基础设施。我们认为:美国的政策明朗化+以太坊的机构化扩展,标志着加密行业正进入结构性转正阶段,市场配置的重心亦应逐步从“价格博弈”过渡至“规则+基础设施的制度红利捕捉”。

1.7k人学过发布于 2025.07.17更新于 2025.07.17

加密市场宏观研报:美国“加密货币周”来袭,ETH开启机构军备赛高潮

相关讨论

欢迎来到HTX社区。在这里,您可以了解最新的平台发展动态并获得专业的市场意见。以下是用户对ETH(ETH)币价的意见。

活动图片