You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: package.json
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,16 +6,14 @@
6
6
"scripts": {
7
7
"build": "npm run build:spec",
8
8
"build:spec": "node scripts/build.js",
9
-
"build:test": "which go > /dev/null 2>&1 || (echo 'Error: Go binary not found. Please install Go first.' && exit 1) && go install github.com/lightclient/rpctestgen/cmd/speccheck@latest",
10
9
"build:docs": "npm run generate-clients && npm run build:docs:gatsby",
Copy file name to clipboardExpand all lines: src/engine/osaka.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,8 +108,9 @@ Consensus layer clients **MAY** use this method to fetch blobs from the executio
108
108
Refer to the specification for [`engine_getBlobsV1`](./cancun.md#engine_getblobsv1) with changes of the following:
109
109
110
110
1. Given an array of blob versioned hashes client software **MUST** respond with an array of `BlobAndProofV2` objects with matching versioned hashes, respecting the order of versioned hashes in the input array.
111
-
1. Given an array of blob versioned hashes, if client software has every one of the requested blobs, it **MUST** return an array of `BlobAndProofV2` objects whose order exactly matches the input array. For instance, if the request is `[A_versioned_hash, B_versioned_hash, C_versioned_hash]` and client software has `A`, `B` and `C` available, the response **MUST** be `[A, B, C]`.
112
-
2. If one or more of the requested blobs are unavailable, the client **MUST** return either `null` or an array of the same length and order, inserting `null` only at the positions of the missing blobs. For instance, if the request is `[A_versioned_hash, B_versioned_hash, C_versioned_hash]` and client software has data for blobs `A` and `C`, but doesn't have data for `B`, the response **MUST** be either `null` or `[A, null, C]`.
111
+
2. Client software **MUST** return `null` in case of any missing or older version blobs. For instance,
112
+
1. if the request is `[A_versioned_hash, B_versioned_hash, C_versioned_hash]` and client software has data for blobs `A` and `C`, but doesn't have data for `B`, the response **MUST** be `null`.
113
+
2. if the request is `[A_versioned_hash_for_blob_with_blob_proof]`, the response **MUST** be `null` as well.
113
114
3. Client software **MUST** support request sizes of at least 128 blob versioned hashes. The client **MUST** return `-38004: Too large request` error if the number of requested blobs is too large.
114
115
4. Client software **MUST** return `null` if syncing or otherwise unable to serve blob pool data.
115
116
5. Callers **MUST** consider that execution layer clients may prune old blobs from their pool, and will respond with `null` if a blob has been pruned.
description: The error messages are suggestions and a client might decide to return a different errror message than specified here. However, the error codes are enforced by this specification.
195
-
type: object
196
-
required:
197
-
- error
198
-
properties:
199
-
error:
200
-
oneOf:
201
-
- code: -32000
202
-
message: Invalid request
203
-
- code: -32602
204
-
message: Missing or invalid parameters
205
-
- code: -32005
206
-
message: Transactions maxFeePerGas is too low
207
-
- code: -32015
208
-
messagE: Execution error
209
-
- code: -32016
210
-
message: Timeout
211
-
- code: -32603
212
-
message: The Ethereum node encountered an internal error
213
-
- code: -38010
214
-
message: Transactions nonce is too low
215
-
- code: -38011
216
-
message: Transactions nonce is too high
217
-
- code: -38012
218
-
message: Transactions baseFeePerGas is too low
219
-
- code: -38013
220
-
message: Not enough gas provided to pay for intrinsic gas for a transaction
221
-
- code: -38014
222
-
message: Insufficient funds to pay for gas fees and value for a transaction
223
-
- code: -38015
224
-
message: Block gas limit exceeded by the block's transactions
225
-
- code: -38020
226
-
message: Block number in sequence did not increase
227
-
- code: -38021
228
-
message: Block timestamp in sequence did not increase or stay the same
229
-
- code: -38022
230
-
message: MovePrecompileToAddress referenced itself in replacement
231
-
- code: -38023
232
-
message: Multiple MovePrecompileToAddress referencing the same address to replace
0 commit comments