Skip to content

Commit

Permalink
fix(liquidationVisibility): lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
anilhelvaci committed Jun 17, 2024
1 parent 4f91dcc commit f6738a7
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,3 @@ test.serial('visibility-after-upgrade', async t => {
t.log('Data', storage.data.keys());
t.pass();
});

Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit f6738a7

Please sign in to comment.