Skip to content

Commit 7907424

Browse files
engine: rename for 7002 partial withdrawals and 7685 requests (#535)
* engine: rename for 7002 partial withdrawals and 7685 requests * engine: update schema * engine: remove couple extra instances of exit Co-authored-by: lightclient <[email protected]> Co-authored-by: Mikhail Kalinin <[email protected]> --------- Co-authored-by: Mikhail Kalinin <[email protected]>
1 parent e872756 commit 7907424

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

src/engine/openrpc/schemas/payload.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,8 @@ ExecutionPayloadV4:
264264
- withdrawals
265265
- blobGasUsed
266266
- excessBlobGas
267-
- depositReceipts
268-
- exits
267+
- depositRequests
268+
- withdrawalRequests
269269
properties:
270270
parentHash:
271271
$ref: '#/components/schemas/ExecutionPayloadV3/properties/parentHash'
@@ -301,16 +301,16 @@ ExecutionPayloadV4:
301301
$ref: '#/components/schemas/ExecutionPayloadV3/properties/blobGasUsed'
302302
excessBlobGas:
303303
$ref: '#/components/schemas/ExecutionPayloadV3/properties/excessBlobGas'
304-
depositReceipts:
305-
title: Deposit receipts
304+
depositRequests:
305+
title: Deposit requests
306306
type: array
307307
items:
308-
$ref: '#/components/schemas/DepositReceiptV1'
309-
exits:
310-
title: Exits
308+
$ref: '#/components/schemas/DepositRequestV1'
309+
withdrawalRequests:
310+
title: Withdrawals requests
311311
type: array
312312
items:
313-
$ref: '#/components/schemas/ExitV1'
313+
$ref: '#/components/schemas/WithdrawalRequestV1'
314314
ExecutionPayloadBodyV1:
315315
title: Execution payload body object V1
316316
type: object
@@ -349,8 +349,8 @@ BlobsBundleV1:
349349
type: array
350350
items:
351351
$ref: '#/components/schemas/bytes'
352-
DepositReceiptV1:
353-
title: Deposit receipt object V1
352+
DepositRequestV1:
353+
title: Deposit request object V1
354354
type: object
355355
required:
356356
- pubkey
@@ -374,8 +374,8 @@ DepositReceiptV1:
374374
index:
375375
title: Deposit index
376376
$ref: '#/components/schemas/uint64'
377-
ExitV1:
378-
title: Exit object V1
377+
WithdrawalRequestV1:
378+
title: Withdrawal request object V1
379379
type: object
380380
required:
381381
- sourceAddress

src/engine/prague.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ This specification is based on and extends [Engine API - Cancun](./cancun.md) sp
1212
- [Engine API -- Prague](#engine-api----prague)
1313
- [Table of contents](#table-of-contents)
1414
- [Structures](#structures)
15-
- [DepositReceiptV1](#depositreceiptv1)
16-
- [ExitV1](#exitv1)
15+
- [DepositRequestV1](#depositrequestv1)
16+
- [WithdrawalRequestV1](#withdrawalrequestv1)
1717
- [ExecutionPayloadV4](#executionpayloadv4)
1818
- [Methods](#methods)
1919
- [engine\_newPayloadV4](#engine_newpayloadv4)
@@ -29,7 +29,7 @@ This specification is based on and extends [Engine API - Cancun](./cancun.md) sp
2929

3030
## Structures
3131

32-
### DepositReceiptV1
32+
### DepositRequestV1
3333
This structure maps onto the deposit object from [EIP-6110](https://eips.ethereum.org/EIPS/eip-6110).
3434
The fields are encoded as follows:
3535

@@ -41,9 +41,9 @@ The fields are encoded as follows:
4141

4242
*Note:* The `amount` value is represented in Gwei.
4343

44-
### ExitV1
44+
### WithdrawalRequestV1
4545

46-
This structure represents an execution layer triggered exit operation.
46+
This structure represents an execution layer triggered withdrawal request.
4747
The fields are encoded as follows:
4848

4949
- `sourceAddress`: `DATA`, 20 Bytes
@@ -54,7 +54,7 @@ The fields are encoded as follows:
5454

5555
### ExecutionPayloadV4
5656

57-
This structure has the syntax of [`ExecutionPayloadV3`](./cancun.md#executionpayloadv3) and appends the new fields: `depositReceipts` and `exits`.
57+
This structure has the syntax of [`ExecutionPayloadV3`](./cancun.md#executionpayloadv3) and appends the new fields: `depositRequests` and `withdrawalRequests`.
5858

5959
- `parentHash`: `DATA`, 32 Bytes
6060
- `feeRecipient`: `DATA`, 20 Bytes
@@ -73,8 +73,8 @@ This structure has the syntax of [`ExecutionPayloadV3`](./cancun.md#executionpay
7373
- `withdrawals`: `Array of WithdrawalV1` - Array of withdrawals, each object is an `OBJECT` containing the fields of a `WithdrawalV1` structure.
7474
- `blobGasUsed`: `QUANTITY`, 64 Bits
7575
- `excessBlobGas`: `QUANTITY`, 64 Bits
76-
- `depositReceipts`: `Array of DepositReceiptV1` - Array of deposits, each object is an `OBJECT` containing the fields of a `DepositReceiptV1` structure.
77-
- `exits`: `Array of ExitV1` - Array of exits, each object is an `OBJECT` containing the fields of a `ExitV1` structure.
76+
- `depositRequests`: `Array of DepositRequestV1` - Array of deposits, each object is an `OBJECT` containing the fields of a `DepositRequestV1` structure.
77+
- `withdrawalRequests`: `Array of WithdrawalRequestV1` - Array of withdrawal requests, each object is an `OBJECT` containing the fields of a `WithdrawalRequestV1` structure.
7878

7979
## Methods
8080

0 commit comments

Comments
 (0)