From 9fb4d6fb39ecacf890a45ca508af878be627ab01 Mon Sep 17 00:00:00 2001 From: Veliko Minkov <2662912+vminkov@users.noreply.github.com> Date: Mon, 11 Sep 2023 16:09:34 +0300 Subject: [PATCH] chapel fix --- contracts/test/LeveredPositionTest.t.sol | 1 + contracts/test/LiquidatorsRegistryTest.t.sol | 13 ------------- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/contracts/test/LeveredPositionTest.t.sol b/contracts/test/LeveredPositionTest.t.sol index 633a10f5..207d4176 100644 --- a/contracts/test/LeveredPositionTest.t.sol +++ b/contracts/test/LeveredPositionTest.t.sol @@ -188,6 +188,7 @@ abstract contract LeveredPositionTest is MarketsTest { LiquidatorsRegistrySecondExtension newExt2 = new LiquidatorsRegistrySecondExtension(); vm.prank(SafeOwnable(address(registry)).owner()); asBase._registerExtension(newExt1, DiamondExtension(exts[0])); + vm.prank(SafeOwnable(address(registry)).owner()); asBase._registerExtension(newExt2, DiamondExtension(exts[1])); } diff --git a/contracts/test/LiquidatorsRegistryTest.t.sol b/contracts/test/LiquidatorsRegistryTest.t.sol index 30ad13f1..126987d1 100644 --- a/contracts/test/LiquidatorsRegistryTest.t.sol +++ b/contracts/test/LiquidatorsRegistryTest.t.sol @@ -240,17 +240,4 @@ contract LiquidatorsRegistryTest is BaseTest { _swap(tusdWhale, inputToken, inputAmount, outputToken, 5e16); } - - function testRedemptionPathCashAUsdcWeth() public debuggingOnly fork(POLYGON_MAINNET) { - IERC20Upgradeable cash = IERC20Upgradeable(0x5D066D022EDE10eFa2717eD3D79f22F949F8C175); - IERC20Upgradeable usdc = IERC20Upgradeable(0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174); - IERC20Upgradeable aUsdcWeth = IERC20Upgradeable(0xe058e1FfFF9B13d3FCd4803FDb55d1Cc2fe07DDC); - - upgradeRegistry(); - - registry.redemptionStrategiesByTokens(cash, aUsdcWeth); - registry.redemptionStrategiesByTokens(aUsdcWeth, cash); - registry.redemptionStrategiesByTokens(cash, usdc); - registry.redemptionStrategiesByTokens(usdc, cash); - } }