HomeEIPsNewsletter
EIPsEIP-7703
EIP-7703

Increase calldata cost

Increase calldata cost to decrease the maximum block size
DraftStandards Track: Core
Created: 2024-05-07
William Morriss (@wjmelements)
Discussions ForumOriginal Proposal LinkEdit
1 min read
Anyone may contribute to propose contents.
Go propose
Video
Anyone may contribute to propose contents.
Go propose
Original

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 maximum 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 maximum 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.

Further reading
Anyone may contribute to propose contents.
Go propose

Not miss a beat of EIPs' update?

Subscribe EIPs Fun to receive the latest updates of EIPs Good for Buidlers to follow up.

View all
Serve Ethereum Builders, Scale the Community.
Resources
GitHub