Skip to content

Commit 8dc6a22

Browse files
committed
Clarify EIP-7928 api specs
1 parent 28d6168 commit 8dc6a22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/engine/eip7928.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ 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 EIP-7928 activation.
7777

78-
2. The `blockAccessList` field **MUST** be validated and incorporated into the block hash computation.
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.
7979

80-
3. If the `blockAccessList` field is missing or invalid, the call **MUST** return `{status: INVALID, latestValidHash: null, validationError: errorMessage | null}`.
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}`.
8181

8282
### engine_getPayloadV6
8383

@@ -106,7 +106,7 @@ This method follows the same specification as [`engine_getPayloadV5`](./osaka.md
106106

107107
1. Client software **MUST** return `-38005: Unsupported fork` error if the `timestamp` of the built payload does not fall within the time frame of the EIP-7928 activation.
108108

109-
2. The `executionPayload` **MUST** contain the `blockAccessList` field populated with the RLP-encoded block access list data collected during block execution.
109+
2. When building the block, client software **MUST** collect all account accesses and state changes during transaction execution and populate the `blockAccessList` field in the returned `ExecutionPayloadV4` with the RLP-encoded access list.
110110

111111
### Update the methods of previous forks
112112

0 commit comments

Comments
 (0)