Skip to content

Commit db869b2

Browse files
author
omriss
committed
fix typo
1 parent dd9615e commit db869b2

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

test/strategies/ALMF.Sonic.t.sol

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
forge fmt --check 2>&1 | grep -oP '^Diff in \K.*\.sol' | xargs -r forge fmt// SPDX-License-Identifier: MIT
1+
// SPDX-License-Identifier: MIT
22
pragma solidity ^0.8.23;
33

44
import {IControllable} from "../../src/interfaces/IControllable.sol";
@@ -407,10 +407,6 @@ contract ALMFStrategySonicTest is SonicSetup, UniversalTest {
407407
function _testDepositWithPartialDirectRepay() internal {
408408
(State memory state0, State memory state1) = _testDepositWithDirectRepay([uint(1e18), 0.3e18]);
409409

410-
uint priceCollateral8 = _getWethPrice8();
411-
uint priceDebt8 = IAavePriceOracle(IAaveAddressProvider(IPool(POOL).ADDRESSES_PROVIDER()).getPriceOracle()).getAssetPrice(SonicConstantsLib.TOKEN_USDC);
412-
uint amountToRepay = 1e18 * priceCollateral8 * 1e6 / priceDebt8 / 1e18;
413-
414410
assertGt(state1.collateralAmount, state0.collateralAmount, "collateral is increased");
415411
assertApproxEqRel(state1.leverage, state1.targetLeverage, 1e16, "leverage should be equal to target");
416412
}

0 commit comments

Comments
 (0)