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

The debt in Token/Token vaults shouldn't increase after maturity #315

Open
alcueca opened this issue Nov 16, 2021 · 0 comments
Open

The debt in Token/Token vaults shouldn't increase after maturity #315

alcueca opened this issue Nov 16, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@alcueca
Copy link
Contributor

alcueca commented Nov 16, 2021

This doesn't seem to be a risk, but means that Token/Token vaults will never be repaid after maturity. They probably wouldn't, anyway.

They can be cleared by liquidation, at a loss for the liquidator.

The fix would be to replace this line for:

if (uint32(block.timestamp) >= series_.maturity && vault_.ilkId != series_.baseId) {

Unfortunately, the Cauldron cannot be replaced, so the issue is here to stay.

@alcueca alcueca added the bug Something isn't working label Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant