Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

Commit cdc6e21

Browse files
authored
EIP-4844: add data_gas_used (#172)
1 parent 4862127 commit cdc6e21

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

execution/execution.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ message Header {
4949
types.H256 transaction_hash = 16;
5050
optional types.H256 base_fee_per_gas = 17;
5151
optional types.H256 withdrawal_hash = 18;
52-
optional types.H256 excess_data_gas = 19;
52+
optional uint64 data_gas_used = 19;
53+
optional uint64 excess_data_gas = 20;
5354
}
5455

5556
// Body is a block body for execution

types/types.proto

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ message ExecutionPayload {
7575
H256 block_hash = 14;
7676
repeated bytes transactions = 15;
7777
repeated Withdrawal withdrawals = 16;
78-
optional H256 excess_data_gas = 17;
78+
optional uint64 data_gas_used = 17;
79+
optional uint64 excess_data_gas = 18;
7980
}
8081

8182
message Withdrawal {

0 commit comments

Comments
 (0)