mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: Move RPC addons to addons/
This commit is contained in:
3
src/addons/mod.rs
Normal file
3
src/addons/mod.rs
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
pub mod call_forwarder;
|
||||||
|
pub mod hl_node_compliance;
|
||||||
|
pub mod tx_forwarder;
|
||||||
@ -1,11 +1,9 @@
|
|||||||
pub mod call_forwarder;
|
pub mod addons;
|
||||||
pub mod chainspec;
|
pub mod chainspec;
|
||||||
pub mod consensus;
|
pub mod consensus;
|
||||||
mod evm;
|
mod evm;
|
||||||
mod hardforks;
|
mod hardforks;
|
||||||
pub mod hl_node_compliance;
|
|
||||||
pub mod node;
|
pub mod node;
|
||||||
pub mod pseudo_peer;
|
pub mod pseudo_peer;
|
||||||
pub mod tx_forwarder;
|
|
||||||
|
|
||||||
pub use node::primitives::{HlBlock, HlBlockBody, HlPrimitives};
|
pub use node::primitives::{HlBlock, HlBlockBody, HlPrimitives};
|
||||||
|
|||||||
@ -4,15 +4,17 @@ use clap::Parser;
|
|||||||
use reth::builder::{NodeBuilder, NodeHandle, WithLaunchContext};
|
use reth::builder::{NodeBuilder, NodeHandle, WithLaunchContext};
|
||||||
use reth_db::DatabaseEnv;
|
use reth_db::DatabaseEnv;
|
||||||
use reth_hl::{
|
use reth_hl::{
|
||||||
call_forwarder::{self, CallForwarderApiServer},
|
addons::{
|
||||||
|
call_forwarder::{self, CallForwarderApiServer},
|
||||||
|
hl_node_compliance::install_hl_node_compliance,
|
||||||
|
tx_forwarder::{self, EthForwarderApiServer},
|
||||||
|
},
|
||||||
chainspec::{parser::HlChainSpecParser, HlChainSpec},
|
chainspec::{parser::HlChainSpecParser, HlChainSpec},
|
||||||
hl_node_compliance::install_hl_node_compliance,
|
|
||||||
node::{
|
node::{
|
||||||
cli::{Cli, HlNodeArgs},
|
cli::{Cli, HlNodeArgs},
|
||||||
storage::tables::Tables,
|
storage::tables::Tables,
|
||||||
HlNode,
|
HlNode,
|
||||||
},
|
},
|
||||||
tx_forwarder::{self, EthForwarderApiServer},
|
|
||||||
};
|
};
|
||||||
use tracing::info;
|
use tracing::info;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user