Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add isolation mode total debt event #362

Merged
merged 4 commits into from
Dec 17, 2021

Conversation

LHerskind
Copy link
Contributor

Closes #361

@The-3D
Copy link
Contributor

The-3D commented Dec 14, 2021

pretty much agree with all the comments by @miguelmtzinf

@@ -125,12 +126,14 @@ library BorrowLogic {
}

if (isolationModeActive) {
reserves[isolationModeCollateralAddress].isolationModeTotalDebt += Helpers.castUint128(
uint256 isolationModeTotalDebt = reserves[isolationModeCollateralAddress]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use the next prefix like below

@The-3D The-3D merged commit 6d29cd3 into master Dec 17, 2021
@The-3D The-3D deleted the fix/361-missing-isolation-total-debt-event branch December 17, 2021 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing event when updating isolation mode logic
3 participants