Skip to content

Commit

Permalink
✅ Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredBorders committed Dec 19, 2023
1 parent c038631 commit 5beeb94
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
12 changes: 8 additions & 4 deletions test/utils/Bootstrap.sol
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,15 @@ contract BootstrapOptimism is Setup, OptimismParameters {
(Engine engine) = Setup.deploySystem({
perpsMarketProxy: PERPS_MARKET_PROXY,
spotMarketProxy: SPOT_MARKET_PROXY,
sUSDProxy: USD_PROXY
sUSDProxy: USD_PROXY,
pDAO: PDAO
});

EngineExposed engineExposed = new EngineExposed({
_perpsMarketProxy: PERPS_MARKET_PROXY,
_spotMarketProxy: SPOT_MARKET_PROXY,
_sUSDProxy: USD_PROXY
_sUSDProxy: USD_PROXY,
_pDAO: PDAO
});

return (
Expand All @@ -150,13 +152,15 @@ contract BootstrapOptimismGoerli is Setup, OptimismGoerliParameters {
(Engine engine) = Setup.deploySystem({
perpsMarketProxy: PERPS_MARKET_PROXY,
spotMarketProxy: SPOT_MARKET_PROXY,
sUSDProxy: USD_PROXY
sUSDProxy: USD_PROXY,
pDAO: PDAO
});

EngineExposed engineExposed = new EngineExposed({
_perpsMarketProxy: PERPS_MARKET_PROXY,
_spotMarketProxy: SPOT_MARKET_PROXY,
_sUSDProxy: USD_PROXY
_sUSDProxy: USD_PROXY,
_pDAO: PDAO
});

return (
Expand Down
5 changes: 3 additions & 2 deletions test/utils/exposed/EngineExposed.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ contract EngineExposed is Engine {
constructor(
address _perpsMarketProxy,
address _spotMarketProxy,
address _sUSDProxy
) Engine(_perpsMarketProxy, _spotMarketProxy, _sUSDProxy) {}
address _sUSDProxy,
address _pDAO
) Engine(_perpsMarketProxy, _spotMarketProxy, _sUSDProxy, _pDAO) {}

function getSynthAddress(uint128 synthMarketId)
public
Expand Down

0 comments on commit 5beeb94

Please sign in to comment.