Skip to content

Commit

Permalink
chore: cleanup exchange transition remanents
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Oct 25, 2023
1 parent 499fd09 commit a870894
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 0 additions & 2 deletions packages/beacon-node/src/chain/prepareNextSlot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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,
Expand Down
8 changes: 1 addition & 7 deletions packages/beacon-node/src/execution/engine/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a870894

Please sign in to comment.