From 86721af76f010c2ce1af6c41a55e7a50a13d415d Mon Sep 17 00:00:00 2001 From: Mikhail Kalinin Date: Mon, 6 May 2024 20:56:01 +0600 Subject: [PATCH] Rename DepositRequest to DepositReceipts --- src/engine/openrpc/schemas/payload.yaml | 12 ++++++------ src/engine/prague.md | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/engine/openrpc/schemas/payload.yaml b/src/engine/openrpc/schemas/payload.yaml index a24690176..d2cbced55 100644 --- a/src/engine/openrpc/schemas/payload.yaml +++ b/src/engine/openrpc/schemas/payload.yaml @@ -264,7 +264,7 @@ ExecutionPayloadV4: - withdrawals - blobGasUsed - excessBlobGas - - depositRequests + - depositReceipts - withdrawalRequests properties: parentHash: @@ -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 @@ -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 diff --git a/src/engine/prague.md b/src/engine/prague.md index 1b550b2ae..656838d70 100644 --- a/src/engine/prague.md +++ b/src/engine/prague.md @@ -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) @@ -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: @@ -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 @@ -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