Skip to content

Commit

Permalink
Merge branch 'sprint-1-poc' of github.com:immutable/zkevm-bridge-cont…
Browse files Browse the repository at this point in the history
…racts into SMR-1773-axelar-local
  • Loading branch information
Benjimmutable committed Oct 25, 2023
2 parents 75b164d + 8ee323f commit db8e1ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/root/RootERC20Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ contract RootERC20Bridge is
childERC20Bridge = newChildERC20Bridge;
childTokenTemplate = newChildTokenTemplate;
rootIMXToken = newRootIMXToken;
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 = newChildBridgeAdaptor;
}
Expand Down

0 comments on commit db8e1ff

Please sign in to comment.