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(vaultFactory): don't prevent repayment based on DebtLimit #9907

Merged
merged 2 commits into from
Aug 19, 2024

Conversation

dckc
Copy link
Member

@dckc dckc commented Aug 16, 2024

closes: #9837

Description

DebtLimit should not impact a vault owner's ability to repay, so refine checkDebtLimit to succeed regardless of debtLimit if toMint is empty.

Security / Scaling Considerations

none

Testing Considerations

straightforward unit test that failed before the fix

Upgrade / Documentation Considerations

Straightforward upgrade; no state changes. See:

This fix should be cited in release notes.

Copy link

cloudflare-workers-and-pages bot commented Aug 16, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1c94ac8
Status: ✅  Deploy successful!
Preview URL: https://ce22a673.agoric-sdk.pages.dev
Branch Preview URL: https://dc-test-repay.agoric-sdk.pages.dev

View logs

@dckc dckc requested a review from turadg August 16, 2024 16:28
@dckc dckc added the automerge:rebase Automatically rebase updates, then merge label Aug 16, 2024
@dckc dckc force-pushed the dc-test-repay branch 2 times, most recently from 4f6f522 to 2f24a49 Compare August 16, 2024 16:47
@mergify mergify bot merged commit c4520c5 into master Aug 19, 2024
80 checks passed
@mergify mergify bot deleted the dc-test-repay branch August 19, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inter Protocol vaults should allow adjustments that don't increase debt when mint limit <= debt outstanding
3 participants