Skip to content

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

Closed
davidlee1435 wants to merge 1 commit intodevfrom
david/certora-m-02
Closed

Certora M-02: Relayer can force losses onto Morpho vault depositors through reallocations#94
davidlee1435 wants to merge 1 commit intodevfrom
david/certora-m-02

Conversation

@davidlee1435
Copy link
Copy Markdown
Collaborator

Based on Certora feedback, makes reallocations available only to a completely trusted role like the admin.

@github-actions
Copy link
Copy Markdown

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

97.67%

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.89%85.19%97.87%98.36%159–160, 264, 371–372, 678, 972
   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.sol97.22%90.48%100%100%120, 150–151, 364–365, 91
src/libraries/common
   ERC20Lib.sol100%100%100%100%
   MathLib.sol100%100%100%100%
src/libraries/uniswap-v3
   UniV3OracleLib.sol59.26%40%50%65%23, 51, 57, 60, 60, 60–62, 66–67
   UniV3UtilsLib.sol41.18%16.67%33.33%50%102, 107–108, 34–35, 35, 35–36, 45, 47, 58, 63, 81, 90, 95–96

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