Add emergency coverage for missing $100k+ strategies#15
Open
ctmotox2 wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: