Skip to content

Commit

Permalink
chore: test for allowance
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaSethi committed Sep 1, 2023
1 parent cdac69f commit 31d24bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/DefaultInflationManager.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ contract DefaultInflationManagerTest is Test {
assertEq(inflationManager.stakeManager(), stakeManager);
assertEq(inflationManager.treasury(), treasury);
assertEq(inflationManager.owner(), governance);
assertEq(
polygon.allowance(address(inflationManager), address(migration)),
type(uint256).max
);
assertEq(inflationManager.START_SUPPLY(), 10_000_000_000e18);
assertEq(polygon.totalSupply(), 10_000_000_000e18);
}

function test_InvalidDeployment(uint256 seed) external {
Expand Down

0 comments on commit 31d24bb

Please sign in to comment.