refactor: remove _args prefix from modules in node_core (#8015)

This commit is contained in:
Håvard Anda Estensen
2024-05-01 10:20:53 +02:00
committed by GitHub
parent 074c5c3013
commit fb960fb3e4
13 changed files with 24 additions and 24 deletions

View File

@ -1,55 +1,55 @@
//! Parameters for configuring the rpc more granularity via CLI
/// NetworkArg struct for configuring the network
mod network_args;
pub use network_args::{DiscoveryArgs, NetworkArgs};
mod network;
pub use network::{DiscoveryArgs, NetworkArgs};
/// RpcServerArg struct for configuring the RPC
mod rpc_server_args;
pub use rpc_server_args::RpcServerArgs;
mod rpc_server;
pub use rpc_server::RpcServerArgs;
/// RpcStateCacheArgs struct for configuring RPC state cache
mod rpc_state_cache_args;
pub use rpc_state_cache_args::RpcStateCacheArgs;
mod rpc_state_cache;
pub use rpc_state_cache::RpcStateCacheArgs;
/// DebugArgs struct for debugging purposes
mod debug_args;
pub use debug_args::DebugArgs;
mod debug;
pub use debug::DebugArgs;
/// DatabaseArgs struct for configuring the database
mod database_args;
pub use database_args::DatabaseArgs;
mod database;
pub use database::DatabaseArgs;
/// LogArgs struct for configuring the logger
mod log_args;
pub use log_args::{ColorMode, LogArgs};
mod log;
pub use log::{ColorMode, LogArgs};
mod secret_key;
pub use secret_key::{get_secret_key, SecretKeyError};
/// PayloadBuilderArgs struct for configuring the payload builder
mod payload_builder_args;
pub use payload_builder_args::PayloadBuilderArgs;
mod payload_builder;
pub use payload_builder::PayloadBuilderArgs;
/// Stage related arguments
mod stage_args;
pub use stage_args::StageEnum;
mod stage;
pub use stage::StageEnum;
/// Gas price oracle related arguments
mod gas_price_oracle_args;
pub use gas_price_oracle_args::GasPriceOracleArgs;
mod gas_price_oracle;
pub use gas_price_oracle::GasPriceOracleArgs;
/// TxPoolArgs for configuring the transaction pool
mod txpool_args;
pub use txpool_args::TxPoolArgs;
mod txpool;
pub use txpool::TxPoolArgs;
/// DevArgs for configuring the dev testnet
mod dev_args;
pub use dev_args::DevArgs;
mod dev;
pub use dev::DevArgs;
/// PruneArgs for configuring the pruning and full node
mod pruning_args;
pub use pruning_args::PruningArgs;
mod pruning;
pub use pruning::PruningArgs;
pub mod utils;