-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix wrong domain in deploy script #1376
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #1376 +/- ##
===================================================
- Coverage 50.77047% 50.36351% -0.40697%
===================================================
Files 356 346 -10
Lines 24920 24071 -849
Branches 277 277
===================================================
- Hits 12652 12123 -529
+ Misses 10982 10723 -259
+ Partials 1286 1225 -61
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
WalkthroughThe changes primarily involve renaming the Changes
TipsChat with CodeRabbit Bot (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Files selected for processing (3)
- packages/contracts-core/script/DeployMessaging003Base.s.sol (1 hunks)
- packages/contracts-core/script/DeployMessaging003LightChain.s.sol (2 hunks)
- packages/contracts-core/script/DeployMessaging003SynChain.s.sol (2 hunks)
Files skipped from review due to trivial changes (2)
- packages/contracts-core/script/DeployMessaging003Base.s.sol
- packages/contracts-core/script/DeployMessaging003SynChain.s.sol
Additional comments (Suppressed): 2
packages/contracts-core/script/DeployMessaging003LightChain.s.sol (2)
21-27: The change from
localDomain
tosynapseDomain
seems appropriate given the PR's goal. However, ensure thatsynapseDomain
is correctly initialized and has a valid value before this function is called.41-47: Similar to the previous comment, the change from
localDomain
tosynapseDomain
aligns with the PR's intent. Again, verify thatsynapseDomain
is properly initialized and holds a valid value before this function is invoked.
This has been tested in #1274 and works (deploys work again). |
Description
Uncovered while working on #1274, I appear to have broken this in #1308. The agent manager constructor was still passed the local domain instead of the synapse domain
Summary by CodeRabbit
localDomain
tosynapseDomain
across multiple scripts in thecontracts-core
package. This change ensures consistency and clarity in the codebase.LightManager
,LightInbox
,BondingManager
, andInbox
. The updated domain address (synapseDomain
) is now correctly passed during these deployments, ensuring proper contract initialization.