diff --git a/l1-contracts/src.ts/utils-bytecode.ts b/l1-contracts/src.ts/utils-bytecode.ts index 42f01577a..590503e9d 100644 --- a/l1-contracts/src.ts/utils-bytecode.ts +++ b/l1-contracts/src.ts/utils-bytecode.ts @@ -84,7 +84,7 @@ export function calculateWethAddresses( ethers.constants.HashZero ); - const proxyInitializationParams = L2_WETH_INTERFACE.encodeFunctionData("initialize", ["Wrapped Ether", "WETH"]); + const proxyInitializationParams = L2_WETH_INTERFACE.encodeFunctionData("initializeV2", ["Wrapped Ether", "WETH", l2WethBridgeProxyAddress, l1WethAddress, ethIsBaseToken ]); const l2WethProxyAddress = computeL2Create2Address( l2WethBridgeProxyAddress, L2_WETH_PROXY_BYTECODE, diff --git a/l1-contracts/test/test_config/constant/hardhat.json b/l1-contracts/test/test_config/constant/hardhat.json index 762c23762..222901473 100644 --- a/l1-contracts/test/test_config/constant/hardhat.json +++ b/l1-contracts/test/test_config/constant/hardhat.json @@ -93,6 +93,6 @@ "name": "Wrapped Ether", "symbol": "WETH", "decimals": 18, - "address": "0xF4d5D83386397278e9ADC349064a42FE1711baeb" + "address": "0x053Ea9b57a6CABD2EC65a9Aec8C744610B179E5F" } -] +] \ No newline at end of file