Switch `forc new` to create a test that uses a wallet with some coins in it
@@ -100,7 +100,12 @@ abigen!(MyContract, "out/debug/"#,
async fn get_contract_instance() -> (MyContract, ContractId) {
// Launch a local network and deploy the contract
- let wallet = launch_provider_and_get_wallet().await;
+ let mut wallets = launch_custom_provider_and_get_wallets(
+ WalletsConfig::new_single(Some(1), Some(1000000)),
+ None,
+ )
+ .await;
+ let wallet = wallets.pop().unwrap();
let id = Contract::deploy(
"./out/debug/"#,
