difftreelog
Increase the donor balance to 1M
in: master
1 file changed
tests/src/util/playgrounds/feedAlices.tsdiffbeforeafterboth38 const account = await privateKey({filename: f, ignoreFundsPresence: true});38 const account = await privateKey({filename: f, ignoreFundsPresence: true});39 const aliceBalance = await helper.balance.getSubstrate(account.address);39 const aliceBalance = await helper.balance.getSubstrate(account.address);404041 if (aliceBalance < 7500n * oneToken) {41 if (aliceBalance < 100_000n * oneToken) {42 tx.push(helper.executeExtrinsic(42 tx.push(helper.executeExtrinsic(43 alice, 43 alice, 44 'api.tx.balances.transfer',44 'api.tx.balances.transfer',45 [account.address, 15000n * oneToken],45 [account.address, 1_000_000n * oneToken],46 true,46 true,47 {nonce: nonce + balanceGrantedCounter++},47 {nonce: nonce + balanceGrantedCounter++},48 ).then(() => true).catch(() => {console.error(`Transaction to ${path.basename(f)} registered as failed. Strange.`); return false;}));48 ).then(() => true).catch(() => {console.error(`Transaction to ${path.basename(f)} registered as failed. Strange.`); return false;}));