From 7e3166f066e732004535d946fbe725a2d39c548f Mon Sep 17 00:00:00 2001 From: Sam MacPherson Date: Thu, 10 Aug 2023 13:38:10 -0400 Subject: [PATCH] use collateral with ltv > 15% --- src/ProtocolV3TestBase.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ProtocolV3TestBase.sol b/src/ProtocolV3TestBase.sol index 09b93b7b5..6abb865b5 100644 --- a/src/ProtocolV3TestBase.sol +++ b/src/ProtocolV3TestBase.sol @@ -214,6 +214,8 @@ contract ProtocolV3TestBase is CommonTestBase { configs[i].usageAsCollateralEnabled && // not stable borrowable as this makes testing stable borrowing unnecessary hard to reason about !configs[i].stableBorrowRateEnabled && + // LTV is higher than 15% + configs[i].ltv > 1500 && // supply cap not yet reached ((configs[i].supplyCap * 10 ** configs[i].decimals) > IERC20(configs[i].aToken).totalSupply()) &&