mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
chore(cli): add default_client_version to rethCli (#11773)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -14,7 +14,7 @@ workspace = true
|
||||
[dependencies]
|
||||
# reth
|
||||
reth-cli-runner.workspace = true
|
||||
|
||||
reth-db.workspace = true
|
||||
alloy-genesis.workspace = true
|
||||
|
||||
# misc
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
|
||||
use clap::{Error, Parser};
|
||||
use reth_cli_runner::CliRunner;
|
||||
use reth_db::ClientVersion;
|
||||
use std::{borrow::Cow, ffi::OsString};
|
||||
|
||||
/// The chainspec module defines the different chainspecs that can be used by the node.
|
||||
@ -66,4 +67,7 @@ pub trait RethCli: Sized {
|
||||
|
||||
Ok(cli.with_runner(f))
|
||||
}
|
||||
|
||||
/// The client version of the node.
|
||||
fn client_version() -> ClientVersion;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user