Skip to content

[GROVE-250] chore: shorten error strings#100

Merged
davidlee1435 merged 4 commits intodevfrom
david/shorten-error-strings
Jan 6, 2026
Merged

[GROVE-250] chore: shorten error strings#100
davidlee1435 merged 4 commits intodevfrom
david/shorten-error-strings

Conversation

@davidlee1435
Copy link
Copy Markdown
Collaborator

Runtime margin changes

ForeignController: 1,639 B -> 1,946 B
MainnetController: 1,455 B -> 1,720 B

image


vm.startPrank(relayer);
vm.expectRevert("MainnetController/centrifuge-id-not-configured");
vm.expectRevert("CentrifugeLib/centrifuge-id-not-configured");
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
vm.expectRevert("CentrifugeLib/centrifuge-id-not-configured");
vm.expectRevert("CentrifugeLib/id-not-configured");

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 6, 2026

Coverage after merging david/shorten-error-strings 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, 931
   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%

@davidlee1435 davidlee1435 merged commit de54468 into dev Jan 6, 2026
3 checks passed
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