主页EIPs周刊
EIPsEIP-7703
EIP-7703

Increase calldata cost

Increase calldata cost to decrease the maximum block size
DraftStandards Track: Core
创建时间: 2024-05-07
William Morriss (@wjmelements)
社区讨论原文链接编辑
1 分钟了解
欢迎补充好内容
去提交
相关视频
欢迎补充好内容
去提交
正文

Abstract

An adjustment in the Ethereum calldata cost which reduces the maximum possible block size and allows a higher block gas limit.

Motivation

Larger blocks take longer to propagate through the network. In this way, the maximium potential block size is constraining the block gas limit. Therefore, in order to safely increase the block gas limit, the calldata gas must be increased.

Specification

  • Increase G_CALLDATAZERO from 4 to 12.
  • Increase G_CALLDATANONZERO from 16 to 48.

Rationale

Tripling the gas cost of calldata reduces the maximimum possible block size by a factor of three.

Backwards Compatibility

Activation can cause some transactions to revert due to the increased gas costs. Ahead of activation, eth_estimateGas could be calculated using the new parameters in order to provide results viable for activation, avoiding out-of-gas reverts.

Security Considerations

No security issues have been found.

Copyright and related rights waived via CC0.

扩展阅读
欢迎补充好内容
去提交

不想错过最新的 EIP 动态?

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

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