Skip to content

Add emergency coverage for missing $100k+ strategies#15

Open
ctmotox2 wants to merge 2 commits into
yearn:masterfrom
ctmotox2:Add-missing-strategies
Open

Add emergency coverage for missing $100k+ strategies#15
ctmotox2 wants to merge 2 commits into
yearn:masterfrom
ctmotox2:Add-missing-strategies

Conversation

@ctmotox2

@ctmotox2 ctmotox2 commented Mar 17, 2026

Copy link
Copy Markdown
  • Spotted Yearn strategies above $100k TVL (using yDaemon chain vault data) and compared them against addresses covered in this repo’s emergency test suite.

  • Added missing mainnet/polygon/katana coverage to the Base4626 suite in test/Base4626EmergencyWithdrawTest.t.sol, including:
    Mainnet Morpho Yearn OG USDC compounder
    Katana Morpho WBTC Yearn OG and USDC Steakhouse High Yield compounders
    Polygon Bankr USDC vault
    Mainnet Curve boosted crvUSD-fxSAVE lender in llama-lend section

  • Extended Maker/Sky coverage in test/MakerEmergencyWithdrawTest.t.sol with:
    DAI -> Yearn Term USDS depositor
    DAI -> USDC-1 depositor
    Extended Bold coverage in test/BoldEmergencyWithdrawTest.t.sol by explicitly testing the active high-TVL USDaf ysyBOLD Stability Pool strategy in addition to queue-derived strategies.

  • Added a dedicated SingleSided test for Katana WETH/WSTETH in test/SingleSidedALM.t.sol as a separate test entrypoint.

  • Added a new test file test/MorphoLenderBorrowerEmergencyWithdrawTest.t.sol to cover high-TVL Katana Morpho lender/borrower strategies that do not fit existing Base4626/SingleSided groupings.

  • Verified compilation and ran targeted fork tests for updated suites; all newly added covered strategies passed in those targeted runs, except the known pre-existing SingleSided broad test-path fragility and the Pendle revert noted above.

TODOS:

  • Documented the remaining Pendle blocker in test/PendleEmergencyWithdrawTest.t.sol: one active >$100k Pendle strategy currently reverts on emergencyWithdraw (custom error 0xf84318bf), so it remains as an open gap. - DONE

@ctmotox2 ctmotox2 marked this pull request as ready for review April 1, 2026 13:54
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