Skip to content

Commit

Permalink
feat: remove borrow enabled requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Valeri committed Aug 29, 2022
1 parent 348ce20 commit 8b9221b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
3 changes: 0 additions & 3 deletions contracts/protocol/pool/PoolConfigurator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
21 changes: 12 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 8b9221b

Please sign in to comment.