feat(rpc): impl rpc-builder types (#1203)

This commit is contained in:
Matthias Seitz
2023-02-07 20:03:05 +01:00
committed by GitHub
parent df6e3143c3
commit 10aa3d617a
15 changed files with 551 additions and 76 deletions

View File

@ -19,8 +19,14 @@ mod net;
mod trace;
mod web3;
pub use self::{
admin::AdminApiServer, debug::DebugApiServer, engine::EngineApiServer, eth::EthApiServer,
eth_filter::EthFilterApiServer, eth_pubsub::EthPubSubApiServer, net::NetApiServer,
trace::TraceApiServer, web3::Web3ApiServer,
};
/// re-export of all server traits
pub use servers::*;
/// Aggregates all server traits.
pub mod servers {
pub use crate::{
admin::AdminApiServer, debug::DebugApiServer, engine::EngineApiServer, eth::EthApiServer,
eth_filter::EthFilterApiServer, eth_pubsub::EthPubSubApiServer, net::NetApiServer,
trace::TraceApiServer, web3::Web3ApiServer,
};
}