From d2c46260bad52773a3b33cc61b55a1dbcf55b899 Mon Sep 17 00:00:00 2001 From: NC <17676176+ensi321@users.noreply.github.com> Date: Mon, 19 Aug 2024 23:41:38 +0800 Subject: [PATCH] add getId to CheckpointHeaderRepository --- .../src/db/repositories/lightclientCheckpointHeader.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/beacon-node/src/db/repositories/lightclientCheckpointHeader.ts b/packages/beacon-node/src/db/repositories/lightclientCheckpointHeader.ts index 78f165bb975..88f8327dfbf 100644 --- a/packages/beacon-node/src/db/repositories/lightclientCheckpointHeader.ts +++ b/packages/beacon-node/src/db/repositories/lightclientCheckpointHeader.ts @@ -3,6 +3,8 @@ import {DatabaseController, Repository} from "@lodestar/db"; import {LightClientHeader, ssz} from "@lodestar/types"; import {Bucket, getBucketNameByValue} from "../buckets.js"; import {getLightClientHeaderTypeFromBytes} from "../../util/multifork.js"; +import { ValueOfFields, ContainerType, UintNumberType, ByteVectorType, ByteListType, UintBigintType, VectorCompositeType } from "@chainsafe/ssz"; +import { ExecutionAddressType } from "@lodestar/types/lib/utils/executionAddress.js"; /** * Block headers by block root. Until finality includes all headers seen by this node. After finality, @@ -25,4 +27,8 @@ export class CheckpointHeaderRepository extends Repository