Skip to content

[GROVE-250] chore: use centrifuge lib in foreign controller#101

Merged
iamchrissmith merged 1 commit intodavid/shorten-error-stringsfrom
fc-centrifuge-lib
Jan 6, 2026
Merged

[GROVE-250] chore: use centrifuge lib in foreign controller#101
iamchrissmith merged 1 commit intodavid/shorten-error-stringsfrom
fc-centrifuge-lib

Conversation

@iamchrissmith
Copy link
Copy Markdown

Noticed that the FC had duplicate code. This makes the FC margin 2,644

@iamchrissmith iamchrissmith changed the title use centrifuge lib in foreign controller [GROVE-250] use centrifuge lib in foreign controller Jan 6, 2026
@iamchrissmith iamchrissmith changed the title [GROVE-250] use centrifuge lib in foreign controller [GROVE-250] chore:use centrifuge lib in foreign controller Jan 6, 2026
@iamchrissmith iamchrissmith changed the title [GROVE-250] chore:use centrifuge lib in foreign controller [GROVE-250] chore: use centrifuge lib in foreign controller Jan 6, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 6, 2026

Coverage after merging fc-centrifuge-lib into david/shorten-error-strings will be

99.64%

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.64%84%97.73%98.22%158–159, 263, 370–371, 657, 913
   MainnetController.sol99.05%86.96%100%100%1038, 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.sol99.07%96.92%100%100%358–359
src/libraries/common
   ERC20Lib.sol100%100%100%100%
   MathLib.sol100%100%100%100%

Copy link
Copy Markdown
Collaborator

@davidlee1435 davidlee1435 left a comment

Choose a reason for hiding this comment

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

lgtm! verified that the logic replaced in ForeignController.transferSharesCentrifuge() matches the logic in CentrifugeLib.transferSharesCentrifuge() exactly

@iamchrissmith iamchrissmith merged commit c7ee156 into david/shorten-error-strings Jan 6, 2026
3 checks passed
@iamchrissmith iamchrissmith deleted the fc-centrifuge-lib branch January 6, 2026 22:00
@iamchrissmith iamchrissmith restored the fc-centrifuge-lib branch January 6, 2026 22:01
iamchrissmith added a commit that referenced this pull request Jan 6, 2026
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