-
Notifications
You must be signed in to change notification settings - Fork 263
Tests: Sanity checker with bad debt #1608
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
Conversation
Hardhat Unit Tests Coverage SummaryDiff against masterResults for commit: fa9f27a Minimum allowed coverage is ♻️ This comment has been updated with latest results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds comprehensive integration tests to verify that bad debt internalization does not interfere with the OracleReportSanityChecker's validation mechanisms. The tests ensure the protocol correctly handles bad debt while maintaining the integrity of rebase smoothing, CL balance decrease limits, and annual balance increase checks.
- Validates that bad debt internalization doesn't affect token rebase smoothing mechanisms
- Verifies CL balance decrease checks work correctly with queued bad debt
- Confirms annual balance increase limits are enforced independently of bad debt
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Integration tests for the effect of bad debt internalization on checks in OracleReportSanityChecker counteract
The tests verify that the presence of bad debt internalization does not affect: