You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is unbacked liquidity in the system and governance decides to "switch off" portals (setting a zero unbackedMintCap), the calculation of the interest rates would be wrong since this function would pass 0 as unbacked because of 0 unbackedMintCap (when we could have non-zero unbacked).
Agree with fixing the first, but for now would leave the validation of the setter for a following iteration, because I think we should do a broader review of this type of cases (fairly sure there is more)
If there is
unbacked
liquidity in the system and governance decides to "switch off" portals (setting a zerounbackedMintCap
), the calculation of the interest rates would be wrong since this function would pass 0 asunbacked
because of 0unbackedMintCap
(when we could have non-zerounbacked
).aave-v3-core/contracts/protocol/libraries/logic/ReserveLogic.sol
Lines 167 to 198 in f3e037b
Additionally, there is no check of the current
unbacked
amount inIPoolConfigurator.setUnbackedMintCap
.aave-v3-core/contracts/protocol/pool/PoolConfigurator.sol
Lines 416 to 426 in 32f0e72
The text was updated successfully, but these errors were encountered: