diff --git a/test/helpers/ForkTest.sol b/test/helpers/ForkTest.sol index b14855e4..0dd70870 100644 --- a/test/helpers/ForkTest.sol +++ b/test/helpers/ForkTest.sol @@ -221,8 +221,8 @@ contract ForkTest is BaseTest, Configured { function _getLtvLt(address underlying) internal view returns (uint256 ltvConfig, uint256 ltConfig) { DataTypes.ReserveConfigurationMap memory config = pool.getConfiguration(underlying); - ltvConfig = uint16(config.getLtv()); - ltConfig = uint16(config.getLiquidationThreshold()); + ltvConfig = config.getLtv(); + ltConfig = config.getLiquidationThreshold(); } function _setEModeCategoryAsset( diff --git a/test/integration/TestIntegrationEModeNative.sol b/test/integration/TestIntegrationEModeNative.sol index 87b77e24..80a54757 100644 --- a/test/integration/TestIntegrationEModeNative.sol +++ b/test/integration/TestIntegrationEModeNative.sol @@ -16,7 +16,7 @@ contract TestIntegrationEModeNative is IntegrationTest { using EModeConfiguration for uint128; function setUp() public virtual override { - uint256 lsdNativeIndex = pool.getReserveData(stNative).id; + uint256 stNativeIndex = pool.getReserveData(stNative).id; // Guess the eModeCategoryId for LSD to be 1. eModeCategoryId = 1; @@ -24,7 +24,7 @@ contract TestIntegrationEModeNative is IntegrationTest { DataTypes.CollateralConfig memory collateralConfig = pool.getEModeCategoryCollateralConfig(eModeCategoryId); require(collateralConfig.liquidationThreshold != 0, "not activated e-mode"); require( - pool.getEModeCategoryCollateralBitmap(eModeCategoryId).isReserveEnabledOnBitmap(lsdNativeIndex), + pool.getEModeCategoryCollateralBitmap(eModeCategoryId).isReserveEnabledOnBitmap(stNativeIndex), "wrong e-mode category" );