Ethereum Drafts New Gas Rules for Validator Deposits

Lời nói đầu: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.

Miễn trừ trách nhiệm

Các ý kiến ​​trong bài viết này chỉ thể hiện quan điểm cá nhân của tác giả và không phải lời khuyên đầu tư. Thông tin trong bài viết mang tính tham khảo và không đảm bảo tính chính xác tuyệt đối. Nền tảng không chịu trách nhiệm cho bất kỳ quyết định đầu tư nào được đưa ra dựa trên nội dung này.
Bài viết trước

Các sàn giao dịch Hàn Quốc tạm dừng chuyển CYBER do nghi ngờ vụ khai thác cầu nối

Bài tiếp theo

3 sự kiện có thể làm biến động giá Bitcoin trong tuần lễ Tạ ơn