Skip to content

Commit

Permalink
✅ fix upgrade tests for address 0
Browse files Browse the repository at this point in the history
  • Loading branch information
cmontecoding committed Oct 16, 2024
1 parent a4995ce commit f1b4888
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/Upgrade.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ contract MockUpgrade is UpgradeTest {
address(spotMarketProxy),
address(sUSD),
address(pDAO),
address(zap),
address(USDC),
address(USDC),
address(0)
address(WETH)
);
}

Expand Down Expand Up @@ -157,9 +157,9 @@ contract RemoveUpgradability is UpgradeTest {
address(spotMarketProxy),
address(sUSD),
address(0), // set pDAO to zero address to effectively remove upgradability
address(zap),
address(USDC),
address(USDC),
address(0)
address(WETH)
);

vm.prank(pDAO);
Expand Down

0 comments on commit f1b4888

Please sign in to comment.