diff --git a/packages/beacon-node/src/chain/interface.ts b/packages/beacon-node/src/chain/interface.ts index 15bcd3efcc53..6e932b25c50e 100644 --- a/packages/beacon-node/src/chain/interface.ts +++ b/packages/beacon-node/src/chain/interface.ts @@ -155,8 +155,8 @@ export interface IBeaconChain { getBlockByRoot(root: RootHex): Promise<{block: allForks.SignedBeaconBlock; executionOptimistic: boolean} | null>; getContents(beaconBlock: deneb.BeaconBlock): deneb.Contents; - - produceCommonBlockBody(blockAttributes: BlockAttributes): Promise; + + produceCommonBlockBody(blockAttributes: BlockAttributes): Promise; produceBlock(blockAttributes: BlockAttributes & {commonBlockBody?: CommonBlockBody}): Promise<{ block: allForks.BeaconBlock; executionPayloadValue: Wei; diff --git a/packages/beacon-node/test/unit/api/impl/validator/produceBlockV3.test.ts b/packages/beacon-node/test/unit/api/impl/validator/produceBlockV3.test.ts index 272fab23cc1c..f1aa2cb791df 100644 --- a/packages/beacon-node/test/unit/api/impl/validator/produceBlockV3.test.ts +++ b/packages/beacon-node/test/unit/api/impl/validator/produceBlockV3.test.ts @@ -1,5 +1,5 @@ import {describe, it, expect, beforeEach, afterEach, MockedObject, vi} from "vitest"; -import {phase0, ssz} from "@lodestar/types"; +import {ssz} from "@lodestar/types"; import {SLOTS_PER_EPOCH} from "@lodestar/params"; import {routes} from "@lodestar/api"; import {createBeaconConfig, createChainForkConfig, defaultChainConfig} from "@lodestar/config";