Skip to content

Commit

Permalink
Remove prepare_payload leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww committed Oct 19, 2021
1 parent d5be6b5 commit 34335e0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,13 +533,6 @@ def notify_forkchoice_updated(self: ExecutionEngine,
payload_attributes: Optional[PayloadAttributes]) -> None:
pass
def prepare_payload(self: ExecutionEngine,
parent_hash: Hash32,
timestamp: uint64,
random: Bytes32,
feeRecipient: ExecutionAddress) -> PayloadId:
raise NotImplementedError("no default block production")
def get_payload(self: ExecutionEngine, payload_id: PayloadId) -> ExecutionPayload:
raise NotImplementedError("no default block production")
Expand Down
2 changes: 1 addition & 1 deletion specs/merge/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ avoid requiring simple serialize hashing capabilities in the Execution Layer.

### `ExecutionEngine`

*Note*: `prepare_payload` and `get_payload` functions are added to the `ExecutionEngine` protocol for use as a validator.
*Note*: `get_payload` function is added to the `ExecutionEngine` protocol for use as a validator.

The body of each of these functions is implementation dependent.
The Engine API may be used to implement them with an external execution engine.
Expand Down

0 comments on commit 34335e0

Please sign in to comment.