From 6482bf305780fd03cea76fe9447025134d266f8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bo=CC=88rner?= Date: Fri, 21 Feb 2025 15:41:32 +0100 Subject: [PATCH] chore: removed file and run linter + prettier --- bouncer/test_commands/evm_deposit.ts | 16 ---------------- bouncer/tests/evm_deposits.ts | 27 +++++++++++++-------------- 2 files changed, 13 insertions(+), 30 deletions(-) delete mode 100755 bouncer/test_commands/evm_deposit.ts diff --git a/bouncer/test_commands/evm_deposit.ts b/bouncer/test_commands/evm_deposit.ts deleted file mode 100755 index 06b7b7f55a..0000000000 --- a/bouncer/test_commands/evm_deposit.ts +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env -S pnpm tsx -import Keyring from '../polkadot/keyring'; -import { TestContext } from '../shared/utils/test_context'; -import { testEvmDeposits } from '../tests/evm_deposits'; - -const gennerate_address = false; - -if (gennerate_address) { - const keyring = new Keyring({ type: 'sr25519' }); - const broker = keyring.createFromUri('//BROKER_1'); - - console.log(`Broker address : ${broker.address}, Broker public key : ${broker.publicKey}`); -} else { - await testEvmDeposits(new TestContext()); -} - diff --git a/bouncer/tests/evm_deposits.ts b/bouncer/tests/evm_deposits.ts index 799941836e..9158b3dba2 100644 --- a/bouncer/tests/evm_deposits.ts +++ b/bouncer/tests/evm_deposits.ts @@ -198,24 +198,23 @@ async function testDoubleDeposit(parentLogger: Logger, sourceAsset: Asset, destA } export async function testEvmDeposits(testContext: TestContext) { - const depositTests = Promise.all([ - testSuccessiveDepositEvm('Eth', 'Dot', testContext), - testSuccessiveDepositEvm('Flip', 'Btc', testContext), - testSuccessiveDepositEvm('ArbEth', 'Dot', testContext), - testSuccessiveDepositEvm('ArbUsdc', 'Btc', testContext), - ]); + testSuccessiveDepositEvm('Eth', 'Dot', testContext), + testSuccessiveDepositEvm('Flip', 'Btc', testContext), + testSuccessiveDepositEvm('ArbEth', 'Dot', testContext), + testSuccessiveDepositEvm('ArbUsdc', 'Btc', testContext), + ]); const noDuplicatedWitnessingTest = Promise.all([ testNoDuplicateWitnessing('Eth', 'Dot', testContext), - testNoDuplicateWitnessing('Eth', 'Btc', testContext), - testNoDuplicateWitnessing('Eth', 'Flip', testContext), - testNoDuplicateWitnessing('Eth', 'Usdc', testContext), - testNoDuplicateWitnessing('ArbEth', 'Dot', testContext), - testNoDuplicateWitnessing('ArbEth', 'Btc', testContext), - testNoDuplicateWitnessing('ArbEth', 'Flip', testContext), - testNoDuplicateWitnessing('ArbEth', 'Usdc', testContext), - ]); + testNoDuplicateWitnessing('Eth', 'Btc', testContext), + testNoDuplicateWitnessing('Eth', 'Flip', testContext), + testNoDuplicateWitnessing('Eth', 'Usdc', testContext), + testNoDuplicateWitnessing('ArbEth', 'Dot', testContext), + testNoDuplicateWitnessing('ArbEth', 'Btc', testContext), + testNoDuplicateWitnessing('ArbEth', 'Flip', testContext), + testNoDuplicateWitnessing('ArbEth', 'Usdc', testContext), + ]); const multipleTxSwapsTest = Promise.all([ testTxMultipleVaultSwaps(testContext.logger, 'Eth', 'Dot'),