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

Add engine_getBlobsV1 route to cancun #560

Closed
wants to merge 2 commits 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
21 changes: 20 additions & 1 deletion src/engine/cancun.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,25 @@ Refer to the specification for [`engine_getPayloadV2`](./shanghai.md#engine_getp

5. Client software **MAY** use any heuristics to decide whether to set `shouldOverrideBuilder` flag or not. If client software does not implement any heuristic this flag **SHOULD** be set to `false`.

### engine_getBlobsV1

#### Request

* method: `engine_getBlobsV1`
* params:
1. `versionedHashes`: `Array of DATA` - Array of blob transaction versioned hash as defined in [EIP-4844](https://eips.ethereum.org/EIPS/eip-2718)

#### Response

* result: [`BlobsBundleV1`](#BlobsBundleV1) - Bundle with data corresponding to `versionHashes`.
* error: code and message set in case an exception happens while getting the blob transactions.

#### Specification

1. For each item in `versionedHashes` client software **MUST** return the `blob`, `commitment`, and `proof` and bundle them as [`BlobsBundleV1`](#BlobsBundleV1).

2. The call **MUST** return `-38001: Unknown versionedHash` error if the client does not know any of the items in `versionedHashes`.

### Deprecate `engine_exchangeTransitionConfigurationV1`

This document introduces deprecation of [`engine_exchangeTransitionConfigurationV1`](./paris.md#engine_exchangetransitionconfigurationv1). The deprecation is specified as follows:
Expand All @@ -192,4 +211,4 @@ For the following methods:

a validation **MUST** be added:

1. Client software **MUST** return `-38005: Unsupported fork` error if the `timestamp` of payload or payloadAttributes greater or equal to the Cancun activation timestamp.
1. Client software **MUST** return `-38005: Unsupported fork` error if the `timestamp` of payload or payloadAttributes greater or equal to the Cancun activation timestamp.
3 changes: 2 additions & 1 deletion wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ bodiesbyhashv
bytecode
clientversionv
configurationv
getBlobsV
crypto
eip
endian
Expand Down Expand Up @@ -63,4 +64,4 @@ src
https
forkchoiceupdatedresponsev
exitv
depositreceiptv
depositreceiptv
Loading