Skip to content

Commit 7d38fd7

Browse files
committed
Use primitive type instead of new structures to not make dependency
1 parent b727b7c commit 7d38fd7

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

src/engine/experimental/eip7805.md

Lines changed: 3 additions & 18 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
@@ -85,7 +70,7 @@ This method follows the same specification as [`engine_newPayloadV4`](./prague.m
8570

8671
#### Response
8772

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

9176
#### Specification
@@ -99,12 +84,12 @@ This method follows the same specification as [`engine_newPayloadV4`](./prague.m
9984
* method: `engine_updatePayloadWithInclusionListV1`
10085
* params:
10186
1. `payloadId`: `DATA`, 8 Bytes - Identifier of the payload build process.
102-
2. `inclusionList`: [`InclusionListV1`](#InclusionListV1).
87+
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).
10388
* timeout: 1s
10489

10590
#### Response
10691

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

11095
#### Specification

0 commit comments

Comments
 (0)