From 4885adb72ffb4f7ee8ba5d847abfccc2923427c2 Mon Sep 17 00:00:00 2001 From: Dowland Aiello Date: Sat, 17 Aug 2024 16:19:57 +0000 Subject: [PATCH] Use proper creator address in build-address. --- src/utils/test_context.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/test_context.rs b/src/utils/test_context.rs index 915aa8a..ee9ba5d 100644 --- a/src/utils/test_context.rs +++ b/src/utils/test_context.rs @@ -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::{ @@ -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