Discussion topic for EIP-7999; PR; Web.
Description
Let transactions specify one aggregate max_fee
for multiple resources, unify the fee markets, normalize gas, and generalize EIP-7918.
Relevant resources
- Vitalik Buterin’s research posts from 2022 and 2024. EIP-7706 which is a precursor to the proposed design.
- Multidimensional gas metering by Maria Inês Silva and Davide Crapis.
- Maria Inês Silva’s research post on gas repricing in multiple dimensions.
- A commit for EIP-7742 in an unmerged pull request, which uses a rather similar gas normalization as proposed in this EIP.
Thanks for feedback to Maria Inês Silva, Toni Wahrstätter, Julian Ma, Davide Crapis, Barnabé Monnot, and Francesco D’amato.
Abstract
A unified multidimensional fee market is introduced, where each transaction specifies the maximum amount of ETH it is willing to pay for inclusion using a single max_fee
. Upon inclusion, the protocol ensures that the transaction is able to pay the gas for all dimensions, treating the max_fee
as fungible across resources. This enables a more efficient use of capital, and enshrines the same representation that users have when they interact with Ethereum. The fee market is further unified in terms of a single update fraction under a single fee update mechanism, generalized reserve pricing, and a gas normalization that retains current percentage ranges while keeping the price stable whenever a gas limit changes. Calldata is proposed as the first resource to be added, with avenues for facilitating gas fungibility for EVM resources considered for further expansion.