Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feature/base
Browse files Browse the repository at this point in the history
  • Loading branch information
u-hubar committed Jun 21, 2024
2 parents 06da5fa + 77e227e commit c8b44cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/v2/unit/LinearSum.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ describe('@v2 @unit LinearSum', function () {
BigNumber.from('1000000000000000000'),
BigNumber.from('1000000000000000000'),
1,
100,
10,
]);
});

Expand Down Expand Up @@ -319,9 +319,9 @@ describe('@v2 @unit LinearSum', function () {
minStake,
maxStake,
);
expect(scoreBeforeScaling).to.be.equal(BigNumber.from('3064102564102564100'));
expect(scoreBeforeScaling).to.be.equal(BigNumber.from('756410256410256410'));

const score = await calculateScore(distance, stake, maxDistance, 1, 1, minStake, maxStake);
expect(score).to.be.equal(BigNumber.from('33356597999'));
expect(score).to.be.equal(BigNumber.from('75607442935'));
});
});

0 comments on commit c8b44cc

Please sign in to comment.