git.delta.rocks / unique-network / refs/commits / c5df85bfa1e3

difftreelog

tests: use forceSetBalance

Max Andreev2023-06-02parent: #388c9c0.patch.diff
in: master

1 file changed

modifiedtests/src/util/playgrounds/unique.tsdiffbeforeafterboth
2526 return this.ethBalanceGroup.getEthereum(address);2526 return this.ethBalanceGroup.getEthereum(address);
2527 }2527 }
25282528
2529 async setBalanceSubstrate(signer: TSigner, address: TSubstrateAccount, amount: bigint, reservedAmount = 0n) {2529 async setBalanceSubstrate(signer: TSigner, address: TSubstrateAccount, amount: bigint) {
2530 await this.helper.executeExtrinsic(signer, 'api.tx.balances.setBalance', [address, amount, reservedAmount], true);2530 await this.helper.executeExtrinsic(signer, 'api.tx.balances.forceSetBalance', [address, amount], true);
2531 }2531 }
25322532
2533 /**2533 /**