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 liquidation rounding #638

Merged
merged 11 commits into from
Dec 12, 2023
Merged

fix liquidation rounding #638

merged 11 commits into from
Dec 12, 2023

Conversation

MathisGD
Copy link
Contributor

@MathisGD MathisGD commented Dec 7, 2023

@MathisGD MathisGD self-assigned this Dec 7, 2023
Rubilmax

This comment was marked as outdated.

Copy link
Collaborator

@Rubilmax Rubilmax left a comment

Choose a reason for hiding this comment

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

Certora to check but code is ok

@QGarchery

This comment was marked as outdated.

@MathisGD

This comment was marked as outdated.

@Rubilmax

This comment was marked as outdated.

src/Morpho.sol Outdated Show resolved Hide resolved
@MathisGD
Copy link
Contributor Author

MathisGD commented Dec 8, 2023

@QGarchery probably you can write a rule checking that for a pair seizedCollateral/repaidShares you have the same repaidAssets with both inputs

@MathisGD MathisGD marked this pull request as ready for review December 11, 2023 11:21
@MathisGD MathisGD requested review from adhusson, Rubilmax, a team, QGarchery, MerlinEgalite and Jean-Grimal and removed request for a team December 11, 2023 12:52
Copy link
Contributor

@Jean-Grimal Jean-Grimal left a comment

Choose a reason for hiding this comment

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

clean

src/Morpho.sol Outdated Show resolved Hide resolved
src/Morpho.sol Outdated Show resolved Hide resolved
src/Morpho.sol Outdated Show resolved Hide resolved
@MathisGD MathisGD merged commit d98b26c into post-cantina Dec 12, 2023
15 checks passed
@MathisGD MathisGD deleted the fix/liquidation branch December 12, 2023 12:19
@MathisGD MathisGD mentioned this pull request Dec 12, 2023
src/Morpho.sol Show resolved Hide resolved
src/Morpho.sol Show resolved Hide resolved
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.

6 participants