UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

16 lines 887 B
import { ChainForkConfig } from "@lodestar/config"; import { BeaconStateAllForks } from "@lodestar/state-transition"; import { Bytes32, TimeSeconds, phase0 } from "@lodestar/types"; import { DepositTree } from "../../../db/repositories/depositDataRoot.js"; export declare const INTEROP_BLOCK_HASH: Buffer<ArrayBuffer>; export declare const INTEROP_TIMESTAMP: number; export declare const GENESIS_GAS_LIMIT = 30000000; export declare const GENESIS_BASE_FEE_PER_GAS: bigint; export type InteropStateOpts = { genesisTime?: number; eth1BlockHash?: Bytes32; eth1Timestamp?: TimeSeconds; withEth1Credentials?: boolean; }; export declare function getInteropState(config: ChainForkConfig, { genesisTime, eth1BlockHash, eth1Timestamp, }: InteropStateOpts, deposits: phase0.Deposit[], fullDepositDataRootList?: DepositTree): BeaconStateAllForks; //# sourceMappingURL=state.d.ts.map