Skip to content

Commit

Permalink
EIP-4844: Rename "data gas" to "blob gas" (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
yperbasis committed Jul 28, 2023
1 parent 2a4dcb5 commit bfae3ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions execution/execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ message Header {
types.H256 transaction_hash = 16;
optional types.H256 base_fee_per_gas = 17;
optional types.H256 withdrawal_hash = 18;
optional uint64 data_gas_used = 19;
optional uint64 excess_data_gas = 20;
optional uint64 blob_gas_used = 19;
optional uint64 excess_blob_gas = 20;
}

// Body is a block body for execution
Expand Down
6 changes: 3 additions & 3 deletions types/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ message VersionReply {
// Engine API types
// See https://github.com/ethereum/execution-apis/blob/main/src/engine
message ExecutionPayload {
uint32 version = 1; // v1 - no withdrawals, v2 - with withdrawals, v3 - with excess data gas
uint32 version = 1; // v1 - no withdrawals, v2 - with withdrawals, v3 - with blob gas
H256 parent_hash = 2;
H160 coinbase = 3;
H256 state_root = 4;
Expand All @@ -75,8 +75,8 @@ message ExecutionPayload {
H256 block_hash = 14;
repeated bytes transactions = 15;
repeated Withdrawal withdrawals = 16;
optional uint64 data_gas_used = 17;
optional uint64 excess_data_gas = 18;
optional uint64 blob_gas_used = 17;
optional uint64 excess_blob_gas = 18;
}

message Withdrawal {
Expand Down

0 comments on commit bfae3ef

Please sign in to comment.