Skip to content

Commit d9cfb5c

Browse files
committed
tests: remove note on stkwell, require borrow
1 parent 3af3058 commit d9cfb5c

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

test/integration/oracle/ChainlinkOEVMorphoWrapperIntegration.t.sol

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,6 @@ contract ChainlinkOEVMorphoWrapperIntegrationTest is
197197
}
198198

199199
function testUpdatePriceEarlyAndLiquidate_stkWELL() public {
200-
// Note: stkWELL has no market, so fee recipient should be set to treasury
201-
// The wrapper will automatically detect this and transfer instead of calling _addReserves
202200
_testLiquidation(
203201
addresses.getAddress("CHAINLINK_stkWELL_USD_ORACLE_PROXY"),
204202
addresses.getAddress("STK_GOVTOKEN_PROXY"),
@@ -252,14 +250,7 @@ contract ChainlinkOEVMorphoWrapperIntegrationTest is
252250
IERC20(collToken).approve(address(morpho), collateralAmount);
253251
morpho.supplyCollateral(params, collateralAmount, BORROWER, "");
254252

255-
// Try to borrow - if it fails due to insufficient liquidity, skip the test
256-
try morpho.borrow(params, borrowAmount, 0, BORROWER, BORROWER) {
257-
// Borrow succeeded, continue with test
258-
} catch {
259-
vm.stopPrank();
260-
// Market doesn't have liquidity in current fork state, skip test
261-
return;
262-
}
253+
morpho.borrow(params, borrowAmount, 0, BORROWER, BORROWER);
263254
vm.stopPrank();
264255

265256
// Mock price crash

0 commit comments

Comments
 (0)