Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

engine: Rename DepositRequest to DepositReceipts #544

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/engine/openrpc/schemas/payload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ ExecutionPayloadV4:
- withdrawals
- blobGasUsed
- excessBlobGas
- depositRequests
- depositReceipts
- withdrawalRequests
properties:
parentHash:
Expand Down Expand Up @@ -301,11 +301,11 @@ ExecutionPayloadV4:
$ref: '#/components/schemas/ExecutionPayloadV3/properties/blobGasUsed'
excessBlobGas:
$ref: '#/components/schemas/ExecutionPayloadV3/properties/excessBlobGas'
depositRequests:
title: Deposit requests
depositReceipts:
title: Deposit receipts
type: array
items:
$ref: '#/components/schemas/DepositRequestV1'
$ref: '#/components/schemas/DepositReceiptV1'
withdrawalRequests:
title: Withdrawals requests
type: array
Expand Down Expand Up @@ -349,8 +349,8 @@ BlobsBundleV1:
type: array
items:
$ref: '#/components/schemas/bytes'
DepositRequestV1:
title: Deposit request object V1
DepositReceiptV1:
title: Deposit receipt object V1
type: object
required:
- pubkey
Expand Down
8 changes: 4 additions & 4 deletions src/engine/prague.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This specification is based on and extends [Engine API - Cancun](./cancun.md) sp
- [Engine API -- Prague](#engine-api----prague)
- [Table of contents](#table-of-contents)
- [Structures](#structures)
- [DepositRequestV1](#depositrequestv1)
- [DepositReceiptV1](#depositreceiptv1)
- [WithdrawalRequestV1](#withdrawalrequestv1)
- [ExecutionPayloadV4](#executionpayloadv4)
- [Methods](#methods)
Expand All @@ -29,7 +29,7 @@ This specification is based on and extends [Engine API - Cancun](./cancun.md) sp

## Structures

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

Expand All @@ -53,7 +53,7 @@ The fields are encoded as follows:

### ExecutionPayloadV4

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

- `parentHash`: `DATA`, 32 Bytes
- `feeRecipient`: `DATA`, 20 Bytes
Expand All @@ -72,7 +72,7 @@ This structure has the syntax of [`ExecutionPayloadV3`](./cancun.md#executionpay
- `withdrawals`: `Array of WithdrawalV1` - Array of withdrawals, each object is an `OBJECT` containing the fields of a `WithdrawalV1` structure.
- `blobGasUsed`: `QUANTITY`, 64 Bits
- `excessBlobGas`: `QUANTITY`, 64 Bits
- `depositRequests`: `Array of DepositRequestV1` - Array of deposits, each object is an `OBJECT` containing the fields of a `DepositRequestV1` structure.
- `depositReceipts`: `Array of DepositReceiptV1` - Array of deposits, each object is an `OBJECT` containing the fields of a `DepositReceiptV1` structure.
- `withdrawalRequests`: `Array of WithdrawalRequestV1` - Array of withdrawal requests, each object is an `OBJECT` containing the fields of a `WithdrawalRequestV1` structure.

## Methods
Expand Down
Loading