Skip to content

Commit 581098a

Browse files
committed
engine: send requests as DATA
1 parent 5c357e0 commit 581098a

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

src/engine/prague.md

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

1212
- [Structures](#structures)
13-
- [ExecutionRequestV1](#requestv1)
1413
- [ExecutionPayloadV4](#executionpayloadv4)
1514
- [ExecutionPayloadBodyV2](#executionpayloadbodyv2)
1615
- [Methods](#methods)
@@ -36,25 +35,6 @@ This specification is based on and extends [Engine API - Cancun](./cancun.md) sp
3635

3736
## Structures
3837

39-
### ExecutionRequestV1
40-
41-
This structure maps onto the amalgamation of the deposit object from [EIP-6110](https://eips.ethereum.org/EIPS/eip-6110), withdrawal request from [EIP-7002](https://eips.ethereum.org/EIPS/eip-7002), and the consolidation request from [EIP-7251](https://eips.ethereum.org/EIPS/eip-7251).
42-
43-
The fields are encoded as follows:
44-
45-
- `type`: `QUANTITY`, 64 bits - [EIP-7685](https://eips.ethereum.org/EIPS/eip-7685) type byte to identify the request
46-
- `pubkey`: `DATA`, 48 Bytes
47-
- `withdrawalCredentials`: `DATA`, 32 Bytes
48-
- `amount`: `QUANTITY`, 64 Bits
49-
- `signature`: `DATA`, 96 Bytes
50-
- `index`: `QUANTITY`, 64 Bits
51-
- `sourceAddress`: `DATA`, 20 Bytes
52-
- `validatorPubkey`: `DATA`, 48 Bytes
53-
- `sourcePubkey`: `DATA`, 48 Bytes
54-
- `targetPubkey`: `DATA`, 48 Bytes
55-
56-
*Note:* The `amount` value is represented in Gwei.
57-
5838
### ExecutionPayloadV4
5939

6040
This structure has the syntax of [`ExecutionPayloadV3`](./cancun.md#executionpayloadv3) and appends the new field `requests`.
@@ -84,7 +64,8 @@ This structure has the syntax of [`ExecutionPayloadBodyV1`](./shanghai.md#execut
8464

8565
- `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)
8666
- `withdrawals`: `Array of WithdrawalV1` - Array of withdrawals, each object is an `OBJECT` containing the fields of a `WithdrawalV1` structure.
87-
- `requests`: `Array of ExecutionRequestV1` - Array of requests, each object is an `OBJECT` containing the fields of a `ExecutionRequestV1` structure.
67+
- `requests`: `Array of ExecutionRequestV1` - Array of requests, each element is a byte list (`DATA`) containing
68+
`request_type || request_data` as defined by [EIP-7685](https://eips.ethereum.org/EIPS/eip-7685).
8869

8970
## Methods
9071

0 commit comments

Comments
 (0)