看到大家认可那些为协议增加硬不变量(hard invariants)的升级总是让人很高兴——这些改动能够提升协议安全性,并增强未来的适应能力。 2021 年:EIP-2929 + EIP-3529(提高 SLOAD 的 gas 成本、削弱退款机制) 2024 年:SELFDESTRUCT 削弱(Dencun 升级) 2025 年:每笔交易 16,777,216 gas 的上限 这些改动为单个区块或单笔交易中可发生的操作量设定了不同形式的硬性上限,彻底消除了整类 DoS 风险,使客户端代码能够进一步简化,并为提升效率开辟了更多选择。 我预计我们很快还会需要以下不变量: 限制可访问的合约代码字节数(短期:提高调用大型合约的成本;中期:采用二叉树结构 + 分片计价) 为 ZK-EVM 的证明器 cycles 设定上限(通过重新定价机制实现) 调整内存计价方式 以建立 EVM 最大内存消耗的更清晰硬性上限。 Always glad to see when people appreciate the protocol changes that add hard invariants, improving protocol security and future adaptability 2021: EIP-2929 + 3529 (SLOAD gas cost increase, refunds nerfed) 2024: SELFDESTRUCT nerf (Dencun) 2025: 16,777,216 gas per tx limit All of these put various kinds of hard caps on how much can happen within a single block or a single transaction, eliminating entire classes of DoS risk, enabling client code simplification, and creating more options for how to increase efficiency. Invariants I expect we will want soon: * Cap number of code bytes accessed (short term: increase cost of calling big contracts, medium term: binary tree + per-chunk pricing) * Bounds on ZK-EVM prover cycles (repricings) * Changes to memory pricing to create a clearer hard bound on max EVM memory consumption

Vitalik ButerinCo-founder, Ethereum
目录

观点原文

看到大家认可那些为协议增加硬不变量(hard invariants)的升级总是让人很高兴——这些改动能够提升协议安全性,并增强未来的适应能力。

2021 年:EIP-2929 + EIP-3529(提高 SLOAD 的 gas 成本、削弱退款机制)

2024 年:SELFDESTRUCT 削弱(Dencun 升级)

2025 年:每笔交易 16,777,216 gas 的上限

这些改动为单个区块或单笔交易中可发生的操作量设定了不同形式的硬性上限,彻底消除了整类 DoS 风险,使客户端代码能够进一步简化,并为提升效率开辟了更多选择。

我预计我们很快还会需要以下不变量:

限制可访问的合约代码字节数(短期:提高调用大型合约的成本;中期:采用二叉树结构 + 分片计价)

为 ZK-EVM 的证明器 cycles 设定上限(通过重新定价机制实现)

调整内存计价方式

以建立 EVM 最大内存消耗的更清晰硬性上限。

Always glad to see when people appreciate the protocol changes that add hard invariants, improving protocol security and future adaptability

2021: EIP-2929 + 3529 (SLOAD gas cost increase, refunds nerfed)

2024: SELFDESTRUCT nerf (Dencun)

2025: 16,777,216 gas per tx limit

All of these put various kinds of hard caps on how much can happen within a single block or a single transaction, eliminating entire classes of DoS risk, enabling client code simplification, and creating more options for how to increase efficiency.

Invariants I expect we will want soon:

  • Cap number of code bytes accessed (short term: increase cost of calling big contracts, medium term: binary tree + per-chunk pricing)
  • Bounds on ZK-EVM prover cycles (repricings)
  • Changes to memory pricing to create a clearer hard bound on max EVM memory consumption

ABAB AI 解读

白话解读(通俗到不行的版本)

说的其实就一句话:给以太坊加“硬性限制”,就像给系统上安全护栏,让它更安全、更稳定、更不容易被卡死或攻击。

过去几年,以太坊一直在做一件事:给各种操作设定“硬上限”——不允许单笔交易或单个区块做太多事。

为什么要这样做?

因为如果没有这些限制:

  • 有人可以在一笔交易里做“超级复杂的大操作”
  • 可能会把节点电脑直接“算爆”
  • 整个网络就会被拖慢、卡住,甚至被攻击

所以以太坊团队不断推出升级,目的都是:“不要让任何一笔交易把整个系统搞崩。”

比如:

  • 降低 SELFDESTRUCT 权限
  • 提高某些操作的成本
  • 给交易 gas 上限
  • 减少能一次性改动的东西

这些就是给系统“加硬规则”。

未来还要加的护栏是什么?

他列了三个方向,用白话解释就是:

1. 限制“大合约”的读取量

大合约太大、太复杂,一旦有人疯狂调用,会让网络变慢。

→ 所以要限制“合约越大,调用成本越贵”。

2. 限制 ZK-EVM 的计算量

ZK 证明可能超级耗算力,如果不加规则:

→ 某些交易可能需要“算半天”,把系统拉垮。

所以要加上限,让计算量受控。

3. 调整内存价格

不能让某些交易无限占用内存空间,否则:

→ 网络节点会被挤爆。

所以未来也要给内存使用加上硬性天花板。

一句话总结

以太坊正在全面“加护栏”,避免任何人用一笔交易就把网络卡死。未来还会继续强化这些护栏,让系统更稳、更快、更安全。

Ethereum

相关观点