chore(rpc): move impl of eth api server out of reth-rpc-eth-api (#9135)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Emilia Hane
2024-06-27 14:34:17 +02:00
committed by GitHub
parent 933a1dea39
commit 1b9f5871f5
92 changed files with 2326 additions and 1798 deletions

View File

@ -37,6 +37,8 @@ reth-rpc.workspace = true
reth-rpc-types.workspace = true
reth-rpc-types-compat.workspace = true
reth-rpc-api = { workspace = true, features = ["client"] }
reth-rpc-eth-types.workspace = true
reth-rpc-server-types.workspace = true
reth-network = { workspace = true, features = ["serde"] }
reth-network-p2p.workspace = true
reth-net-banlist.workspace = true
@ -153,6 +155,7 @@ optimism = [
"reth-blockchain-tree/optimism",
"dep:reth-node-optimism",
"reth-node-core/optimism",
"reth-rpc-eth-types/optimism",
]
# no-op feature flag for switching between the `optimism` and default functionality in CI matrices

View File

@ -148,6 +148,15 @@ pub mod rpc {
pub use reth_rpc_types::*;
}
/// Re-exported from `reth_rpc_server_types`.
pub mod server_types {
pub use reth_rpc_server_types::*;
/// Re-exported from `reth_rpc_eth_types`.
pub mod eth {
pub use reth_rpc_eth_types::*;
}
}
/// Re-exported from `reth_rpc_api`.
pub mod api {
pub use reth_rpc_api::*;
@ -159,10 +168,10 @@ pub mod rpc {
/// Re-exported from `reth_rpc::rpc`.
pub mod result {
pub use reth_rpc::result::*;
pub use reth_rpc_server_types::result::*;
}
/// Re-exported from `reth_rpc::eth`.
/// Re-exported from `reth_rpc_types_compat`.
pub mod compat {
pub use reth_rpc_types_compat::*;
}