chore(build): add reth-hl version output

This commit is contained in:
Quertyy
2025-09-09 19:26:05 +07:00
parent 51c43d6dbd
commit 37b852e810
6 changed files with 137 additions and 0 deletions

View File

@ -31,6 +31,9 @@ fn main() -> eyre::Result<()> {
std::env::set_var("RUST_BACKTRACE", "1");
}
// Initialize custom version metadata before parsing CLI so --version uses reth-hl values
reth_hl::version::init_reth_hl_version();
Cli::<HlChainSpecParser, HlNodeArgs>::parse().run(
|builder: WithLaunchContext<NodeBuilder<Arc<DatabaseEnv>, HlChainSpec>>,
ext: HlNodeArgs| async move {