Ethereum Developers Propose Gas Rules to Count Validator Deposit Request Bytes

2 min read
Ethereum Developers Propose Gas Rules to Count Validator Deposit Request Bytes
PrimeXBT Editorial Team
Reviewed by PrimeXBT

Topics in article

Ethereum developers have proposed counting the request data that validator deposits create in gas accounting. Today those bytes escape the minimum gas charge, so the same gas limit could allow more data than calculated. The proposal has not yet been scheduled for a network upgrade.

Ethereum developers want to change gas accounting for validator deposits so it measures the request bytes that deposit events create.

Why deposit request bytes escape the gas floor

The gas calculation already covers executing a deposit. However, a 192-byte request travels with the block after the deposit finishes, and those 192 bytes fall outside the minimum gas charge. As a result, the same gas limit might allow more data than the initial calculation accounts for.

Under Gloas, there is no fixed cap on deposit requests per block, and the execution layer has not capped them either. Gas is the only limiting factor.

Neither EIP-8131 nor EIP-8279 accounts for those request bytes. Deposits could therefore become another way to bypass the gas floor once EIP-8279 closes the loophole involving cold storage reads.

How the bypass would work

A relay contract can call the deposit contract repeatedly, costing around 26,000 gas per deposit. In the author's example, that execution cost sits below the point where the gas floor for zero-byte calldata would start to raise the total charge.

The result is a payload of about 1.44 times the block gas limit divided by 64, compared with about 1.15 times the same baseline.

What the proposal changes for validator deposits

The proposal targets the data itself. A log from the deposit contract with the deposit event topic would count as 192 bytes before the log entry is added, the same condition EIP-6110 uses to turn logs into requests.

The cost is one more check that client developers would have to implement and test. Users are not expected to pay more for regular validator deposits, because their execution cost is already above the proposed minimum, so the extra 12,288 gas only raises the minimum charge.

The proposal has yet to be scheduled for a network upgrade.

Source: U.Today

Trading involves risk.

Author

PrimeXBT
Our Editorial Team consists of leading experts with a proven record in the fields of trading, cryptocurrencies, blockchain and finance. We thoroughly research the sources of information in order to provide readers with quality content that serves edu...
Read author’s articles
Alert Triangle Risk Disclaimer
Disclaimer: Some past publications may be outdated. We recommend following our news to stay up to date with the latest information. For any questions, feel free to contact our support team via the chat below.
The content provided here is for informational purposes only. It is not intended as personal investment advice and does not constitute a solicitation or invitation to engage in any financial transactions, investments, or related activities. Past performance is not a reliable indicator of future results.
The financial products offered by the Company are complex and come with a high risk of losing money rapidly due to leverage. These products may not be suitable for all investors. Before engaging, you should consider whether you understand how these leveraged products work and whether you can afford the high risk of losing your money.
The Company does not accept clients from the Restricted Jurisdictions as indicated in our website/ T&C. Some services or products may not be available in your jurisdiction.
The applicable legal entity and its respective products and services depend on the client’s country of residence and the entity with which the client has established a contractual relationship during registration.

Today in markets

Browse Crypto News

Register Now

Trading involves risk

Get started in minutes

Our clients love how fast and simple our sign-up is. It takes just a few minutes to get started!

Get Started Get Started
Get started in minutes

Need Help?

Risk Warning:
Trading in leveraged products carries a high level of risk and may not be suitable for all investors.