Skip to content

Commit

Permalink
tests: remove more unneeded approvals from _testSystemTokens
Browse files Browse the repository at this point in the history
  • Loading branch information
amusingaxl committed Sep 12, 2024
1 parent 617734e commit 57c0b26
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/DssSpell.t.base.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2694,7 +2694,6 @@ contract DssSpellTestBase is Config, DssTest {

vm.startPrank(mkrHolder);
gov.approve(address(mkrSky), type(uint256).max);
sky.approve(address(mkrSky), type(uint256).max);
mkrSky.mkrToSky(skyHolder, pmkrBalance);
vm.stopPrank();

Expand All @@ -2714,7 +2713,6 @@ contract DssSpellTestBase is Config, DssTest {
uint256 pmkrBalance = gov.balanceOf(mkrHolder);

vm.startPrank(skyHolder);
gov.approve(address(mkrSky), type(uint256).max);
sky.approve(address(mkrSky), type(uint256).max);
mkrSky.skyToMkr(mkrHolder, pskyBalance);
vm.stopPrank();
Expand Down

0 comments on commit 57c0b26

Please sign in to comment.