mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 22:47:56 +00:00
Fix native version text on startup (#5618)
* Native version text was borked. * Unfix benchmarking.
This commit is contained in:
@@ -134,8 +134,12 @@ impl<C: SubstrateCli> Runner<C> {
|
||||
|
||||
/// A helper function that runs an `AbstractService` with tokio and stops if the process receives
|
||||
/// the signal `SIGTERM` or `SIGINT`.
|
||||
pub fn run_node<FNL, FNF, SL, SF>(self, new_light: FNL, new_full: FNF) -> Result<()>
|
||||
where
|
||||
pub fn run_node<FNL, FNF, SL, SF>(
|
||||
self,
|
||||
new_light: FNL,
|
||||
new_full: FNF,
|
||||
runtime_version: sp_version::RuntimeVersion,
|
||||
) -> Result<()> where
|
||||
FNL: FnOnce(Configuration) -> sc_service::error::Result<SL>,
|
||||
FNF: FnOnce(Configuration) -> sc_service::error::Result<SF>,
|
||||
SL: AbstractService + Unpin,
|
||||
@@ -152,6 +156,7 @@ impl<C: SubstrateCli> Runner<C> {
|
||||
info!("📋 Chain specification: {}", self.config.chain_spec.name());
|
||||
info!("🏷 Node name: {}", self.config.network.node_name);
|
||||
info!("👤 Role: {}", self.config.display_role());
|
||||
info!("⛓ Native runtime: {}", runtime_version);
|
||||
|
||||
match self.config.role {
|
||||
Role::Light => self.run_service_until_exit(new_light),
|
||||
|
||||
Reference in New Issue
Block a user