From f6738a71d9e3b3dcb5c8b0a516270655a9fd4c4e Mon Sep 17 00:00:00 2001 From: anilhelvaci Date: Mon, 26 Feb 2024 20:37:41 +0300 Subject: [PATCH] fix(liquidationVisibility): lint fixes --- .../test/liquidationVisibility/test-liquidationVisibility.js | 5 +---- .../liquidationVisibility/test-liquidation-compatibility.js | 1 - .../liquidationVisibility/vaultFactory/liquidation.js | 5 ++++- .../liquidationVisibility/vaultFactory/params.js | 5 ++++- .../liquidationVisibility/vaultFactory/proceeds.js | 5 ++++- .../liquidationVisibility/vaultFactory/vault.js | 5 ++++- 6 files changed, 17 insertions(+), 9 deletions(-) diff --git a/packages/inter-protocol/test/liquidationVisibility/test-liquidationVisibility.js b/packages/inter-protocol/test/liquidationVisibility/test-liquidationVisibility.js index 15a9bb63fc72..c4129f28700e 100644 --- a/packages/inter-protocol/test/liquidationVisibility/test-liquidationVisibility.js +++ b/packages/inter-protocol/test/liquidationVisibility/test-liquidationVisibility.js @@ -1440,10 +1440,7 @@ test('liq-rejected-timestampStorageNode', async t => { await assertVaultState(t, vaultNotifier, 'active'); - const { startTime } = await startAuctionClock( - auctioneerKit, - manualTimer, - ); + const { startTime } = await startAuctionClock(auctioneerKit, manualTimer); // Check that no child node with auction start time's name created after the liquidation const vstorageDuringLiquidation = await getDataFromVstorage( diff --git a/packages/vats/test/bootstrapTests/liquidationVisibility/test-liquidation-compatibility.js b/packages/vats/test/bootstrapTests/liquidationVisibility/test-liquidation-compatibility.js index fcaa12ee9374..d2c06264da4f 100644 --- a/packages/vats/test/bootstrapTests/liquidationVisibility/test-liquidation-compatibility.js +++ b/packages/vats/test/bootstrapTests/liquidationVisibility/test-liquidation-compatibility.js @@ -106,4 +106,3 @@ test.serial('visibility-after-upgrade', async t => { t.log('Data', storage.data.keys()); t.pass(); }); - diff --git a/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/liquidation.js b/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/liquidation.js index 750a3eb49834..0f38bb4696b7 100644 --- a/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/liquidation.js +++ b/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/liquidation.js @@ -8,7 +8,10 @@ import { TimeMath } from '@agoric/time'; import { atomicRearrange } from '@agoric/zoe/src/contractSupport/index.js'; import { E } from '@endo/eventual-send'; -import { AUCTION_START_DELAY, PRICE_LOCK_PERIOD } from '@agoric/inter-protocol/src/auction/params.js'; +import { + AUCTION_START_DELAY, + PRICE_LOCK_PERIOD, +} from '@agoric/inter-protocol/src/auction/params.js'; import { makeCancelTokenMaker } from '@agoric/inter-protocol/src/auction/util.js'; const trace = makeTracer('LIQ'); diff --git a/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/params.js b/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/params.js index 31ec06585ee5..508f377834db 100644 --- a/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/params.js +++ b/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/params.js @@ -12,7 +12,10 @@ import { M, makeScalarMapStore } from '@agoric/store'; import { TimeMath } from '@agoric/time'; import { provideDurableMapStore } from '@agoric/vat-data'; import { subtractRatios } from '@agoric/zoe/src/contractSupport/ratio.js'; -import { amountPattern, ratioPattern } from '@agoric/inter-protocol/src/contractSupport.js'; +import { + amountPattern, + ratioPattern, +} from '@agoric/inter-protocol/src/contractSupport.js'; export const CHARGING_PERIOD_KEY = 'ChargingPeriod'; export const RECORDING_PERIOD_KEY = 'RecordingPeriod'; diff --git a/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/proceeds.js b/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/proceeds.js index 068f99c4d6b9..7d9520e52954 100644 --- a/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/proceeds.js +++ b/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/proceeds.js @@ -6,7 +6,10 @@ import { makeRatioFromAmounts, multiplyRatios, } from '@agoric/zoe/src/contractSupport/index.js'; -import { quoteAsRatio, subtractToEmpty } from '@agoric/inter-protocol/src/contractSupport.js'; +import { + quoteAsRatio, + subtractToEmpty, +} from '@agoric/inter-protocol/src/contractSupport.js'; import { liquidationResults } from './liquidation.js'; /** diff --git a/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/vault.js b/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/vault.js index 81e9601b347c..5dac1800b26a 100644 --- a/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/vault.js +++ b/packages/vats/test/bootstrapTests/liquidationVisibility/vaultFactory/vault.js @@ -8,7 +8,10 @@ import { allEmpty, makeNatAmountShape, } from '@agoric/inter-protocol/src/contractSupport.js'; -import { calculateCurrentDebt, reverseInterest } from '@agoric/inter-protocol/src/interest-math.js'; +import { + calculateCurrentDebt, + reverseInterest, +} from '@agoric/inter-protocol/src/interest-math.js'; import { UnguardedHelperI } from '@agoric/inter-protocol/src/typeGuards.js'; import { prepareVaultKit } from './vaultKit.js';