From 4f5224ee602ed44a303da1d18f2557eef89b4297 Mon Sep 17 00:00:00 2001 From: terence tsao Date: Tue, 30 May 2023 20:24:54 -0700 Subject: [PATCH 1/4] Update PayloadV3 with data gas used --- src/engine/experimental/blob-extension.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/engine/experimental/blob-extension.md b/src/engine/experimental/blob-extension.md index 0f23c57e8..61fc329d5 100644 --- a/src/engine/experimental/blob-extension.md +++ b/src/engine/experimental/blob-extension.md @@ -27,7 +27,7 @@ This extension is backwards-compatible, but not part of the initial Engine API. ### ExecutionPayloadV3 -This structure has the syntax of `ExecutionPayloadV2` and appends a single field: `excessDataGas`. +This structure has the syntax of `ExecutionPayloadV2` and append two new fields: `excessDataGas` and `dataGasUsed`. - `parentHash`: `DATA`, 32 Bytes - `feeRecipient`: `DATA`, 20 Bytes @@ -44,7 +44,8 @@ This structure has the syntax of `ExecutionPayloadV2` and appends a single field - `blockHash`: `DATA`, 32 Bytes - `transactions`: `Array of DATA` - Array of transaction objects, each object is a byte list (`DATA`) representing `TransactionType || TransactionPayload` or `LegacyTransaction` as defined in [EIP-2718](https://eips.ethereum.org/EIPS/eip-2718) - `withdrawals`: `Array of WithdrawalV1` - Array of withdrawals, each object is an `OBJECT` containing the fields of a `WithdrawalV1` structure. -- `excessDataGas`: `QUANTITY`, 256 bits +- `excessDataGas`: `QUANTITY`, 64 Bits +- `dataGasUsed`: `QUANTITY`, 256 bits ### BlobsBundleV1 From 4b7eb72bc0330ccafa94900ce9c1f5e9e0c55d7e Mon Sep 17 00:00:00 2001 From: terencechain Date: Wed, 31 May 2023 05:56:26 -0700 Subject: [PATCH 2/4] Update src/engine/experimental/blob-extension.md Co-authored-by: Hsiao-Wei Wang --- src/engine/experimental/blob-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/experimental/blob-extension.md b/src/engine/experimental/blob-extension.md index 61fc329d5..eebbc3eea 100644 --- a/src/engine/experimental/blob-extension.md +++ b/src/engine/experimental/blob-extension.md @@ -45,7 +45,7 @@ This structure has the syntax of `ExecutionPayloadV2` and append two new fields: - `transactions`: `Array of DATA` - Array of transaction objects, each object is a byte list (`DATA`) representing `TransactionType || TransactionPayload` or `LegacyTransaction` as defined in [EIP-2718](https://eips.ethereum.org/EIPS/eip-2718) - `withdrawals`: `Array of WithdrawalV1` - Array of withdrawals, each object is an `OBJECT` containing the fields of a `WithdrawalV1` structure. - `excessDataGas`: `QUANTITY`, 64 Bits -- `dataGasUsed`: `QUANTITY`, 256 bits +- `dataGasUsed`: `QUANTITY`, 64 bits ### BlobsBundleV1 From 45878f6f07e1c6dd31c2811019a5268f4205f698 Mon Sep 17 00:00:00 2001 From: terencechain Date: Thu, 1 Jun 2023 07:08:00 -0700 Subject: [PATCH 3/4] DGU then EDG --- src/engine/experimental/blob-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/experimental/blob-extension.md b/src/engine/experimental/blob-extension.md index eebbc3eea..55b28956a 100644 --- a/src/engine/experimental/blob-extension.md +++ b/src/engine/experimental/blob-extension.md @@ -44,8 +44,8 @@ This structure has the syntax of `ExecutionPayloadV2` and append two new fields: - `blockHash`: `DATA`, 32 Bytes - `transactions`: `Array of DATA` - Array of transaction objects, each object is a byte list (`DATA`) representing `TransactionType || TransactionPayload` or `LegacyTransaction` as defined in [EIP-2718](https://eips.ethereum.org/EIPS/eip-2718) - `withdrawals`: `Array of WithdrawalV1` - Array of withdrawals, each object is an `OBJECT` containing the fields of a `WithdrawalV1` structure. -- `excessDataGas`: `QUANTITY`, 64 Bits - `dataGasUsed`: `QUANTITY`, 64 bits +- `excessDataGas`: `QUANTITY`, 64 Bits ### BlobsBundleV1 From 75ba300bd3cca51f0a6b5af765cebc7f4dc9e44c Mon Sep 17 00:00:00 2001 From: terencechain Date: Mon, 5 Jun 2023 06:17:59 -0700 Subject: [PATCH 4/4] Fix order --- src/engine/experimental/blob-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/experimental/blob-extension.md b/src/engine/experimental/blob-extension.md index 55b28956a..b4cbbc6c3 100644 --- a/src/engine/experimental/blob-extension.md +++ b/src/engine/experimental/blob-extension.md @@ -27,7 +27,7 @@ This extension is backwards-compatible, but not part of the initial Engine API. ### ExecutionPayloadV3 -This structure has the syntax of `ExecutionPayloadV2` and append two new fields: `excessDataGas` and `dataGasUsed`. +This structure has the syntax of `ExecutionPayloadV2` and append two new fields: `dataGasUsed` and `excessDataGas`. - `parentHash`: `DATA`, 32 Bytes - `feeRecipient`: `DATA`, 20 Bytes