Skip to content

Commit

Permalink
Update PayloadV3 with data gas used (#417)
Browse files Browse the repository at this point in the history
* Update PayloadV3 with data gas used

* Update src/engine/experimental/blob-extension.md

Co-authored-by: Hsiao-Wei Wang <[email protected]>

* DGU then EDG

* Fix order

---------

Co-authored-by: Hsiao-Wei Wang <[email protected]>
  • Loading branch information
terencechain and hwwhww authored Jun 6, 2023
1 parent 3d627c9 commit 64c991d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/engine/experimental/blob-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `dataGasUsed` and `excessDataGas`.

- `parentHash`: `DATA`, 32 Bytes
- `feeRecipient`: `DATA`, 20 Bytes
Expand All @@ -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
- `dataGasUsed`: `QUANTITY`, 64 bits
- `excessDataGas`: `QUANTITY`, 64 Bits

### BlobsBundleV1

Expand Down

0 comments on commit 64c991d

Please sign in to comment.