UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

27 lines 827 B
import { ExecutionEngineState, PayloadIdCache } from "./interface.js"; export class ExecutionEngineDisabled { state = ExecutionEngineState.OFFLINE; payloadIdCache = new PayloadIdCache(); async notifyNewPayload() { throw Error("Execution engine disabled"); } async notifyForkchoiceUpdate() { throw Error("Execution engine disabled"); } async getPayload() { throw Error("Execution engine disabled"); } async getBlobsBundle() { throw Error("Execution engine disabled"); } getPayloadBodiesByHash() { throw Error("Execution engine disabled"); } getPayloadBodiesByRange() { throw Error("Execution engine disabled"); } getBlobs() { throw Error("Execution engine disabled"); } } //# sourceMappingURL=disabled.js.map