Skip to content

Commit

Permalink
Add extra check
Browse files Browse the repository at this point in the history
  • Loading branch information
sunbreak1211 committed Nov 13, 2023
1 parent c437674 commit d6b35c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration/Deployment.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ contract DeploymentTest is DssTest {
(ink, art) = dss.vat.urns(ILK, address(ilkInst.vault));
assertEq(ink, 1_000_000_000_000 * WAD);
assertEq(art, 1_000_000 * WAD);
assertEq(dss.vat.gem(ILK, address(dss.end)), 0);

vm.prank(PAUSE_PROXY); dss.end.cage();
dss.end.cage(ILK);
Expand All @@ -440,6 +441,7 @@ contract DeploymentTest is DssTest {
(ink, art) = dss.vat.urns(ILK, address(ilkInst.vault));
assertEq(ink, (1_000_000_000_000 - 1_000_000) * WAD);
assertEq(art, 0);
assertEq(dss.vat.gem(ILK, address(dss.end)), 1_000_000 * WAD);

stdstore.target(address(dss.vat)).sig("dai(address)").with_key(address(dss.vow)).depth(0).checked_write(uint256(0));
vm.warp(block.timestamp + dss.end.wait());
Expand Down

0 comments on commit d6b35c6

Please sign in to comment.