File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ import "./interfaces/SpokePoolInterface.sol";
6
6
7
7
/**
8
8
* @notice SpokePoolVerifier is a contract that verifies that the SpokePool exists on this chain before sending ETH to it.
9
+ * @dev This contract must be deployed via Create2 to the same address on all chains. That way, an errant transaction sent
10
+ * to the wrong chain will be blocked by this contract rather than hitting a dead address. This means that this contract
11
+ * will not work to protect chains, like zkSync, where Create2 address derivations don't match other chains.
12
+ * Source: https://era.zksync.io/docs/reference/architecture/differences-with-ethereum.html#create-create2
9
13
*/
10
14
contract SpokePoolVerifier {
11
15
using Address for address ;
You can’t perform that action at this time.
0 commit comments