Skip to content

Commit

Permalink
✅ Update deployment test
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredBorders committed Dec 19, 2023
1 parent 4e5e7b6 commit c038631
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions test/Deployment.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ contract DeploymentTest is Test, Setup {
(Engine engine) = setup.deploySystem({
perpsMarketProxy: address(0x1),
spotMarketProxy: address(0x2),
sUSDProxy: address(0x3)
sUSDProxy: address(0x3),
pDAO: address(0x4)
});

assertTrue(address(engine) != address(0x0));
Expand All @@ -26,7 +27,8 @@ contract DeploymentTest is Test, Setup {
try setup.deploySystem({
perpsMarketProxy: address(0),
spotMarketProxy: address(0x2),
sUSDProxy: address(0x3)
sUSDProxy: address(0x3),
pDAO: address(0x4)
}) {} catch (bytes memory reason) {
assertEq(bytes4(reason), IEngine.ZeroAddress.selector);
}
Expand All @@ -36,7 +38,8 @@ contract DeploymentTest is Test, Setup {
try setup.deploySystem({
perpsMarketProxy: address(0x1),
spotMarketProxy: address(0),
sUSDProxy: address(0x3)
sUSDProxy: address(0x3),
pDAO: address(0x4)
}) {} catch (bytes memory reason) {
assertEq(bytes4(reason), IEngine.ZeroAddress.selector);
}
Expand All @@ -46,7 +49,8 @@ contract DeploymentTest is Test, Setup {
try setup.deploySystem({
perpsMarketProxy: address(0x1),
spotMarketProxy: address(0x2),
sUSDProxy: address(0)
sUSDProxy: address(0),
pDAO: address(0x4)
}) {} catch (bytes memory reason) {
assertEq(bytes4(reason), IEngine.ZeroAddress.selector);
}
Expand Down

0 comments on commit c038631

Please sign in to comment.