Home > Quick > Body

Vitalik:引入多维执行 Gas 会在 EVM 层面带来一定的复杂性

clock
2024-05-09 08:03:07
以太坊联合创始人Vitalik Buterin发布最新博客《多维度 Gas 定价》。其中提到Gas融合了多种类型的 "努力",主要包括:原始计算(如 ADD、MULTIPLY)、读写以太坊存储(如 SSTORE、SLOAD、ETH 传输)、数据带宽、生成区块的ZK-SNARK 证明的成本。EIP-4844 在以太坊中首次引入了多维定价,新增了专门的 Blob 数据区,并为其设置独立的价格和限额。这一改进使得 Rollup 的成本降低了100倍,交易量提升了 3 倍以上,而理论最大区块体积仅小幅增加。此外,Vitalik还提出了两种实现多维 Gas 定价的方案:
1. 较为简单的是设置每笔交易的资源上限,即每笔交易的 Gas 取所消耗的数据和计算资源中的较大值计价,如 EIP-7623 所建议的。
2. 理想但更复杂的方案是为每种资源分别建立类似 EIP-1559 的动态调整机制。
Vitalik 强调,引入多维执行 Gas 会在 EVM 层面带来一定的复杂性,但为了安全地提升以太坊 L1 的可扩展性,这种权衡是值得的。社区还需要在方案的经济性和开发友好性方面进一步探索更优雅的设计。
Disclaimer:
1. The information provided does not constitute investment advice. Investors should make independent decisions and bear all risks themselves.
2. The copyright of this content belongs to the original author. The views expressed herein are solely those of the author and do not represent the stance or position of this website.
New Tab Page - Desk3 | Plugin
Stay ahead of the game in the cryptocurrency space.