From 92048f911e6debc8c3110c3907332a214618ff42 Mon Sep 17 00:00:00 2001 From: joshieDo <93316087+joshieDo@users.noreply.github.com> Date: Mon, 29 Jul 2024 12:37:29 +0200 Subject: [PATCH] add optimism flags to optimism/bin --- crates/optimism/bin/Cargo.toml | 5 ++++- crates/optimism/cli/src/lib.rs | 7 ------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/crates/optimism/bin/Cargo.toml b/crates/optimism/bin/Cargo.toml index 10af13c447f4..75182d2e8b45 100644 --- a/crates/optimism/bin/Cargo.toml +++ b/crates/optimism/bin/Cargo.toml @@ -34,4 +34,7 @@ default = ["jemalloc"] jemalloc = ["dep:tikv-jemallocator"] jemalloc-prof = ["jemalloc", "tikv-jemallocator?/profiling"] - +optimism = [ + "reth-optimism-cli/optimism", + "reth-node-optimism/optimism", +] diff --git a/crates/optimism/cli/src/lib.rs b/crates/optimism/cli/src/lib.rs index b22840bdc459..9199d8795303 100644 --- a/crates/optimism/cli/src/lib.rs +++ b/crates/optimism/cli/src/lib.rs @@ -45,15 +45,8 @@ use reth_node_core::{ version::{LONG_VERSION, SHORT_VERSION}, }; use reth_tracing::FileWorkerGuard; -use std::{ffi::OsString, fmt, sync::Arc}; use tracing::info; -/// Optimism chain specification parser. -pub mod chainspec; -/// Optimism CLI commands. -pub mod commands; -pub use commands::{import::ImportOpCommand, import_receipts::ImportReceiptsOpCommand}; - /// The main reth cli interface. /// /// This is the entrypoint to the executable.