Skip to content

Commit

Permalink
State that payloadId should be unique for each PayloadAttributes
Browse files Browse the repository at this point in the history
…instance (#401)

* State payloadId must be unique per attributes

* Update src/engine/paris.md

* State new build process for every new attributes

* Update statements about existing build process

* Fix grammar
  • Loading branch information
mkalinin authored Apr 21, 2023
1 parent 59e3a71 commit 3c1dae6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/engine/paris.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,11 @@ The payload build process is specified as follows:

4. Client software **SHOULD** stop the updating process when either a call to `engine_getPayload` with the build process's `payloadId` is made or [`SECONDS_PER_SLOT`](https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#time-parameters-1) (12s in the Mainnet configuration) have passed since the point in time identified by the `timestamp` parameter.

5. Client software **MUST** begin a new build process if given `PayloadAttributes` doesn't match payload attributes of an existing build process.
Every new build process **MUST** be uniquely identified by the returned `payloadId` value.

6. If a build process with given `PayloadAttributes` already exists, client software **SHOULD NOT** restart it.

## Methods

### engine_newPayloadV1
Expand Down

0 comments on commit 3c1dae6

Please sign in to comment.