From 23e879a40f3681821ad8dc844f598a5e6ddfc653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Criado-P=C3=A9rez?= Date: Sat, 22 Jul 2023 03:39:11 +0200 Subject: [PATCH] Corrected .ts files --- scripts/load-test-faucet.ts | 2 +- scripts/verify-vaults.ts | 2 +- src/utils/issueRedeem.ts | 2 +- .../integration/parachain/staging/sequential/nomination.test.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/load-test-faucet.ts b/scripts/load-test-faucet.ts index 2608f45b0..0a4b124a0 100644 --- a/scripts/load-test-faucet.ts +++ b/scripts/load-test-faucet.ts @@ -30,7 +30,7 @@ async function main() { faucet.fundAccount(accountId, Kintsugi) ); } - console.log(`Making ${users} simulatenous faucet requests...`); + console.log(`Making ${users} simultaneous faucet requests...`); await Promise.all(promises); console.log("Finished"); } diff --git a/scripts/verify-vaults.ts b/scripts/verify-vaults.ts index a75202656..e3d87bf8a 100644 --- a/scripts/verify-vaults.ts +++ b/scripts/verify-vaults.ts @@ -2,7 +2,7 @@ import { ApiPromise, WsProvider } from '@polkadot/api'; /** * This script allows to verify that Vaults are replicated on another networks. - * This script was orginially used to verify the correctness of the Kintsugi Vault v6 + * This script was originally used to verify the correctness of the Kintsugi Vault v6 * migration bug. */ async function main() { diff --git a/src/utils/issueRedeem.ts b/src/utils/issueRedeem.ts index cede739db..afa9d21ca 100644 --- a/src/utils/issueRedeem.ts +++ b/src/utils/issueRedeem.ts @@ -75,7 +75,7 @@ export const getRedeemRequestsFromExtrinsicResult = async ( * for redeem) and an amount to allocate, selects one or more vaults to fulfil * the request. * If the amount cannot be allocated by a single vault, greedily selects the vault - * with highest available amount and tries again for the remainder. If at leaast + * with highest available amount and tries again for the remainder. If at least * one vault can fulfil a request alone, a random one among them is selected. **/ export function allocateAmountsToVaults( diff --git a/test/integration/parachain/staging/sequential/nomination.test.ts b/test/integration/parachain/staging/sequential/nomination.test.ts index fabf396a4..8f09194e8 100644 --- a/test/integration/parachain/staging/sequential/nomination.test.ts +++ b/test/integration/parachain/staging/sequential/nomination.test.ts @@ -36,7 +36,7 @@ import { } from "../../../../utils/helpers"; import { Nomination } from "../../../../../src/parachain/nomination"; -// TODO: readd this once we want to activate nomination +// TODO: re-add this once we want to activate nomination describe.skip("NominationAPI", () => { let api: ApiPromise; let userInterBtcAPI: InterBtcApi;