Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Commit f49b320

Browse files
tmelhaotmelhaomattsse
authored
chore(cli): rename file import_op to import_core for clarity (paradigmxyz#17826)
Signed-off-by: tmelhao <tmel0103@gmail.com> Co-authored-by: tmelhao <tmel0103@gmail.com> Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
1 parent 443d16f commit f49b320

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

crates/cli/commands/src/import.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Command that initializes the node by importing a chain from a file.
22
use crate::{
33
common::{AccessRights, CliNodeComponents, CliNodeTypes, Environment, EnvironmentArgs},
4-
import_op::{import_blocks_from_file, ImportConfig},
4+
import_core::{import_blocks_from_file, ImportConfig},
55
};
66
use clap::Parser;
77
use reth_chainspec::{ChainSpecProvider, EthChainSpec, EthereumHardforks};
@@ -10,7 +10,7 @@ use reth_node_core::version::SHORT_VERSION;
1010
use std::{path::PathBuf, sync::Arc};
1111
use tracing::info;
1212

13-
pub use crate::import_op::build_import_pipeline_impl as build_import_pipeline;
13+
pub use crate::import_core::build_import_pipeline_impl as build_import_pipeline;
1414

1515
/// Syncs RLP encoded blocks from a file.
1616
#[derive(Debug, Parser)]

crates/cli/commands/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ pub mod download;
1515
pub mod dump_genesis;
1616
pub mod export_era;
1717
pub mod import;
18+
pub mod import_core;
1819
pub mod import_era;
19-
pub mod import_op;
2020
pub mod init_cmd;
2121
pub mod init_state;
2222
pub mod launcher;

crates/e2e-test-utils/src/setup_import.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
use crate::{node::NodeTestContext, NodeHelperType, Wallet};
44
use reth_chainspec::ChainSpec;
5-
use reth_cli_commands::import_op::{import_blocks_from_file, ImportConfig};
5+
use reth_cli_commands::import_core::{import_blocks_from_file, ImportConfig};
66
use reth_config::Config;
77
use reth_db::DatabaseEnv;
88
use reth_node_api::{NodeTypesWithDBAdapter, TreeConfig};

0 commit comments

Comments
 (0)