From a2193637269f47a1db6230ddbd3a09d9e98a1bfd Mon Sep 17 00:00:00 2001 From: Flocqst Date: Fri, 18 Oct 2024 14:33:29 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20adjust=20depositCollateralETH=20tes?= =?UTF-8?q?t=20with=20new=20=5Famount=20parameter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/Collateral.t.sol | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/Collateral.t.sol b/test/Collateral.t.sol index 64918914..a26ac2f7 100644 --- a/test/Collateral.t.sol +++ b/test/Collateral.t.sol @@ -265,6 +265,7 @@ contract DepositCollateral is CollateralTest { engine.depositCollateralETH{value: SMALLER_AMOUNT}({ _accountId: accountId, + _amount: SMALLER_AMOUNT, _tolerance: SMALLER_AMOUNT }); @@ -290,6 +291,7 @@ contract DepositCollateral is CollateralTest { engine.depositCollateralETH{value: amount}({ _accountId: accountId, + _amount: amount, _tolerance: amount * 97 / 100 }); @@ -526,6 +528,7 @@ contract WithdrawCollateral is CollateralTest { engine.depositCollateralETH{value: SMALLER_AMOUNT}({ _accountId: accountId, + _amount: SMALLER_AMOUNT, _tolerance: SMALLER_AMOUNT }); @@ -556,6 +559,7 @@ contract WithdrawCollateral is CollateralTest { engine.depositCollateralETH{value: amount}({ _accountId: accountId, + _amount: amount, _tolerance: amount * 97 / 100 }); @@ -581,6 +585,7 @@ contract WithdrawCollateral is CollateralTest { engine.depositCollateralETH{value: SMALLER_AMOUNT}({ _accountId: accountId, + _amount: SMALLER_AMOUNT, _tolerance: SMALLER_AMOUNT });