Ethereum Drafts New Gas Rules for Validator Deposits

요약:Ethereum developers have proposed a change to gas accounting that would include the data created by validator deposits.

Ethereum developers want to change the gas accounting for validator deposits. The plan is to measure the request bytes that these deposit events create.

The gas calculation already accounts for executing a deposit. However, after the deposit is finished, a 192-byte request is passed along with the block. Those 192 bytes are excluded from the minimum gas charge, so the same gas limit might allow more data than the initial calculation accounts for.

The current issue

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

Source: Github

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

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

This results in a payload of about 1.44 times the block gas limit divided by 64, compared with about 1.15 times the same baseline.

Proposal targets request data

The main issue is the data size, so the proposal directly addresses the data.

A log from the deposit contract with the deposit event topic counts as 192 bytes before the log entry is added. This is the same condition EIP-6110 uses to turn logs into requests.

The cost of this would be another check that client developers would have to implement and test.

Users are not expected to pay more for regular deposits. The cost of executing a regular deposit 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.

면책 성명

본 기사의 견해는 저자의 개인적 견해일 뿐이며 본 플랫폼은 투자 권고를 하지 않습니다. 본 플랫폼은 기사 내 정보의 정확성, 완전성, 적시성을 보장하지 않으며, 개인의 기사 내 정보에 의한 손실에 대해 책임을 지지 않습니다.
전편

ECB, 토큰화된 예금·증권 실험 위한 업계 파트너 모색

다음

암호화폐 5%만 상승…연준 금리인상 우려