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 consensus;
|
||||
mod evm;
|
||||
mod hardforks;
|
||||
pub mod hl_node_compliance;
|
||||
pub mod node;
|
||||
pub mod pseudo_peer;
|
||||
pub mod tx_forwarder;
|
||||
|
||||
pub use node::primitives::{HlBlock, HlBlockBody, HlPrimitives};
|
||||
|
||||
@ -4,15 +4,17 @@ use clap::Parser;
|
||||
use reth::builder::{NodeBuilder, NodeHandle, WithLaunchContext};
|
||||
use reth_db::DatabaseEnv;
|
||||
use reth_hl::{
|
||||
addons::{
|
||||
call_forwarder::{self, CallForwarderApiServer},
|
||||
chainspec::{parser::HlChainSpecParser, HlChainSpec},
|
||||
hl_node_compliance::install_hl_node_compliance,
|
||||
tx_forwarder::{self, EthForwarderApiServer},
|
||||
},
|
||||
chainspec::{parser::HlChainSpecParser, HlChainSpec},
|
||||
node::{
|
||||
cli::{Cli, HlNodeArgs},
|
||||
storage::tables::Tables,
|
||||
HlNode,
|
||||
},
|
||||
tx_forwarder::{self, EthForwarderApiServer},
|
||||
};
|
||||
use tracing::info;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user