UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

29 lines 871 B
import { ExecutionEngineState, PayloadIdCache } from "./interface.js"; export class ExecutionEngineDisabled { constructor() { this.state = ExecutionEngineState.OFFLINE; this.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