From a8708944075c944023d3915b2bc592ebe808e181 Mon Sep 17 00:00:00 2001 From: gajinder Date: Wed, 25 Oct 2023 22:13:56 +0530 Subject: [PATCH] chore: cleanup exchange transition remanents --- packages/beacon-node/src/chain/prepareNextSlot.ts | 2 -- packages/beacon-node/src/execution/engine/interface.ts | 8 +------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/beacon-node/src/chain/prepareNextSlot.ts b/packages/beacon-node/src/chain/prepareNextSlot.ts index 1091fd716b60..8babd82756f8 100644 --- a/packages/beacon-node/src/chain/prepareNextSlot.ts +++ b/packages/beacon-node/src/chain/prepareNextSlot.ts @@ -6,7 +6,6 @@ import {Logger, sleep, fromHex, isErrorAborted} from "@lodestar/utils"; import {routes} from "@lodestar/api"; import {GENESIS_SLOT, ZERO_HASH_HEX} from "../constants/constants.js"; import {Metrics} from "../metrics/index.js"; -import {TransitionConfigurationV1} from "../execution/engine/interface.js"; import {ClockEvent} from "../util/clock.js"; import {isQueueErrorAborted} from "../util/queue/index.js"; import {prepareExecutionPayload, getPayloadAttributesForSSE} from "./produceBlock/produceBlockBody.js"; @@ -31,7 +30,6 @@ const PREPARE_EPOCH_LIMIT = 1; * */ export class PrepareNextSlotScheduler { - private transitionConfig: TransitionConfigurationV1 | null = null; constructor( private readonly chain: IBeaconChain, private readonly config: ChainForkConfig, diff --git a/packages/beacon-node/src/execution/engine/interface.ts b/packages/beacon-node/src/execution/engine/interface.ts index c4543c45a3e2..18a037095805 100644 --- a/packages/beacon-node/src/execution/engine/interface.ts +++ b/packages/beacon-node/src/execution/engine/interface.ts @@ -2,7 +2,7 @@ import {ForkName} from "@lodestar/params"; import {KZGCommitment, Blob, KZGProof} from "@lodestar/types/deneb"; import {Root, RootHex, allForks, capella, Wei} from "@lodestar/types"; -import {DATA, QUANTITY} from "../../eth1/provider/utils.js"; +import {DATA} from "../../eth1/provider/utils.js"; import {PayloadIdCache, PayloadId, WithdrawalV1} from "./payloadIdCache.js"; import {ExecutionPayloadBody} from "./types.js"; @@ -70,12 +70,6 @@ export type PayloadAttributes = { parentBeaconBlockRoot?: Uint8Array; }; -export type TransitionConfigurationV1 = { - terminalTotalDifficulty: QUANTITY; - terminalBlockHash: DATA; - terminalBlockNumber: QUANTITY; -}; - export type BlobsBundle = { /** * Execution payload `blockHash` for the caller to sanity-check the consistency with the `engine_getPayload` call