Merge branch 'fix/146-reordering' into 'master'

- Reorder on LiquidationCallLocalVars for better packing.

Closes #146

See merge request aave-tech/protocol-v2!168
This commit is contained in:
The-3D 2020-11-12 09:26:46 +00:00
commit 00571bced7

View File

@ -72,13 +72,13 @@ contract LendingPoolCollateralManager is VersionedInitializable, LendingPoolStor
uint256 actualAmountToLiquidate; uint256 actualAmountToLiquidate;
uint256 liquidationRatio; uint256 liquidationRatio;
uint256 maxAmountCollateralToLiquidate; uint256 maxAmountCollateralToLiquidate;
ReserveLogic.InterestRateMode borrowRateMode;
uint256 userStableRate; uint256 userStableRate;
uint256 maxCollateralToLiquidate; uint256 maxCollateralToLiquidate;
uint256 principalAmountNeeded; uint256 principalAmountNeeded;
uint256 healthFactor; uint256 healthFactor;
IAToken collateralAtoken; IAToken collateralAtoken;
bool isCollateralEnabled; bool isCollateralEnabled;
ReserveLogic.InterestRateMode borrowRateMode;
address principalAToken; address principalAToken;
uint256 errorCode; uint256 errorCode;
string errorMsg; string errorMsg;