Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaSethi committed Sep 1, 2023
1 parent 6735577 commit 68e90a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/Polygon.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ contract PolygonTest is Test {
address public treasury;
address public stakeManager;
DefaultInflationManager public inflationManager;
uint256 public constant mintPerSecondCap = 0.0000000420e18; // 0.0000042% of POL Supply per second, in 18 decimals

function setUp() external {
migration = makeAddr("migration");
Expand Down Expand Up @@ -97,7 +98,7 @@ contract PolygonTest is Test {
);
skip(++delay); // avoid delay == 0

uint256 maxMint = (0.00000001e18 * delay * polygon.totalSupply()) /
uint256 maxMint = (mintPerSecondCap * delay * polygon.totalSupply()) /
1e18;
if (amount > maxMint)
vm.expectRevert(
Expand Down

0 comments on commit 68e90a9

Please sign in to comment.