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: Treasury burn debt repayment before zeroing the amount owed #3604

Merged
merged 1 commit into from
Aug 9, 2021

Conversation

Chris-Hibbert
Copy link
Contributor

fixes #3495

fixed getCollateralBrand in the innerFacet, which wasn't a method.
Moved a check for empty denominators to be after an await.
Added assertVaultHoldsNoRun() in close.
Added a test for closing a loan.

@Chris-Hibbert Chris-Hibbert added bug Something isn't working Beta Core Economy OBSOLETE in favor of INTER-protocol Inter-protocol Overarching Inter Protocol labels Aug 4, 2021
@Chris-Hibbert Chris-Hibbert added this to the Testnet: Metering Phase milestone Aug 4, 2021
@Chris-Hibbert Chris-Hibbert self-assigned this Aug 4, 2021
Copy link
Contributor

@katelynsills katelynsills left a comment

Choose a reason for hiding this comment

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

LGTM!

fixes #3495

fixed getCollateralBrand in the innerFacet, which wasn't a method.
Moved a check for empty denominators to be after an await.
Added assertVaultHoldsNoRun() in close.
Added a test for closing a loan.
@Chris-Hibbert Chris-Hibbert enabled auto-merge (squash) August 9, 2021 16:34
@Chris-Hibbert Chris-Hibbert merged commit f0bc4cb into master Aug 9, 2021
@Chris-Hibbert Chris-Hibbert deleted the treasuryRepairs-3495 branch August 9, 2021 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Core Economy OBSOLETE in favor of INTER-protocol Inter-protocol Overarching Inter Protocol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Treasury doesn't burn debt repayments as intended
2 participants