Skip to content

Commit

Permalink
improve contribution over skipped draw test
Browse files Browse the repository at this point in the history
  • Loading branch information
trmid committed Oct 3, 2023
1 parent b38dac4 commit d4b4180
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/PrizePool.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ contract PrizePoolTest is Test {
closeDraw(1234);

// check if tier liquidity includes contribution from draws 1 + 2
assertEq(prizePool.getTotalContributedBetween(1, 1), 31e18);
assertApproxEqAbs(prizePool.getTotalContributedBetween(2, 2), 279e17, 10000);
assertApproxEqAbs(prizePool.getTierRemainingLiquidity(0), 10e18 + 9e18, 10000);
}

Expand Down

0 comments on commit d4b4180

Please sign in to comment.