Skip to content

Commit

Permalink
Fix cli package import
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Oct 21, 2024
1 parent c9c5058 commit db03a79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/beacon-node/src/chain/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {PersistentCheckpointStateCacheOpts} from "./stateCache/persistentCheckpo
import {DEFAULT_MAX_CP_STATE_EPOCHS_IN_MEMORY} from "./stateCache/persistentCheckpointsCache.js";
import {DEFAULT_STATE_ARCHIVE_MODE} from "./archiver/archiver.js";
export {StateArchiveMode} from "./archiver/interface.js";
export {DEFAULT_STATE_ARCHIVE_MODE} from "./archiver/archiver.js";

export type IChainOptions = BlockProcessOpts &
PoolOpts &
Expand Down
4 changes: 2 additions & 2 deletions packages/beacon-node/src/node/options.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {defaultApiOptions, ApiOptions} from "../api/options.js";
import {defaultChainOptions, IChainOptions, StateArchiveMode} from "../chain/options.js";
import {defaultChainOptions, IChainOptions, StateArchiveMode, DEFAULT_STATE_ARCHIVE_MODE} from "../chain/options.js";
import {defaultDbOptions, DatabaseOptions} from "../db/options.js";
import {defaultEth1Options, Eth1Options} from "../eth1/options.js";
import {defaultMetricsOptions, MetricsOptions} from "../metrics/options.js";
Expand All @@ -18,7 +18,7 @@ import {
export {allNamespaces} from "../api/rest/index.js";

// Re-export to use as default values in CLI args
export {defaultExecutionEngineHttpOpts, defaultExecutionBuilderHttpOpts, StateArchiveMode};
export {defaultExecutionEngineHttpOpts, defaultExecutionBuilderHttpOpts, StateArchiveMode, DEFAULT_STATE_ARCHIVE_MODE};

export interface IBeaconNodeOptions {
api: ApiOptions;
Expand Down

0 comments on commit db03a79

Please sign in to comment.