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

2
Cargo.lock generated
View File

@ -7361,6 +7361,7 @@ dependencies = [
name = "reth-node-core"
version = "0.2.0-beta.7"
dependencies = [
"alloy-rpc-types-engine",
"assert_matches",
"clap",
"const-str",
@ -7401,7 +7402,6 @@ dependencies = [
"reth-rpc-api",
"reth-rpc-builder",
"reth-rpc-engine-api",
"reth-rpc-layer",
"reth-rpc-types",
"reth-rpc-types-compat",
"reth-tasks",

View File

@ -24,7 +24,6 @@ reth-rpc.workspace = true
reth-rpc-types.workspace = true
reth-rpc-types-compat.workspace = true
reth-rpc-api = { workspace = true, features = ["client"] }
reth-rpc-layer.workspace = true
reth-transaction-pool.workspace = true
reth-tracing.workspace = true
reth-config.workspace = true
@ -38,6 +37,9 @@ reth-tasks.workspace = true
reth-consensus-common.workspace = true
reth-beacon-consensus.workspace = true
# ethereum
alloy-rpc-types-engine.workspace = true
# ethereum
discv5.workspace = true

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