chore: remove rpc-layer dep (#8395)

This commit is contained in:
Matthias Seitz
2024-05-25 14:36:01 +02:00
committed by GitHub
parent df83befcff
commit a6cfa2c089
4 changed files with 6 additions and 4 deletions

View File

@@ -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::{

View File

@@ -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};