diff --git a/contracts/protocol/pool/PoolConfigurator.sol b/contracts/protocol/pool/PoolConfigurator.sol index 780e01b55..cebbb0cfa 100644 --- a/contracts/protocol/pool/PoolConfigurator.sol +++ b/contracts/protocol/pool/PoolConfigurator.sol @@ -199,9 +199,6 @@ contract PoolConfigurator is VersionedInitializable, IPoolConfigurator { { DataTypes.ReserveConfigurationMap memory currentConfig = _pool.getConfiguration(asset); - if (enabled) { - require(currentConfig.getBorrowingEnabled(), Errors.BORROWING_NOT_ENABLED); - } currentConfig.setFlashLoanEnabled(enabled); _pool.setConfiguration(asset, currentConfig); emit ReserveFlashLoaning(asset, enabled); diff --git a/package-lock.json b/package-lock.json index f58c17f04..fc1e73ff1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@aave/core-v3", - "version": "1.16.2", + "version": "1.16.2-beta.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@aave/core-v3", - "version": "1.16.2", + "version": "1.16.2-beta.0", "license": "BUSL-1.1", "dependencies": { "@nomiclabs/hardhat-etherscan": "^2.1.7", @@ -14,7 +14,7 @@ "tmp-promise": "^3.0.2" }, "devDependencies": { - "@aave/deploy-v3": "1.27.0", + "@aave/deploy-v3": "1.24.0-beta.0", "@aave/periphery-v3": "1.18.0", "@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13", "@tenderly/hardhat-tenderly": "1.1.0-beta.5", @@ -69,15 +69,18 @@ } }, "node_modules/@aave/deploy-v3": { - "version": "1.27.0", - "resolved": "https://npm.pkg.github.com/download/@aave/deploy-v3/1.27.0/43e2eb3f7bab0f99324d1ce9cbd97fdd40c25a33bdc253d1d7780f61d561b1f4", - "integrity": "sha512-NhZwkPn81yPeCU5GmHXcVLkp/+ljjw6np1wW61v+IWZjqeV+RB4Bm0kf2IE9Pc09aeZsyIZJ5kLbL4OQW0Mprg==", + "version": "1.24.0-beta.0", + "resolved": "https://npm.pkg.github.com/download/@aave/deploy-v3/1.24.0-beta.0/db0a131eff2539798c1e5128f1d28b9fe7d39080", + "integrity": "sha512-MQtuDGbk2qC3lylf8dX3omvgSnMsHjIDZPrQmfmqgegcPzDPySzyGb9STSuBn2unDbG48F+eP2tVlAGGQDt3EA==", "dev": true, "license": "AGPLv3", "dependencies": { "bip39": "^3.0.4", "defender-relay-client": "^1.11.1" }, + "engines": { + "node": ">=16.0.0" + }, "peerDependencies": { "@aave/core-v3": "1.x", "@aave/periphery-v3": "1.x", @@ -23908,9 +23911,9 @@ } }, "@aave/deploy-v3": { - "version": "1.27.0", - "resolved": "https://npm.pkg.github.com/download/@aave/deploy-v3/1.27.0/43e2eb3f7bab0f99324d1ce9cbd97fdd40c25a33bdc253d1d7780f61d561b1f4", - "integrity": "sha512-NhZwkPn81yPeCU5GmHXcVLkp/+ljjw6np1wW61v+IWZjqeV+RB4Bm0kf2IE9Pc09aeZsyIZJ5kLbL4OQW0Mprg==", + "version": "1.24.0-beta.0", + "resolved": "https://npm.pkg.github.com/download/@aave/deploy-v3/1.24.0-beta.0/db0a131eff2539798c1e5128f1d28b9fe7d39080", + "integrity": "sha512-MQtuDGbk2qC3lylf8dX3omvgSnMsHjIDZPrQmfmqgegcPzDPySzyGb9STSuBn2unDbG48F+eP2tVlAGGQDt3EA==", "dev": true, "requires": { "bip39": "^3.0.4", diff --git a/package.json b/package.json index efa81b006..bf0b93fbd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aave/core-v3", - "version": "1.16.2-beta.0", + "version": "1.16.2-beta.1", "description": "Aave Protocol V3 core smart contracts", "files": [ "contracts", @@ -30,7 +30,7 @@ "prepublish": "npm run compile" }, "devDependencies": { - "@aave/deploy-v3": "1.27.0", + "@aave/deploy-v3": "1.24.0-beta.0", "@aave/periphery-v3": "1.18.0", "@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13", "@tenderly/hardhat-tenderly": "1.1.0-beta.5",