From 884e6ff81eb51c56edf8ff4a62b2eb709295e86b Mon Sep 17 00:00:00 2001 From: Paul <108695806+pxrl@users.noreply.github.com> Date: Tue, 26 Mar 2024 13:36:41 +0100 Subject: [PATCH] lint --- test/InventoryClient.RefundChain.ts | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/test/InventoryClient.RefundChain.ts b/test/InventoryClient.RefundChain.ts index 84eb29880..88ee5f08c 100644 --- a/test/InventoryClient.RefundChain.ts +++ b/test/InventoryClient.RefundChain.ts @@ -20,7 +20,13 @@ import { import { ConfigStoreClient, InventoryClient } from "../src/clients"; // Tested import { CrossChainTransferClient } from "../src/clients/bridges"; import { V3Deposit, InventoryConfig } from "../src/interfaces"; -import { ZERO_ADDRESS, bnZero, fixedPointAdjustment as fixedPoint, getNetworkName, TOKEN_SYMBOLS_MAP } from "../src/utils"; +import { + ZERO_ADDRESS, + bnZero, + fixedPointAdjustment as fixedPoint, + getNetworkName, + TOKEN_SYMBOLS_MAP, +} from "../src/utils"; import { MockAdapterManager, MockBundleDataClient, MockHubPoolClient, MockTokenClient } from "./mocks"; describe("InventoryClient: Refund chain selection", async function () { @@ -36,7 +42,6 @@ describe("InventoryClient: Refund chain selection", async function () { let sampleDepositData: V3Deposit; let crossChainTransferClient: CrossChainTransferClient; - // construct two mappings of chainId to token address. Set the l1 token address to the "real" token address. const l2TokensForWeth = { 1: mainnetWeth }; const l2TokensForUsdc = { 1: mainnetUsdc }; @@ -86,9 +91,10 @@ describe("InventoryClient: Refund chain selection", async function () { }; const computeOutputAmount = async (deposit: V3Deposit) => { - const { realizedLpFeePct } = await hubPoolClient.computeRealizedLpFeePct( - { ...deposit, paymentChainId: deposit.destinationChainId } - ); + const { realizedLpFeePct } = await hubPoolClient.computeRealizedLpFeePct({ + ...deposit, + paymentChainId: deposit.destinationChainId, + }); return deposit.inputAmount.mul(fixedPoint.sub(relayerFeePct.add(realizedLpFeePct))).div(fixedPoint); };