Skip to content

Commit

Permalink
fix wasm dir during join-network
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman authored and tzemanovic committed Aug 23, 2024
1 parent de21f53 commit 122373d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/apps_lib/src/client/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ use crate::config::genesis::transactions::{
};
use crate::config::genesis::{AddrOrPk, GenesisAddress};
use crate::config::global::GlobalConfig;
use crate::config::{self, genesis, get_default_namada_folder, TendermintMode};
use crate::config::{
self, genesis, get_default_namada_folder, TendermintMode, DEFAULT_WASM_DIR,
};
use crate::facade::tendermint::node::Id as TendermintNodeId;
use crate::wallet::{pre_genesis, CliWalletUtils};
use crate::{tendermint_node, wasm_loader};
Expand Down Expand Up @@ -253,7 +255,8 @@ pub async fn join_network(
}

// Validate the wasm artifacts checksums
validate_wasm_artifacts_aux(&chain_id, &config.wasm_dir).await;
validate_wasm_artifacts_aux(&chain_id, &chain_dir.join(&config.wasm_dir))
.await;

// Save the config and the wallet
config.write(&base_dir, &chain_id, true).unwrap();
Expand Down

0 comments on commit 122373d

Please sign in to comment.