Skip to content

Certora M-02: Relayer can force losses onto Morpho vault depositors through reallocations#96

Merged
davidlee1435 merged 2 commits intodevfrom
david/m-02
Dec 17, 2025
Merged

Certora M-02: Relayer can force losses onto Morpho vault depositors through reallocations#96
davidlee1435 merged 2 commits intodevfrom
david/m-02

Conversation

@davidlee1435
Copy link
Copy Markdown
Collaborator

As discussed offline, these functions aren't used anymore; reallocations happen through other means.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer used so consider removing?

@github-actions
Copy link
Copy Markdown

Coverage after merging david/m-02 into dev will be

99.65%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
deploy
   ControllerDeploy.sol100%100%100%100%
   ForeignControllerInit.sol100%100%100%100%
   MainnetControllerInit.sol97.56%94.12%100%100%156, 92
src
   ALMProxy.sol100%100%100%100%
   ForeignController.sol96.73%85.19%97.73%98.28%157–158, 262, 369–370, 675, 932
   MainnetController.sol99.05%86.96%100%100%1039, 261, 527
   RateLimitHelpers.sol100%100%100%100%
   RateLimits.sol100%100%100%100%
src/libraries
   CCTPLib.sol100%100%100%100%
   CentrifugeLib.sol100%100%100%100%
   CurveLib.sol100%100%100%100%
   MerklLib.sol100%100%100%100%
   PSMLib.sol100%100%100%100%
   PendleLib.sol100%100%100%100%
   UniswapV3Lib.sol98.20%94.03%100%100%147–148, 368–369
src/libraries/common
   ERC20Lib.sol100%100%100%100%
   MathLib.sol100%100%100%100%

Copy link
Copy Markdown

@kevinlichan kevinlichan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully removes the Morpho Relayer functions, which are no longer used, from the ForeignController

@davidlee1435 davidlee1435 merged commit b5d47f1 into dev Dec 17, 2025
3 checks passed
@barrutko barrutko deleted the david/m-02 branch February 13, 2026 16:14
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.

2 participants