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 comment on DSCEngineTest.t.sol #44

Merged
merged 2 commits into from
Sep 25, 2023
Merged

Conversation

yehoudaB
Copy link
Contributor

Changed a comment on DSCEngineTEst.t.sol : function testHealthFactorCanGoBelowOne()

I this sentence I don't know where the "200 debt" come from
I put instead the detail of health factor calcul
// 180*50 (LIQUIDATION_THRESHOLD) / 100 (LIQUIDATION_PRECISION) / 100 (PRECISION) = 90 / 100 (totalDscMinted) = 0.9

@yehoudaB yehoudaB changed the title fix comment on DSCEngineTEst.t.sol fix comment on DSCEngineTest.t.sol Sep 21, 2023
@yehoudaB yehoudaB marked this pull request as draft September 21, 2023 14:05
@yehoudaB yehoudaB marked this pull request as ready for review September 21, 2023 14:07
@PatrickAlphaC PatrickAlphaC merged commit 1d89023 into Cyfrin:main Sep 25, 2023
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.

2 participants