Skip to content

Commit

Permalink
tests: remove 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 6d46dc1 commit 617734e
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 @@ -2644,7 +2644,6 @@ contract DssSpellTestBase is Config, DssTest {

vm.startPrank(daiHolder);
dai.approve(address(daiUsds), type(uint256).max);
usds.approve(address(daiUsds), type(uint256).max);
daiUsds.daiToUsds(usdsHolder, pdaiBalance);
vm.stopPrank();

Expand All @@ -2664,7 +2663,6 @@ contract DssSpellTestBase is Config, DssTest {
uint256 pdaiBalance = dai.balanceOf(daiHolder);

vm.startPrank(usdsHolder);
dai.approve(address(daiUsds), type(uint256).max);
usds.approve(address(daiUsds), type(uint256).max);
daiUsds.usdsToDai(daiHolder, pusdsBalance);
vm.stopPrank();
Expand Down

0 comments on commit 617734e

Please sign in to comment.