From e4e4e5305a09b78d4cc6131ac3674b7e55186bfc Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Wed, 12 Apr 2023 15:38:19 +0000 Subject: [PATCH] fix: remove string type variant from balances --- --- a/tests/src/util/playgrounds/unique.dev.ts +++ b/tests/src/util/playgrounds/unique.dev.ts @@ -421,7 +421,7 @@ return capture; } - makeXcmProgramWithdrawDeposit(beneficiary: Uint8Array, id: any, amount: bigint | string) { + makeXcmProgramWithdrawDeposit(beneficiary: Uint8Array, id: any, amount: bigint) { return { V2: [ { @@ -468,7 +468,7 @@ }; } - makeXcmProgramReserveAssetDeposited(beneficiary: Uint8Array, id: any, amount: bigint | string) { + makeXcmProgramReserveAssetDeposited(beneficiary: Uint8Array, id: any, amount: bigint) { return { V2: [ { --- a/tests/src/util/playgrounds/unique.ts +++ b/tests/src/util/playgrounds/unique.ts @@ -2446,7 +2446,7 @@ return this.ethBalanceGroup.getEthereum(address); } - async setBalanceSubstrate(signer: TSigner, address: TSubstrateAccount, amount: bigint | string, reservedAmount: bigint | string = 0n) { + async setBalanceSubstrate(signer: TSigner, address: TSubstrateAccount, amount: bigint, reservedAmount: bigint = 0n) { await this.helper.executeExtrinsic(signer, 'api.tx.balances.setBalance', [address, amount, reservedAmount], true); } -- gitstuff