Skip to content

Commit

Permalink
Merge branch 'domain-fix' into feat/devnet-up (#1376, fixes issue int…
Browse files Browse the repository at this point in the history
…roduced in #1308)
  • Loading branch information
trajan0x committed Sep 14, 2023
2 parents 3f4da19 + d7f56e8 commit eae76f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contract DeployMessaging003LightChainScript is DeployMessaging003BaseScript {
/// Note: requires Origin, Destination and StatementInbox addresses to be set
function _deployAgentManager() internal override returns (address deployment, bytes memory constructorArgs) {
// new LightManager(domain)
constructorArgs = abi.encode(localDomain);
constructorArgs = abi.encode(synapseDomain);
deployment = factoryDeploy(agentManagerName(), type(LightManager).creationCode, constructorArgs);
require(origin != address(0), "Origin not set");
require(destination != address(0), "Destination not set");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contract DeployMessaging003SynChainScript is DeployMessaging003BaseScript {
/// Note: requires Origin, Destination, StatementInbox and Summit addresses to be set
function _deployAgentManager() internal override returns (address deployment, bytes memory constructorArgs) {
// new BondingManager(domain)
constructorArgs = abi.encode(localDomain);
constructorArgs = abi.encode(synapseDomain);
deployment = factoryDeploy(agentManagerName(), type(BondingManager).creationCode, constructorArgs);
require(origin != address(0), "Origin not set");
require(destination != address(0), "Destination not set");
Expand Down

0 comments on commit eae76f2

Please sign in to comment.