You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/engine/prague.md
+26-2Lines changed: 26 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ This specification is based on and extends [Engine API - Cancun](./cancun.md) sp
10
10
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
11
11
12
12
-[Structures](#structures)
13
+
-[ExecutionPayloadV4](#executionpayloadv4)
13
14
-[PayloadAttributesV4](#payloadattributesv4)
14
15
-[Methods](#methods)
15
16
-[engine_newPayloadV4](#engine_newpayloadv4)
@@ -30,6 +31,29 @@ This specification is based on and extends [Engine API - Cancun](./cancun.md) sp
30
31
31
32
## Structures
32
33
34
+
### ExecutionPayloadV4
35
+
36
+
This structure has the syntax of [`ExecutionPayloadV3`](./cancun.md#executionpayloadv3) and appends the new field(s): `targetBlobsPerBlock`.
37
+
38
+
-`parentHash`: `DATA`, 32 Bytes
39
+
-`feeRecipient`: `DATA`, 20 Bytes
40
+
-`stateRoot`: `DATA`, 32 Bytes
41
+
-`receiptsRoot`: `DATA`, 32 Bytes
42
+
-`logsBloom`: `DATA`, 256 Bytes
43
+
-`prevRandao`: `DATA`, 32 Bytes
44
+
-`blockNumber`: `QUANTITY`, 64 Bits
45
+
-`gasLimit`: `QUANTITY`, 64 Bits
46
+
-`gasUsed`: `QUANTITY`, 64 Bits
47
+
-`timestamp`: `QUANTITY`, 64 Bits
48
+
-`extraData`: `DATA`, 0 to 32 Bytes
49
+
-`baseFeePerGas`: `QUANTITY`, 256 Bits
50
+
-`blockHash`: `DATA`, 32 Bytes
51
+
-`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)
52
+
-`withdrawals`: `Array of WithdrawalV1` - Array of withdrawals, each object is an `OBJECT` containing the fields of a `WithdrawalV1` structure.
53
+
-`blobGasUsed`: `QUANTITY`, 64 Bits
54
+
-`excessBlobGas`: `QUANTITY`, 64 Bits
55
+
-`targetBlobsPerBlock`: `QUANTITY`, 64 Bits
56
+
33
57
### PayloadAttributesV4
34
58
35
59
This structure has the syntax of [`PayloadAttributesV3`](./cancun.md#payloadattributesv3) and appends the fields: `targetBlobsPerBlock`, `maxBlobsPerBlock`.
@@ -52,7 +76,7 @@ Method parameter list is extended with `executionRequests`.
2.`expectedBlobVersionedHashes`: `Array of DATA`, 32 Bytes - Array of expected blob versioned hashes to validate.
57
81
3.`parentBeaconBlockRoot`: `DATA`, 32 Bytes - Root of the parent beacon block.
58
82
4.`executionRequests`: `Array of DATA` - List of execution layer triggered requests. Each list element is a `requests` byte array as defined by [EIP-7685](https://eips.ethereum.org/EIPS/eip-7685). The first byte of each element is the `request_type` and the remaining bytes are the `request_data`. Elements of the list **MUST** be ordered by `request_type` in ascending order. Elements with empty `request_data`**MUST** be excluded from the list.
@@ -107,7 +131,7 @@ The response of this method is extended with the `executionRequests` field.
0 commit comments