Extract layers module from rpc crate (#8163)

Co-authored-by: Emilia Hane <emiliaha95@gmail.com>
This commit is contained in:
Rupam Dey
2024-05-11 19:11:41 +05:30
committed by GitHub
parent bab96bedbc
commit e20cb91827
24 changed files with 352 additions and 289 deletions

View File

@@ -22,6 +22,7 @@ reth-provider.workspace = true
reth-db.workspace = true
reth-rpc-engine-api.workspace = true
reth-rpc.workspace = true
reth-rpc-layer.workspace = true
reth-node-api.workspace = true
reth-node-core.workspace = true
reth-network.workspace = true

View File

@@ -19,7 +19,7 @@ use reth_node_core::{
use reth_primitives::{BlockNumber, Chain, ChainSpec, Head, PruneModes, B256};
use reth_provider::{providers::StaticFileProvider, ProviderFactory, StaticFileProviderFactory};
use reth_prune::PrunerBuilder;
use reth_rpc::JwtSecret;
use reth_rpc_layer::JwtSecret;
use reth_static_file::StaticFileProducer;
use reth_tasks::TaskExecutor;
use reth_tracing::tracing::{error, info, warn};

View File

@@ -46,3 +46,5 @@ pub use reth_node_core::node_config::NodeConfig;
pub use reth_node_api::*;
use aquamarine as _;
use reth_rpc as _;

View File

@@ -15,7 +15,7 @@ use reth_node_core::{
},
};
use reth_payload_builder::PayloadBuilderHandle;
use reth_rpc::JwtSecret;
use reth_rpc_layer::JwtSecret;
use reth_tasks::TaskExecutor;
use reth_tracing::tracing::{debug, info};
use std::{