Skip to content

Commit

Permalink
EIP-4844: add data_gas_used (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
yperbasis authored Jun 2, 2023
1 parent 4862127 commit cdc6e21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion execution/execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ message Header {
types.H256 transaction_hash = 16;
optional types.H256 base_fee_per_gas = 17;
optional types.H256 withdrawal_hash = 18;
optional types.H256 excess_data_gas = 19;
optional uint64 data_gas_used = 19;
optional uint64 excess_data_gas = 20;
}

// Body is a block body for execution
Expand Down
3 changes: 2 additions & 1 deletion types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ message ExecutionPayload {
H256 block_hash = 14;
repeated bytes transactions = 15;
repeated Withdrawal withdrawals = 16;
optional H256 excess_data_gas = 17;
optional uint64 data_gas_used = 17;
optional uint64 excess_data_gas = 18;
}

message Withdrawal {
Expand Down

0 comments on commit cdc6e21

Please sign in to comment.