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: allow redeem execution after theft #590

Merged
merged 2 commits into from May 9, 2022

Conversation

sander2
Copy link
Member

@sander2 sander2 commented May 5, 2022

Not accounting for CommittedTheft caused decrease_issued to take the wrong code path, which led to the execute_redeem call failing on vaults that were liquidated due to theft.

We have tests for redeem execution after liquidation, but all of them were on vaults that were liquidated because of undercollateralization rather than theft..

nud3l
nud3l previously approved these changes May 6, 2022
@sander2 sander2 marked this pull request as ready for review May 6, 2022 16:06
@gregdhill gregdhill merged commit 32d53a6 into interlay:master May 9, 2022
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.

None yet

3 participants