difftreelog
tests: make transferFromExpectFail accept bigint
in: master
1 file changed
tests/src/util/helpers.tsdiffbeforeafterboth540 accountApproved: IKeyringPair,540 accountApproved: IKeyringPair,541 accountFrom: IKeyringPair,541 accountFrom: IKeyringPair,542 accountTo: IKeyringPair,542 accountTo: IKeyringPair,543 value: number = 1) {543 value: number | bigint = 1) {544 await usingApi(async (api: ApiPromise) => {544 await usingApi(async (api: ApiPromise) => {545 const transferFromTx = await api.tx.nft.transferFrom(545 const transferFromTx = await api.tx.nft.transferFrom(546 accountFrom.address, accountTo.address, collectionId, tokenId, value);546 accountFrom.address, accountTo.address, collectionId, tokenId, value);