mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: Create hl-specific tables
This commit is contained in:
@ -2,7 +2,7 @@ use clap::{Args, Parser};
|
||||
use reth::builder::NodeHandle;
|
||||
use reth_hl::{
|
||||
chainspec::parser::HlChainSpecParser,
|
||||
node::{cli::Cli, HlNode},
|
||||
node::{cli::Cli, HlNode, storage::tables::Tables},
|
||||
};
|
||||
|
||||
// We use jemalloc for performance reasons
|
||||
@ -24,6 +24,7 @@ fn main() -> eyre::Result<()> {
|
||||
}
|
||||
|
||||
Cli::<HlChainSpecParser, NoArgs>::parse().run(|builder, _| async move {
|
||||
builder.builder.database.create_tables_for::<Tables>()?;
|
||||
let (node, engine_handle_tx) = HlNode::new();
|
||||
let NodeHandle {
|
||||
node,
|
||||
|
||||
Reference in New Issue
Block a user