Skip to content

Commit 3c73368

Browse files
authored
Merge pull request #2493 from subspace/fix-impl-version
Fix impl version to include git hash
2 parents 6c06b09 + 83c975d commit 3c73368

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/subspace-node/src/commands/run/consensus.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ pub(super) fn create_consensus_chain_configuration(
400400

401401
let consensus_chain_config = SubstrateConfiguration {
402402
impl_name: env!("CARGO_PKG_NAME").to_string(),
403-
impl_version: env!("CARGO_PKG_VERSION").to_string(),
403+
impl_version: env!("SUBSTRATE_CLI_IMPL_VERSION").into(),
404404
farmer,
405405
base_path: base_path.clone(),
406406
transaction_pool,

crates/subspace-node/src/commands/run/domain.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,8 @@ pub(super) fn create_domain_configuration(
307307
};
308308

309309
let domain_config = SubstrateConfiguration {
310-
impl_name: env!("CARGO_PKG_NAME").to_string(),
311-
impl_version: env!("CARGO_PKG_VERSION").to_string(),
310+
impl_name: consensus_chain_configuration.impl_name.clone(),
311+
impl_version: consensus_chain_configuration.impl_version.clone(),
312312
operator: operator_id.is_some(),
313313
base_path: base_path.clone(),
314314
transaction_pool,

0 commit comments

Comments
 (0)