Skip to content

Commit

Permalink
rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Jun 26, 2024
1 parent 7dab01e commit ae1a03e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/beacon-node/src/chain/blocks/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export type DataColumnsCacheMap = Map<
{dataColumnSidecar: electra.DataColumnSidecar; dataColumnBytes: Uint8Array | null}
>;

type ForkBlobsInfo = {fork: ForkName.deneb | ForkName.electra};
type ForkBlobsInfo = {fork: ForkName.deneb};
type BlobsData = {blobs: deneb.BlobSidecars; blobsBytes: (Uint8Array | null)[]; blobsSource: BlobsSource};
export type BlockInputDataBlobs = ForkBlobsInfo & BlobsData;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export function matchBlockWithDataColumns(
peerId: PeerIdStr,
config: ChainForkConfig,
custodyConfig: CustodyConfig,
allBlocks: WithBytes<allForks.SignedBeaconBlock>[],
allBlocks: WithBytes<SignedBeaconBlock>[],
allDataColumnSidecars: electra.DataColumnSidecar[],
endSlot: Slot,
blockSource: BlockSource,
Expand Down
2 changes: 1 addition & 1 deletion packages/beacon-node/src/util/blobs.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {digest as sha256Digest} from "@chainsafe/as-sha256";
import {Tree} from "@chainsafe/persistent-merkle-tree";
import {VERSIONED_HASH_VERSION_KZG, KZG_COMMITMENT_GINDEX0, KZG_COMMITMENTS_GINDEX, ForkName, ForkAll, NUMBER_OF_COLUMNS} from "@lodestar/params";
import {deneb, ssz, BeaconBlockBody, SignedBeaconBlock, SSZTypesFor} from "@lodestar/types";
import {deneb, ssz, BeaconBlockBody, SignedBeaconBlock, SSZTypesFor, electra} from "@lodestar/types";
import {ChainForkConfig} from "@lodestar/config";
import {signedBlockToSignedHeader} from "@lodestar/state-transition";
import {ckzg} from "./kzg.js";
Expand Down

0 comments on commit ae1a03e

Please sign in to comment.