mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
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:
@ -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
|
||||
|
||||
@ -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::*;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user