Cointime

Download App
iOS & Android

Vitalik's Art of Tradeoffs: Which features should the Ethereum protocol encapsulate?

Validated Media

In September, Vitalik Buterin, the founder of Ethereum, weighed the pros and cons of "enshrinement" in his blog post titled "Should the Ethereum Protocol Encapsulate More Functionality?" This provided readers with clues about the future development direction of Ethereum. This article will introduce the concept of "enshrinement" and how it will affect Ethereum's roadmap.

Concept of "Encapsulation"

From the traditional definition of software development, encapsulation refers to a method of wrapping and hiding the implementation details of abstract function interfaces. However, in the context of Ethereum, "encapsulation" refers to the ability to directly execute more functions on the main chain, and these functions may have previously relied on external software implementation. The newly encapsulated functions will become "protocol functions".

In the blog post mentioned earlier, Vitalik Buterin discussed Ethereum's original "minimalist encapsulation philosophy". The idea is to keep the basic Ethereum L1 layer as simple as possible while relying on off-chain solutions (such as rollups) to gain additional functionality and new features.

However, he now believes that it may be necessary to make some adjustments to the "minimum encapsulation philosophy". Next, we will further explore the advantages and disadvantages of the "minimum encapsulation philosophy".

"Minimal Encapsulation Philosophy"

"Minimal encapsulation" refers to encapsulating specific functions in the blockchain, simplifying execution without imposing strict rules. For example, the Ethereum protocol does not need to encapsulate a complete liquidity staking system (such as stETH launched by Lido), but only needs to encapsulate specific parts of the functionality that solve key challenges. This will help implement the function in a simple way and avoid making it more complex.

Ethereum's core developers have always tried to keep the base layer clean, simple, and secure. Building new features on top of the Ethereum protocol is mainly the responsibility of the rest of the Ethereum community. As Vitalik Buterin put it, Ethereum was created to "verify blocks as a virtual machine." One of the key advantages of this approach is that hard forks can easily be described as a single transaction of the block processor contract. Other advantages of the minimalist structure include flexibility to meet different user needs and avoid software bloat.

However, with the development of the industry, the community has realized that encapsulating more functionality may improve the Ethereum protocol, such as reducing gas fees, enhancing security, and reducing centralization risks.

Encapsulation of ERC-4337

In 2023, the account abstraction, a new feature of Ethereum, caught everyone's attention. Account abstraction, also known as ERC-4337, was written by Vitalik Buterin and five other developers and is a token standard that introduces account abstraction. Account abstraction brings new features such as smart contract wallets and the ability to pay gas fees to Ethereum users using ERC-20 tokens. These user-friendly features are expected to accelerate the adoption of cryptocurrencies and crypto wallets, and have therefore gained widespread anticipation.

Over the years, the account abstraction has undergone multiple revisions. It has evolved from an Ethereum Improvement Proposal called EIP-86 to its final form, ERC-4337. As an ERC, the account abstraction does not require a hard fork and exists independently of the Ethereum protocol at a technical level.

Now, Vitalik Buterin believes that certain parts of the encapsulated ERC-4337 have obvious advantages. This standard is beneficial for improving censorship resistance, gas efficiency, and supporting Ethereum Virtual Machine (EVM) opcodes.

If implemented through external software, attackers may exploit vulnerabilities in the entry point contract to steal funds. Conversely, encapsulating ERC-4337 will replace its entry point contract as a protocol function, making user funds more secure. Additionally, as part of the L1 protocol, gas fees are lower for users when using encapsulated account abstraction due to lower storage costs.

Encapsulating PBS will help solve Ethereum's centralization risk

Encapsulation can promote decentralization and create a trustless system. Encapsulating PBS (proposer/builder separation) is a good example. In the Ethereum blockchain, proposers are validators who sell their block production rights to builders who specialize in extracting the maximum extractable value (MEV) from the blocks. Proposers win MEV rewards in this process, while block builders retain a portion of the MEV rewards for themselves.

Currently, validators use the third-party solution FlashBot's mev-boost to access the builder's market. This solution is currently widely popular, accounting for 90% of the generated Ethereum blocks. To eliminate the centralization risk of mev-boost, there is currently a push to encapsulate PBS, which will allow PBS to be executed in the consensus layer of the Ethereum protocol. This will free the builder's market within the protocol from the control of third-party centralized networks (known as "relays") acting as auction houses in the mev-boost market.

Encapsulating ZK-EVM and Liquidity Staking Functionality

Vitalik Buterin said that since the birth of the Ethereum project, efforts have been made to keep the core Ethereum as simple as possible by building protocols on top. However, there has recently been cautious interest in incorporating more functionality into the core Ethereum protocol. In addition to the aforementioned account abstraction, this feature can enable smart contract wallets to support key functions such as account freezing and recovery. ZKEVM (i.e. zero-knowledge proof-based virtual machine) also improves transaction processing efficiency in a secure and reliable manner by leveraging advanced cryptography. In theory, encapsulating account abstraction and ZKEVM can provide more effective methods for addressing vulnerabilities.

About ZKEVM, ERC-4337 also plays a role in this area, but the focus is more on scalability rather than account abstraction. The ZK protocol functionality can promote the diverse philosophy of Ethereum clients. Encapsulating ZKEVM will enable Ethereum's social consensus to handle special cases, thereby reducing the need for additional governance in the rollup ecosystem. However, Ethereum's encapsulation of ZKEVM may face challenges because the data that can be stored on the Ethereum blockchain is limited. However, this problem can also be alleviated by compressing more data with ZKEVM.

Vitalik Buterin believes that if ZKEVMs do not need to carry "witness" data, their data efficiency will be higher. In other words, if certain data has already been read or written in previous blocks, it can be assumed that the verifier can access it without providing evidence again.

The encapsulation of liquidity staking function can prevent centralization of validators. Typically, liquidity staking involves locking or staking cryptocurrencies on PoS blockchains and receiving corresponding tokens from platforms such as Lido, which can also be used for DeFi. If there is a dominance of a single token, it may lead to a single governance tool that is vulnerable to attack controlling most of the Ethereum validators. Protocols such as Lido have provided more protection against this, but one layer of defense may not be enough.

Encapsulation requires a flexible middle ground

When the complexity of the Ethereum protocol is pushed to the outer layer, there may be centralization risks, and encapsulation can avoid this situation. However, excessive encapsulation can overload the trust and governance of the protocol, thereby damaging its neutrality. Protocol complexity also brings system risks, such as the need to add more complexity for pre-coding.

Therefore, when it comes to encapsulation, Vitalik Buterin is taking a flexible middle ground. He is still enthusiastic about encapsulating private mempools to help users alleviate issues such as front-running transactions. Like mev-boost, the private mempool solution is also provided by third-party providers, which has raised concerns about centralization and trust.

Comments

All Comments

Recommended for you

  • Ethereum liquidity re-staking agreement TVL exceeds $10.1 billion, of which Eigenpie TVL exceeds $800 million

    According to DeFiLlama data, the current TVL of Ethereum liquidity re-staking protocol is 10.177 billion US dollars, of which the top five protocols ranked by TVL are:

  • Blockchain SaaS Solution AfriDex Completes $5 Million Pre-Seed Round of Funding, Led by Endeavor Ventures

    AfriDex, a blockchain software-as-a-service solution based in London, UK, has announced the completion of a $5 million Pre-Seed round of financing, with Endeavor Ventures leading the investment and African Crops Limited, Oldenburg Vineyards, and Hank Oberoi participating. AfriDex currently focuses primarily on the agricultural market, providing support and protection to supply chain participants through comprehensive on-chain solutions, utilizing blockchain technology to achieve traceability, frictionless payments, fraud prevention, verified authentication, simplified tax and subsidy management.

  • Bitget Wallet launches $10 million ecosystem fund and plans to issue BWB tokens this quarter

    Bitget Wallet announced the launch of a $10 million ecosystem fund in collaboration with Onchain Layer. The ecosystem fund is denominated in Bitget Wallet's native token BWB, which is planned to be released this quarter. It is reported that BWB is the native token of the exchange's self-hosted wallet with the same name, similar to Trust Wallet's token (TWT). The new fund will accelerate the development of Bitget Onchain Layer and support project construction.

  • Chinese Police Dismantle $1.9B Smuggling Ring Using USDT Stablecoin

    Chinese police have dismantled a large-scale underground banking scheme involved in smuggling operations valued at $1.9 billion. The illicit network used Tether's stablecoin USDT to facilitate the smuggling of pharmaceuticals, cosmetics, and the purchase of prohibited goods overseas. The crackdown coincides with China's nationwide observance of "May 15" Publicity Day for Combating and Preventing Economic Crimes. Police have arrested 193 suspects nationwide, including ring leaders Lin, Weng, Chen, and other unnamed individuals.

  • NYC-based Prediction Market Polymarket Raises $70M in Funding to Expand Operations and Development Efforts

    NYC-based prediction market, Polymarket, has secured $70 million in funding from investors including Founders Fund, 1confirmation, ParaFi, Vitalik Buterin, Dragonfly, and Kevin Hartz. The funds will be used to expand operations and development efforts. Polymarket, founded by Shayne Coplan, allows traders to predict the outcome of future events and react to breaking news in real-time, with market prices conveying the likelihood of important events. The platform has already seen a record $202 million worth of predictions made in 2024 across politics, current events, pop culture, and more.

  • Philippines central bank approves peso stablecoin pilot

    The Philippines central bank has authorized Coins.ph to initiate a pilot program for a new Philippine Peso-backed stablecoin, PHPC, under its Regulatory Sandbox Framework. This pilot aims to integrate PHPC into significant remittance channels to enhance the efficiency of transactions within the substantial Philippine remittance market. Coins.ph plans to launch the stablecoin by early June, following comprehensive real-world application testing to potentially achieve full regulatory approval.

  • The Sonne Finance hacker address has exchanged 56 WBTC into about 1,185 ETH

    According to PeckShield's monitoring, Sonne Finance hacker address 0x6277...4c07 has exchanged 56 WBTC for approximately 1,185 ETH and 3 WBTC for 183,000 DAI.

  • ECB Governing Council: We are likely to start cutting interest rates in June

    ECB committee member Villeroy stated that it is very likely that we will begin cutting interest rates in June.

  • Vitalik Buterin: ZK-SNARKs and other technologies are inefficient, and Ethereum aims to achieve real-time proofs

    Vitalik Buterin, the founder of Ethereum, gave a keynote speech titled "Reaching the Limits of Protocol Design" at the 2024 Hong Kong Web3 Carnival. Vitalik Buterin stated that technologies such as ZK-SNARKs, MPC, and FHE have efficiency and security issues. Ethereum's slot block time is 12 seconds, the average block verification time is about 400 milliseconds, and the ZK-SNARK proof time is about 20 minutes. Ethereum's goal is to achieve real-time proof. Regarding the current low efficiency issue, Vitalik stated that the solution is "parallelization and aggregation trees", using SNARK algos and hash to improve efficiency, and using ASIC for ZK hardware acceleration.

  • Vitalik: Humanity needs to create a world where blockchain and artificial intelligence work together

    Vitalik Buterin, the founder of Ethereum, stated at BiddleAsia 2024 held at Signiel Seoul in the Songpa district on March 28 that artificial intelligence is a huge market and its importance is increasing day by day. We need to create a world where blockchain and artificial intelligence work together. Artificial intelligence can now create applications with 100 to 500 lines of code. Vitalik also stated that the ability to write 10,000 lines of code can eliminate most of the bugs in the Ethereum virtual machine.