Skip to content

Commit

Permalink
Use proper creator address in build-address.
Browse files Browse the repository at this point in the history
  • Loading branch information
dowlandaiello committed Aug 17, 2024
1 parent 8f7d11c commit 4885adb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/test_context.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use super::super::{
error::Error,
types::{config::ConfigChain, contract::DeployedContractInfo, ibc::Channel as QueryChannel},
LOCAL_IC_API_URL, NEUTRON_CHAIN_ADMIN_ADDR, NEUTRON_CHAIN_NAME, TRANSFER_PORT,
LOCAL_IC_API_URL, NEUTRON_CHAIN_NAME, TRANSFER_PORT,
};

use localic_std::{
Expand Down Expand Up @@ -655,7 +655,7 @@ impl<'a> TestContextQuery<'a> {
let code_info = self.get_code_info()?;
let code_id_hash = code_info["data_hash"].as_str()?;

let creator_address = NEUTRON_CHAIN_ADMIN_ADDR;
let creator_address = self.creator_address.as_ref()?;
let salt = self.salt_hex_encoded.as_deref()?;

let chain = self
Expand Down

0 comments on commit 4885adb

Please sign in to comment.