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 edge case by returning gracefully. #1118

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Conversation

Brean0
Copy link
Contributor

@Brean0 Brean0 commented Sep 24, 2024

When Beanstalk has a positive non-zero deltaB, and the biggest liquidity well (via the twa) removes all its liquidity, the well Function fails. This can lead to the sunrise bricking. This PR fixes that edge case.

@Brean0 Brean0 merged commit a1f8526 into beanstalk-3 Sep 24, 2024
1 check passed
@Brean0 Brean0 deleted the LibWell-EdgecaseI branch September 24, 2024 22:52
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.

1 participant