From 5beeb949715e909e332ce81b7188bda7492c56ad Mon Sep 17 00:00:00 2001 From: JaredBorders Date: Tue, 19 Dec 2023 18:55:17 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Update=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/utils/Bootstrap.sol | 12 ++++++++---- test/utils/exposed/EngineExposed.sol | 5 +++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/test/utils/Bootstrap.sol b/test/utils/Bootstrap.sol index 94e79a44..3eca65b8 100644 --- a/test/utils/Bootstrap.sol +++ b/test/utils/Bootstrap.sol @@ -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 ( @@ -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 ( diff --git a/test/utils/exposed/EngineExposed.sol b/test/utils/exposed/EngineExposed.sol index ee03ab63..a6e9d7b2 100644 --- a/test/utils/exposed/EngineExposed.sol +++ b/test/utils/exposed/EngineExposed.sol @@ -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