-
Notifications
You must be signed in to change notification settings - Fork 18
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
Use only int256
#69
Use only int256
#69
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest only 2 changes to keep uint256
in 2 places with justifications that the result is indeed >= 0, instead of moving these justifications and duplicate them everytime we case the result outside of _borrowRate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes seem ok but I don't think this change was necessary and it can introduce unexpected consequences at the last minute.
I'd be in favor of not introducing them
formatting issue |
can you wait before merging it @MathisGD please? |
Co-authored-by: Merlin Egalite <44097430+MerlinEgalite@users.noreply.github.com> Signed-off-by: MathisGD <74971347+MathisGD@users.noreply.github.com>
No description provided.