This commit is contained in:
The3D 2020-10-15 17:41:59 +02:00
parent 81df469a3e
commit 97b014a429
2 changed files with 15 additions and 1 deletions

View File

@ -65,7 +65,7 @@ library ValidationLogic {
GenericLogic.balanceDecreaseAllowed(
reserveAddress,
msg.sender,
userBalance,
amount,
reservesData,
userConfig,
reserves,

View File

@ -342,6 +342,20 @@
"expected": "success"
}
]
},
{
"description": "Users 1 tries to withdraw 0.05 WETH, which does not bring the HF below 1",
"actions": [
{
"name": "withdraw",
"args": {
"reserve": "WETH",
"amount": "0.05",
"user": "1"
},
"expected": "success"
}
]
}
]
}