From 9c5ab07cf9aa2bae66d158df1131ebd833038e84 Mon Sep 17 00:00:00 2001 From: Uncle Stinky Date: Sun, 13 Oct 2024 20:46:29 +0300 Subject: [PATCH] small fix for the ghost executable version Signed-off-by: Uncle Stinky --- Cargo.lock | 1 + cli/Cargo.toml | 2 +- cli/src/command.rs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c7665e4..d0e7359 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1203,6 +1203,7 @@ dependencies = [ "ghost-networks", "ghost-runtime-common", "ghost-slow-clap", + "hex-literal", "log", "pallet-alliance", "pallet-authority-discovery", diff --git a/cli/Cargo.toml b/cli/Cargo.toml index a267ed4..29317a8 100755 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-cli" -description = "Ghost Client Node" +description = "Implementation of a Ghost Client Node in Rust" version.workspace = true edition.workspace = true authors.workspace = true diff --git a/cli/src/command.rs b/cli/src/command.rs index 3acc5bf..ab41f0c 100755 --- a/cli/src/command.rs +++ b/cli/src/command.rs @@ -29,7 +29,7 @@ impl SubstrateCli for Cli { } fn impl_version() -> String { - env!("CARGO_PKG_DESCRIPTION").into() + env!("SUBSTRATE_CLI_IMPL_VERSION").into() } fn description() -> String {