Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cleanup exchange transition remanents #6065

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading