Skip to content

Commit 58b019e

Browse files
committed
Use primitive type instead of new structures to not make dependency
1 parent 7540a56 commit 58b019e

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

src/engine/experimental/eip7805.md

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ This specification is based on and extends [Engine API - Prague](./prague.md) sp
1010
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
1111

1212
- [Constants](#constants)
13-
- [Structures](#structures)
14-
- [InclusionListV1](#inclusionlistv1)
15-
- [UpdateInclusionListResponse](#updateinclusionlistresponse)
1613
- [Methods](#methods)
1714
- [engine_newPayloadV5](#engine_newpayloadv5)
1815
- [Request](#request)
@@ -36,18 +33,6 @@ This specification is based on and extends [Engine API - Prague](./prague.md) sp
3633
| - | - |
3734
| `MaxBytesPerInclusionList` | `uint64(8192) = 2**13` |
3835

39-
## Structures
40-
41-
### InclusionListV1
42-
43-
This structure contains a list of transactions. The fields are encoded as follows:
44-
- `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)
45-
46-
### UpdateInclusionListResponse
47-
48-
This structure contains an identifier of the payload build process that is requested to update with the given inclusion list.
49-
- `payloadId`: `DATA`, 8 Bytes - Identifier of the payload build process
50-
5136
## Methods
5237

5338
### engine_newPayloadV5
@@ -61,7 +46,7 @@ The request of this method is updated with [`ExecutionPayloadV3`](./cancun.md#ex
6146
1. `executionPayload`: [`ExecutionPayloadV3`](./cancun.md#executionpayloadv3).
6247
2. `expectedBlobVersionedHashes`: `Array of DATA`, 32 Bytes - Array of expected blob versioned hashes to validate.
6348
3. `parentBeaconBlockRoot`: `DATA`, 32 Bytes - Root of the parent beacon block.
64-
4. `inclusionList`: [`InclusionListV1`](#InclusionListV1).
49+
4. `inclusionList`: `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).
6550

6651
#### Response
6752

@@ -84,7 +69,7 @@ This method follows the same specification as [`engine_newPayloadV4`](./prague.m
8469

8570
#### Response
8671

87-
* result: [`InclusionListV1`](#InclusionListV1).
72+
* result: `inclusionList`: `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).
8873
* error: code and message set in case an exception happens while getting the inclusion list.
8974

9075
#### Specification
@@ -98,12 +83,12 @@ This method follows the same specification as [`engine_newPayloadV4`](./prague.m
9883
* method: `engine_updatePayloadWithInclusionListV1`
9984
* params:
10085
1. `payloadId`: `DATA`, 8 Bytes - Identifier of the payload build process.
101-
2. `inclusionList`: [`InclusionListV1`](#InclusionListV1).
86+
2. `inclusionList`: `inclusionList`: `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).
10287
* timeout: 1s
10388

10489
#### Response
10590

106-
* result: [`UpdateInclusionListResponse`](#UpdateInclusionListResponse).
91+
* result: `payloadId`: `DATA|null`, 8 Bytes - identifier of the payload build process or `null`
10792
* error: code and message set in case an exception happens while getting the inclusion list.
10893

10994
#### Specification

0 commit comments

Comments
 (0)