Skip to content

Commit

Permalink
sdk: fix tests not building
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Jan 8, 2024
1 parent 4fd8932 commit 4d249c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sdk/tests/dlob/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function insertOrderToDLOB(
auctionEndPrice,
maxTs,
},
userAccount,
userAccount.toString(),
slot.toNumber()
);
}
Expand Down Expand Up @@ -127,7 +127,7 @@ function insertTriggerOrderToDLOB(
auctionEndPrice,
maxTs,
},
userAccount,
userAccount.toString(),
slot.toNumber()
);
}
Expand Down
4 changes: 2 additions & 2 deletions sdk/tests/tx/priorityFeeStrategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('PriorityFeeStrategy', () => {
});

it('MaxOverSlotsStrategy should calculate the max prioritization fee over slots', () => {
const maxOverSlotsStrategy = new MaxOverSlotsStrategy(5);
const maxOverSlotsStrategy = new MaxOverSlotsStrategy();
const samples = [
{ slot: 6, prioritizationFee: 432 },
{ slot: 3, prioritizationFee: 543 },
Expand All @@ -80,7 +80,7 @@ describe('PriorityFeeStrategy', () => {
});

it('AverageOverSlotsStrategy should calculate the average prioritization fee over slots', () => {
const averageOverSlotsStrategy = new AverageOverSlotsStrategy(5);
const averageOverSlotsStrategy = new AverageOverSlotsStrategy();
const samples = [
{ slot: 6, prioritizationFee: 432 },
{ slot: 3, prioritizationFee: 543 },
Expand Down

0 comments on commit 4d249c7

Please sign in to comment.