Remove `prepare_payload` leftover
This commit is contained in:
parent
d5be6b5d68
commit
34335e0334
7
setup.py
7
setup.py
|
@ -533,13 +533,6 @@ class NoopExecutionEngine(ExecutionEngine):
|
||||||
payload_attributes: Optional[PayloadAttributes]) -> None:
|
payload_attributes: Optional[PayloadAttributes]) -> None:
|
||||||
pass
|
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:
|
def get_payload(self: ExecutionEngine, payload_id: PayloadId) -> ExecutionPayload:
|
||||||
raise NotImplementedError("no default block production")
|
raise NotImplementedError("no default block production")
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ avoid requiring simple serialize hashing capabilities in the Execution Layer.
|
||||||
|
|
||||||
### `ExecutionEngine`
|
### `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 body of each of these functions is implementation dependent.
|
||||||
The Engine API may be used to implement them with an external execution engine.
|
The Engine API may be used to implement them with an external execution engine.
|
||||||
|
|
Loading…
Reference in New Issue