主页EIPs
EIPsEIP-3756
EIP-3756

Gas Limit Cap

Set an in-protocol cap for the gas limit
StagnantStandards Track: Core
创建时间: 2021-08-21
lightclient (@lightclient)
社区讨论原文链接编辑
1 分钟了解
欢迎补充好内容
去提交
相关视频
欢迎补充好内容
去提交
正文

Abstract

Set an in-protocol cap for the gas limit of 30,000,000.

Motivation

A high gas limit increases pressure on the network. In the benign case, it increases the size of the state and history faster than we can sustain. In the malicious case, it amplifies the devastation of certain denial-of-service attacks.

Specification

As of the fork block N, consider blocks with a gas_limit greater than 30,000,000 invalid.

Rationale

Why Cap the Gas Limit

The gas limit is currently under the control of block proposers. They have the ability to increase the gas limit to whatever value they desire. This allows them to bypass the EIP and All Core Devs processes in protocol decisions that may negatively affect the security and/or decentralization of the network.

No Fixed Gas Limit

A valuable property of proposers choosing the gas limit is they can scale it down quickly if the network becomes unstable or is undergoing certain types of attacks. For this reason, we maintain their ability to lower the gas limit below 30,000,000.

Backwards Compatibility

No backwards compatibility issues.

Test Cases

TBD

Security Considerations

No security considerations.

Copyright and related rights waived via CC0.

扩展阅读
欢迎补充好内容
去提交
相关项目
欢迎补充好内容
去提交

不想错过最新的 EIP 动态?

订阅 EIPs Fun 周刊以跟进相关更新,建⽴你与 EIP 之间的连接 ,更好地建设以太坊。

详情
支持以太坊贡献者,推动生态建设
资源
GitHub
支持社区