Skip to content

Commit

Permalink
Update external.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ismellike authored and Jake Hartnell committed Aug 14, 2024
1 parent 0ae02a1 commit 06bca64
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions scripts/src/tests/deploy/external.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@ impl<Chain: CwEnv> cw_orch::contract::Deploy<Chain> for TokenFactorySuite<Chain>
fn deploy_on(chain: Chain, _data: Self::DeployData) -> Result<Self, Self::Error> {
// ########### Upload ##############
let suite: TokenFactorySuite<Chain> = TokenFactorySuite::store_on(chain.clone())?;

// ########### Instantiate ##############
// let init = TokenfactoryIssuerInit::NewToken {
// subdenom: "DAOTOKEN".into(),
// };
// suite.tokenfactory.instantiate(&init, None, None)?;

Ok(suite)
}
}
Expand Down Expand Up @@ -273,8 +280,7 @@ impl<Chain: CwEnv> cw_orch::contract::Deploy<Chain> for FantokenFactorySuite<Cha

fn deploy_on(chain: Chain, _data: Self::DeployData) -> Result<Self, Self::Error> {
// ########### Upload ##############
let suite: FantokenFactorySuite<Chain> =
FantokenFactorySuite::store_on(chain.clone())?;
let suite: FantokenFactorySuite<Chain> = FantokenFactorySuite::store_on(chain.clone())?;
// ########### Instantiate ##############
suite.factory.instantiate(&InstantiateMsg {}, None, None)?;
Ok(suite)
Expand Down

0 comments on commit 06bca64

Please sign in to comment.