Ethereum Proposes Changes to Gas Accounting for Validator Deposits
Ethereum developers propose new gas rules for validator deposits, aiming to improve gas accounting and address data size concerns in deposit transactions.

Refining Gas Accounting for Validator Deposits
In a bid to refine the gas accounting system for validator deposits, Ethereum developers are proposing new measures to accurately gauge the impact of the data generated by deposit requests. Currently, the gas metrics account for the deposit execution, yet they overlook an additional 192-byte request resultant from each deposit event that gets included in the block. This omission can effectively allow for a higher data payload than the initial gas calculations permit, as there is currently no universal limit on the number of deposit requests a block can accommodate—only gas serves as a constraint.
Concerns with Current Proposals
Both EIP-8131 and EIP-8279 have not addressed this extra request byte issue, which could possibly lead to deposits being exploited to circumvent established gas floors after EIP-8279 successfully seals loopholes related to cold storage reads. A relay contract can make repeated calls to the deposit contract, each incurring a gas cost of about 26,000, which is still below the threshold where the gas floor for zero-byte calldata begins to raise overall costs.
This could result in a situation where the total data payload per block approaches 1.44 times the gas limit divided by 64, compared to about 1.15 times previously. The concern mainly revolves around the size of the data, hence the proposal specifically targets this.
Implementation Challenges
Notably, a log entry tied to the deposit contract counts as 192 bytes before actually adding the log, similar to the mechanism employed in EIP-6110 for transforming logs into requests. Implementing this check would necessitate additional work from client developers to incorporate and verify the changes.
Impact on Depositors
Importantly, regular depositors are not expected to incur higher fees; the execution cost for standard deposits is already above the new proposed minimum, meaning the additional 12,288 gas will primarily serve to elevate the minimum charge rather than increase costs on users. As of now, this proposal has not been earmarked for any upcoming network upgrades.
Also in other languages: РусскийDeutschFrançaisItalianoEspañol