icon_install_ios_web icon_install_ios_web icon_install_android_web

Bài viết mới của Vitalik Buterin: Sự khác biệt giữa Ethereum L2 và phân mảnh lớp thực thi là gì?

Phân tích7 tháng trước发布 6086cf...
103 0

Bài báo gốc: How do layer 2s really differ from execution sharding?

Biên soạn bởi: Odaily Planet Daily Asher

Bài viết mới của Vitalik Buterin: Sự khác biệt giữa Ethereum L2 và phân mảnh lớp thực thi là gì?

One of the points I made two and a half years ago in my “ Endgame ” article was that , at least technically, different paths forward for blockchain looked strikingly similar.

In both cases, there are a large number of transactions on the chain, and processing these transactions requires: (i) a lot of computation; (ii) a lot of data bandwidth. Ordinary Ethereum nodes, such as the 2 TB reth archive node running on the laptop used to write this article, are not powerful enough to directly verify such a huge amount of data and computation, even with excellent software engineering work and Verkle trees . Instead, in the L1 sharding and rollup-centric world, ZK-SNARKs are used to verify computation and DAS are used to verify data availability. In both cases, DAS are the same and ZK-SNARKs are the same technology, except that in one case they are smart contract code and in the other they are a sacred function of the protocol. In a real technical sense, Ethereum is doing sharding, and rollups are sharding.

Bài viết mới của Vitalik Buterin: Sự khác biệt giữa Ethereum L2 và phân mảnh lớp thực thi là gì?

This naturally leads to the question: what is the difference between these two worlds? One answer is that the consequences of coding errors are different: in the rollup world, coins are lost, while in the sharded world, you have consensus failures.

But it is expected that as protocols solidify and formal verification techniques improve, the importance of bugs will decrease. So what are the differences between these two visions, and can we expect them to persist in the long term?

Diversity of execution environments

One idea that was briefly discussed in Ethereum in 2019 was execution environments . Essentially, Ethereum would have different “zones” that could have different rules for how accounts work (including completely different approaches like UTXO), how the virtual machine works, and other features.

This allows for diversity of approach across various parts of the stack, which would be difficult to achieve if Ethereum tried to do everything on its own.

In the end, some of the more ambitious plans were abandoned, leaving only the EVM. However, Ethereum L2 (including rollups, valdiums, and Plasmas) can be said to have ultimately served as an execution environment.

Today, the focus is often on L2 equivalents to the EVM, but this ignores the diversity of many alternative approaches:

  • Arbitrum Stylus : adds a second WASM-based virtual machine to the EVM;

  • Nhiên liệu : uses a UTXO-based architecture similar to Bitcoin (but more comprehensive);

  • Aztec : Introduces a new language and programming paradigm designed around privacy-preserving smart contracts based on ZK-SNARKs.

Bài viết mới của Vitalik Buterin: Sự khác biệt giữa Ethereum L2 và phân mảnh lớp thực thi là gì?

UTXO-based architecture Source: Fuel document

Trying to make the EVM a super virtual machine that covers all possible paradigms would compromise the implementation of each concept, and it would be better to let these platforms specialize.

Security Tradeoffs: Scale vs. Speed

Ethereum L1 provides really strong security guarantees. If certain data is inside a block finalized on L1, the entire consensus (including social consensus in extreme cases) works to ensure that this data cannot be edited to violate the rules of the application that put this data inside the block, ensure that any execution triggered by this data cannot be undone, and ensure that this data remains accessible.

To achieve these guarantees, Ethereum L1 is willing to accept high costs. At the time of writing, transaction fees are relatively low: L2 transactions cost less than 1 cent each , and even L1 costs less than $1 for a basic ETH transfer. If technology advances quickly enough and the growth of available block space keeps up with demand, then these fees may remain low in the future, but they may not.

And for many non-financial applications, like social media or games, even $0.01 per transaction is too high. But social media and games don’t need the same security model as L1. It doesn’t matter if someone can revert their lost chess game for a million dollars, or make one of your tweets look like it was posted three days after it was actually posted.

Therefore, these applications should not pay the same security costs. L2-centric approaches enable this by supporting a range of data availability methods from rollups ĐẾN plasma ĐẾN validiums .

Bài viết mới của Vitalik Buterin: Sự khác biệt giữa Ethereum L2 và phân mảnh lớp thực thi là gì?

Different L2 types are suitable for different use cases ( click here to read more )

Another security tradeoff arises around the problem of asset transfer from L2 to L2 . It is expected that in the future (5-10 years), all rollups will be ZK rollups, and super-efficient proof systems with lookup functions such as BiniusCircle STARKs , coupled with a proof aggregation layer, will make it possible for L2 to provide final state roots in each time slot. But currently it can only be a complex mixture of optimistic rollups and ZK rollups under various proof time windows.

If execution layer sharding had been implemented in 2021, the security model for keeping the shards honest would have been optimistic rollups, not ZK — so L1 would have had to manage systemically complex fraud proof logic on-chain, and have a week-long withdrawal period when moving assets between shards. But like the code bug, this issue was ultimately temporary.

Transaction speed is the third and more permanent aspect of the security tradeoff. Ethereum has a block every 12 seconds and is reluctant to go faster because it would over-centralize the network. However, many L2s are exploring block times of a few hundred milliseconds.

12 seconds isn’t too bad: users submitting transactions have to wait about 6-7 seconds on average for them to be included in a block (not just 6 seconds, because the next block might not include them). This is comparable to the time you have to wait when paying with a credit card. But many applications require higher speeds, and L2 can provide that.

To provide this higher speed, L2 relies on a pre-confirmation mechanism: L2s own validators digitally sign a promise to include the transaction at a certain time, and if the transaction is not included, they will be punished. A mechanism called StakeSure takes this a step further.

Bài viết mới của Vitalik Buterin: Sự khác biệt giữa Ethereum L2 và phân mảnh lớp thực thi là gì?

L2 Pre-confirmation

Now one could try to implement all of this at L1. L1 could include a system of fast pre-confirmations and slow final confirmations. It could include different shards with different levels of security. However, this would increase the complexity of the protocol. Additionally, doing all the work at L1 would risk overloading consensus , because many approaches to greater scale or faster throughput have higher risks of centralization or require stronger forms of governance, and if done at L1, the impact of these stronger requirements would ripple through to other parts of the protocol. By providing these trade-offs at Layer 2, Ethereum can largely avoid these risks.

What challenges does Ethereum’s L2-centric ecosystem face?

Ethereum’s L2-centric approach faces a key challenge that L1-centric ecosystems don’t face nearly as much: coordination. In other words, while there are many forks of Ethereum, the challenge is to maintain its fundamental property that all of Ethereum feels like “Ethereum” and has Ethereum’s network effects, rather than N independent chains. Today, this situation is unsatisfactory in many ways:

  • Moving tokens from layer 2 to another typically requires centralized bridge platforms and is very complex for the average user. If you have tokens on Optimism, you can’t just paste someone else’s Arbitrum address into your wallet and send them funds.

  • Cross-chain smart contract wallet support is not very good for both personal smart contract wallets and organizational wallets (including DAOs). If you change the key on one L2, you also need to change the key on every other L2.

  • Decentralized validation infrastructure is generally lacking. Ethereum is finally starting to get decent light clients, such as Helios . But it doesn’t make sense if all activity happens on L2, which all requires its own centralized RPC. In principle, it’s not hard to make light clients for L2 once you have an Ethereum headchain; but in practice, too little attention has been paid to this.

Efforts are underway to improve all three. For cross-chain token swaps, the ERC-7683 standard is an emerging option that, unlike existing “centralized bridges,” does not have any fixed central operator, token, or governing body.

For cross-chain accounts, most wallets take the approach of using cross-chain replayable information to update keys in the short term and keystores in the long term. Light clients for L2 are beginning to appear, such as Beerus for the Starknet network. In addition, recent efforts to improve the user experience through next-generation wallets have solved some more fundamental problems, such as users no longer needing to manually switch to the correct network to access dapps.

Bài viết mới của Vitalik Buterin: Sự khác biệt giữa Ethereum L2 và phân mảnh lớp thực thi là gì?

Rabby displays a comprehensive view of asset balances on multiple chains (something that wallets didn’t have until recently)

But it is important to recognize that an L2-centric ecosystem does swim upstream to some extent when trying to coordinate.

Individual L2 institutions have no natural economic incentive to build infrastructure to coordinate: small L2 institutions do not, because they can only gain a small portion of the benefits from their contributions; large L2 institutions do not, because they can gain just as much or more from strengthening their own local network effects.

It’s not like there’s a magical perfect solution to this problem. It’s just that the ecosystem needs to more fully recognize that cross-L2 infrastructure is a type of Ethereum infrastructure, just like L1 clients, development tools, and programming languages, and should be valued and funded. Currently, there is the Protocol Guild , and perhaps the Basic Infrastructure Guild.

bản tóm tắt

In public discussions, Ethereum L2 and execution layer sharding are often described as two opposing strategies for how to scale blockchains. However, when looking at the underlying technology, a conundrum emerges: the actual underlying scaling methods are exactly the same, with the main difference being: who is responsible for building and updating the corresponding components, and how much autonomy do they have?

The Ethereum L2-centric ecosystem is sharding in the true technical sense, but within sharding, you can create your own shard with your own rules. This approach is very powerful and allows for a lot of creativity and autonomous innovation. But it also presents some key challenges, especially in terms of coordination.

For an L2-centric ecosystem like Ethereum to succeed, it must understand these challenges and address them head on to gain as many benefits as possible from an L1-centric ecosystem and get as close to the best of both worlds as possible.

This article is sourced from the internet: Vitalik Buterin’s new article: What is the difference between Ethereum L2 and execution layer sharding?

Có liên quan: Cơ sở tăng, BSC giảm: Thảo luận chuyên sâu về khoảng cách trên chuỗi giữa Cơ sở và BSC

Nguồn: CapitalismLab Giá Aeromes đã trải qua một vòng, và Base đã một mình hỗ trợ đỉnh 1 B Mcap, 2B FDV, gấp trăm lần đồng xu, thể hiện sức mạnh của mình. Các tác động tích cực bên ngoài mà nó mang lại cũng đã tiếp tục hồi sinh hệ sinh thái Base. Mặt khác, BSC vẫn chưa đạt được bất kỳ tiến triển nào ngay cả sau khi chiếc giày rơi trong vòng này. Khoảng cách ở đâu? Chuỗi này sẽ sử dụng điều này làm điểm khởi đầu để thảo luận và bình luận về khoảng cách giữa hai CEX trên chuỗi trong vòng này. Lý do tại sao Coinbase rút Aero rất đơn giản. Như thể hiện trong hình bên dưới, trong quá khứ, các dự án đã khuyến khích thợ đào DeFi bằng các ưu đãi trực tiếp. Ví dụ: đối với mã thông báo dự án có giá trị $2, thợ đào có thể nhận thêm $1 từ DEX…

© 版权声明

相关文章