Skip to content

Commit

Permalink
Merge pull request #2493 from subspace/fix-impl-version
Browse files Browse the repository at this point in the history
Fix impl version to include git hash
  • Loading branch information
nazar-pc authored Jan 31, 2024
2 parents 6c06b09 + 83c975d commit 3c73368
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/subspace-node/src/commands/run/consensus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ pub(super) fn create_consensus_chain_configuration(

let consensus_chain_config = SubstrateConfiguration {
impl_name: env!("CARGO_PKG_NAME").to_string(),
impl_version: env!("CARGO_PKG_VERSION").to_string(),
impl_version: env!("SUBSTRATE_CLI_IMPL_VERSION").into(),
farmer,
base_path: base_path.clone(),
transaction_pool,
Expand Down
4 changes: 2 additions & 2 deletions crates/subspace-node/src/commands/run/domain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ pub(super) fn create_domain_configuration(
};

let domain_config = SubstrateConfiguration {
impl_name: env!("CARGO_PKG_NAME").to_string(),
impl_version: env!("CARGO_PKG_VERSION").to_string(),
impl_name: consensus_chain_configuration.impl_name.clone(),
impl_version: consensus_chain_configuration.impl_version.clone(),
operator: operator_id.is_some(),
base_path: base_path.clone(),
transaction_pool,
Expand Down

0 comments on commit 3c73368

Please sign in to comment.