We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0d2ee0 commit 34d93c2Copy full SHA for 34d93c2
contracts/SpokePoolVerifier.sol
@@ -6,6 +6,10 @@ import "./interfaces/SpokePoolInterface.sol";
6
7
/**
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
13
*/
14
contract SpokePoolVerifier {
15
using Address for address;
0 commit comments