feat: Use LayerZeroLib in Foreign Controller (DEV-1142)#231
feat: Use LayerZeroLib in Foreign Controller (DEV-1142)#231lucas-manuel merged 5 commits intodevfrom
Conversation
Summary by OctaneNew ContractsNo new contracts were added. Updated Contracts
🔗 Commit Hash: 9e972e1 |
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
WalkthroughThe pull request refactors LayerZero token transfer functionality by consolidating logic from ForeignController into LayerZeroLib. In-contract transfer operations are replaced with a single library call, and the LIMIT_LAYERZERO_TRANSFER constant now references the library's definition. Associated test expectations are updated to reflect simplified error messages. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
Comment |
Overview
🔗 Commit Hash: 9e972e1 |
src/libraries/LayerZeroLib.sol
Outdated
| ); | ||
|
|
||
| require(layerZeroRecipient != bytes32(0), "MC/recipient-not-set"); | ||
| require(layerZeroRecipient != bytes32(0), "recipient-not-set"); |
There was a problem hiding this comment.
"LayerZeroLib/recipient-not-set"
|
Coverage after merging dev-1142-fc-use-lzlib into dev will be
Coverage Report
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.