Skip to content

Commit

Permalink
test: correct expectations in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris-Hibbert committed Sep 11, 2024
1 parent 1ed2428 commit 525d0de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/boot/test/bootstrapTests/price-feed-replace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down Expand Up @@ -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');
Expand Down

0 comments on commit 525d0de

Please sign in to comment.