mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore: remove rpc-layer dep (#8395)
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -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",
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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