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

revert on non enabled markets #28

Merged
merged 3 commits into from
Mar 5, 2024
Merged

revert on non enabled markets #28

merged 3 commits into from
Mar 5, 2024

Conversation

MathisGD
Copy link
Contributor

@MathisGD MathisGD commented Feb 28, 2024

@MathisGD MathisGD self-assigned this Feb 28, 2024
@MathisGD MathisGD marked this pull request as ready for review February 29, 2024 10:30
Rubilmax
Rubilmax previously approved these changes Feb 29, 2024
QGarchery
QGarchery previously approved these changes Feb 29, 2024
adhusson
adhusson previously approved these changes Feb 29, 2024
@StErMi
Copy link

StErMi commented Mar 1, 2024

I think that you should also add a check that prevents calling this function with an empty withdrawals array (or totalWithdrawn > 0)
With an empty withdrawal request, you will enter the "Scenario 1" described in the issue https://github.com/cantinasec/review-morpho/issues/21#issuecomment-1968537120

@MathisGD MathisGD dismissed stale reviews from adhusson, QGarchery, and Rubilmax via a43e2e2 March 1, 2024 11:06
@MathisGD MathisGD merged commit 5a6ae4f into main Mar 5, 2024
2 checks passed
@MathisGD MathisGD deleted the fix/not-enabled-market branch March 5, 2024 10:54
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.

7 participants