Skip to content

Commit

Permalink
Merge branch 'sprint-1-poc' into SMR-1834-WETH-Bridging
Browse files Browse the repository at this point in the history
  • Loading branch information
proletesseract committed Oct 25, 2023
2 parents 8b8df0f + 8ee323f commit a3dcb0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ CHILD_GAS_SERVICE_ADDRESS=
ROOT_CHAIN_NAME=
CHILD_CHAIN_NAME=
ROOT_IMX_ADDRESS=
ROOT_WETH_ADDRESS=
ROOT_WETH_ADDRESS=
6 changes: 3 additions & 3 deletions src/root/RootERC20Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ contract RootERC20Bridge is
childTokenTemplate = newChildTokenTemplate;
rootIMXToken = newRootIMXToken;
rootWETHToken = newRootWETHToken;
IChildERC20 clonedETHToken =
IChildERC20(Clones.cloneDeterministic(childTokenTemplate, keccak256(abi.encodePacked(NATIVE_ETH))));
childETHToken = address(clonedETHToken);
childETHToken = Clones.predictDeterministicAddress(
childTokenTemplate, keccak256(abi.encodePacked(NATIVE_ETH)), childERC20Bridge
);
rootBridgeAdaptor = IRootERC20BridgeAdaptor(newRootBridgeAdaptor);
childBridgeAdaptor = Strings.toHexString(newChildBridgeAdaptor);
}
Expand Down

0 comments on commit a3dcb0d

Please sign in to comment.