From 525d0debd568ae66e1476f813b4fd88bc3b59bb0 Mon Sep 17 00:00:00 2001 From: Chris Hibbert Date: Wed, 11 Sep 2024 15:59:07 -0700 Subject: [PATCH] test: correct expectations in test --- packages/boot/test/bootstrapTests/price-feed-replace.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/boot/test/bootstrapTests/price-feed-replace.test.ts b/packages/boot/test/bootstrapTests/price-feed-replace.test.ts index e3c60c5016c..f089979e5c6 100644 --- a/packages/boot/test/bootstrapTests/price-feed-replace.test.ts +++ b/packages/boot/test/bootstrapTests/price-feed-replace.test.ts @@ -46,7 +46,7 @@ const setup: LiquidationSetup = { }; const outcome = { - bids: [{ payouts: { Bid: 0, Collateral: 1.800828 } }], + bids: [{ payouts: { Bid: 0, Collateral: 2.224446 } }], }; test.serial('setupVaults; run replace-price-feeds proposals', async t => { @@ -165,7 +165,8 @@ test.serial('3. verify liquidation', async t => { console.log(collateralBrandKey, 'step 6 of 10'); await advanceTimeBy(3, 'minutes'); t.like(readLatest(`published.auction.book${managerIndex}`), { - collateralAvailable: { value: 13199172n }, + // 15_000_000 - ( 20_000_000 / 8.991 ) + collateralAvailable: { value: 12775554n }, }); console.log(collateralBrandKey, 'step 7 of 10');