From 373bac109ba5af83e44f763aa9e2691ec9886325 Mon Sep 17 00:00:00 2001 From: andyk Date: Wed, 16 Sep 2020 15:45:49 +0300 Subject: [PATCH] small comments fixes --- contracts/lendingpool/LendingPoolCollateralManager.sol | 2 +- contracts/libraries/helpers/Errors.sol | 2 +- helpers/types.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/lendingpool/LendingPoolCollateralManager.sol b/contracts/lendingpool/LendingPoolCollateralManager.sol index 9c60c688..be4ad224 100644 --- a/contracts/lendingpool/LendingPoolCollateralManager.sol +++ b/contracts/lendingpool/LendingPoolCollateralManager.sol @@ -28,7 +28,7 @@ import {ValidationLogic} from '../libraries/logic/ValidationLogic.sol'; * @author Aave * @notice Implements actions involving management of collateral in the protocol. * @notice this contract will be ran always through delegatecall - * @dev LendingPoolCollateralManager inherits Pausable from OpenZeppelin to have the same storage layout as LendingPool + * @dev LendingPoolCollateralManager inherits VersionedInitializable from OpenZeppelin to have the same storage layout as LendingPool **/ contract LendingPoolCollateralManager is VersionedInitializable { using SafeERC20 for IERC20; diff --git a/contracts/libraries/helpers/Errors.sol b/contracts/libraries/helpers/Errors.sol index f1b9d5f8..cbf67b06 100644 --- a/contracts/libraries/helpers/Errors.sol +++ b/contracts/libraries/helpers/Errors.sol @@ -59,7 +59,7 @@ library Errors { string public constant STABLE_BORROW_RATE_OVERFLOW = '51'; // Stable borrow rate overflows uint128 //require error messages - LendingPoolConfiguration - string public constant CALLER_NOT_AAVE_ADMIN = '35'; // 'The caller must be a lending pool manager' + string public constant CALLER_NOT_AAVE_ADMIN = '35'; // 'The caller must be the aave admin' string public constant RESERVE_LIQUIDITY_NOT_0 = '36'; // 'The liquidity of the reserve needs to be 0' //require error messages - LendingPoolAddressesProviderRegistry diff --git a/helpers/types.ts b/helpers/types.ts index 0593f434..9063d1c7 100644 --- a/helpers/types.ts +++ b/helpers/types.ts @@ -86,7 +86,7 @@ export enum ProtocolErrors { RESERVE_ALREADY_INITIALIZED = '34', // 'Reserve has already been initialized' //require error messages - LendingPoolConfiguration - CALLER_NOT_AAVE_ADMIN = '35', // 'The caller must be a lending pool manager' + CALLER_NOT_AAVE_ADMIN = '35', // 'The caller must be the aave admin' RESERVE_LIQUIDITY_NOT_0 = '36', // 'The liquidity of the reserve needs to be 0' //require error messages - LendingPoolAddressesProviderRegistry