mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
chore: remove rpc-layer dep (#8395)
This commit is contained in:
@@ -8,6 +8,7 @@ use crate::{
|
||||
cli::config::RethRpcConfig,
|
||||
utils::get_or_create_jwt_secret_from_path,
|
||||
};
|
||||
use alloy_rpc_types_engine::{JwtError, JwtSecret};
|
||||
use clap::{
|
||||
builder::{PossibleValue, RangedU64ValueParser, TypedValueParser},
|
||||
Arg, Args, Command,
|
||||
@@ -31,7 +32,6 @@ use reth_rpc_builder::{
|
||||
RpcServerConfig, RpcServerHandle, ServerBuilder, TransportRpcModuleConfig,
|
||||
};
|
||||
use reth_rpc_engine_api::EngineApi;
|
||||
use reth_rpc_layer::{JwtError, JwtSecret};
|
||||
use reth_tasks::TaskSpawner;
|
||||
use reth_transaction_pool::TransactionPool;
|
||||
use std::{
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
//! Config traits for various node components.
|
||||
|
||||
use alloy_rpc_types_engine::{JwtError, JwtSecret};
|
||||
use reth_network::protocol::IntoRlpxSubProtocol;
|
||||
use reth_primitives::Bytes;
|
||||
use reth_rpc::eth::{cache::EthStateCacheConfig, gas_oracle::GasPriceOracleConfig};
|
||||
@@ -7,7 +8,6 @@ use reth_rpc_builder::{
|
||||
auth::AuthServerConfig, error::RpcError, EthConfig, Identity, IpcServerBuilder,
|
||||
RpcServerConfig, ServerBuilder, TransportRpcModuleConfig,
|
||||
};
|
||||
use reth_rpc_layer::{JwtError, JwtSecret};
|
||||
use reth_transaction_pool::PoolConfig;
|
||||
use std::{borrow::Cow, path::PathBuf, time::Duration};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user