Skip to content

[Certora] verify stayHealthy on take#659

Closed
prd-carapulse[bot] wants to merge 2 commits into
mainfrom
certora/healthiness-take-20260405-1259
Closed

[Certora] verify stayHealthy on take#659
prd-carapulse[bot] wants to merge 2 commits into
mainfrom
certora/healthiness-take-20260405-1259

Conversation

@prd-carapulse
Copy link
Copy Markdown
Contributor

@prd-carapulse prd-carapulse Bot commented Apr 5, 2026

Summary

  • split Healthiness take coverage into seller-on-target-obligation vs other-borrower cases
  • add a take seller helper and explicit take rules instead of leaving take excluded from stayHealthy
  • relax callback-local health assertions only for the tracked seller case, while keeping end-of-take health checked

Test Plan

  • forge build
  • forge test --match-path test/TakeTest.sol --match-test 'test(BuySellerCallback|SellSellerCallback|SellSellerCallbackLiquidateRevertsWhileLiquidationLocked|BuyUnhealthy|SellUnhealthy)' -vv
  • PATH="/tmp/jre21/bin:/home/hermes/.svm/0.8.31:$PATH" certoraRun certora/confs/Healthiness.conf --compilation_steps_only

Stacked on #645.

@MathisGD MathisGD changed the title certora: verify stayHealthy on take [Certora] verify stayHealthy on take Apr 6, 2026
Base automatically changed from fix/liquidate-deferred-health-check-20260404-173318 to main April 6, 2026 14:40
@MathisGD
Copy link
Copy Markdown
Contributor

see #679

@MathisGD MathisGD closed this Apr 16, 2026
@MathisGD MathisGD deleted the certora/healthiness-take-20260405-1259 branch April 16, 2026 08:15
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.

1 participant