Skip to content

Commit

Permalink
Decline payloads with headBlockHash of pre-Cancun blocks
Browse files Browse the repository at this point in the history
Co-authored-by: g11tech <[email protected]>
  • Loading branch information
flcl42 and g11tech authored Aug 4, 2023
1 parent 292f5be commit 32259b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/engine/cancun.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ This method follows the same specification as [`engine_forkchoiceUpdatedV2`](./s

1. Client software **MUST** check that provided set of parameters and their fields strictly matches the expected one and return `-32602: Invalid params` error if this check fails. Any field having `null` value **MUST** be considered as not provided.

2. Client software **MUST** return `-38005: Unsupported fork` error if the `payloadAttributes.timestamp` does not fall within the time frame of the Cancun fork.
2. Client software **MUST** return `-38005: Unsupported fork` error
* if the `payloadAttributes.timestamp` does not fall within the time frame of the Cancun fork or
* if headBlockHash refers to a pre-cancun block (if resolvable by EL) when forkchoice update issued without `payloadAttributes`

### engine_getPayloadV3

Expand Down

0 comments on commit 32259b5

Please sign in to comment.