EIP-3756: Gas Limit Cap
Set an in-protocol cap for the gas limit
作者 | lightclient |
---|---|
讨论-To | https://ethereum-magicians.org/t/eip-3756-gas-limit-cap/6921 |
状态 | Stagnant |
类型 | Standards Track |
分类 | Core |
创建日期 | 2021-08-21 |
英文版 | https://eips.ethereum.org/EIPS/eip-3756 |
摘要
Set an in-protocol cap for the gas limit of 30,000,000.
动机
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.
规范
As of the fork block N
, consider blocks with a gas_limit
greater than 30,000,000
invalid.
基本原理
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.
向后兼容性
No backwards compatibility issues.
测试用例
TBD
Security Considerations
No security considerations.
版权声明
Copyright and related rights waived via CC0.
参考文献
Please cite this document as:
lightclient, "EIP-3756: Gas Limit Cap [DRAFT]," Ethereum Improvement Proposals, no. 3756, August 2021. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-3756.