Skip to content

Commit 2f72b98

Browse files
committed
fix responce for missing field
1 parent ab02488 commit 2f72b98

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/engine/amsterdam.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,11 @@ This method follows the same specification as [`engine_newPayloadV4`](./prague.m
7575

7676
1. Client software **MUST** return `-38005: Unsupported fork` error if the `timestamp` of the payload does not fall within the time frame of the Amsterdam activation.
7777

78-
2. Client software **MUST** validate the `blockAccessList` field by executing the payload's transactions and verifying that the computed access list matches the provided one.
78+
2. Client software **MUST** return `-32602: Invalid params` error if the `blockAccessList` field is missing.
7979

80-
3. If the `blockAccessList` field is missing, malformed, or doesn't match the computed access list, the call **MUST** return `{status: INVALID, latestValidHash: null, validationError: errorMessage | null}`.
80+
3. Client software **MUST** validate the `blockAccessList` field by executing the payload's transactions and verifying that the computed access list matches the provided one.
81+
82+
4. If the `blockAccessList` field is malformed or doesn't match the computed access list, the call **MUST** return `{status: INVALID, latestValidHash: null, validationError: errorMessage | null}`.
8183

8284
### engine_getPayloadV6
8385

0 commit comments

Comments
 (0)