Skip to content

Commit

Permalink
modified scripts for weth deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
kelemeno committed Jan 24, 2024
1 parent 4f6a3c1 commit 6561c2f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion l1-contracts/src.ts/utils-bytecode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]);

Check failure on line 87 in l1-contracts/src.ts/utils-bytecode.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `"Wrapped·Ether",·"WETH",·l2WethBridgeProxyAddress,·l1WethAddress,·ethIsBaseToken` with `⏎····"Wrapped·Ether",⏎····"WETH",⏎····l2WethBridgeProxyAddress,⏎····l1WethAddress,⏎····ethIsBaseToken,⏎·`

Check failure on line 87 in l1-contracts/src.ts/utils-bytecode.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `"Wrapped·Ether",·"WETH",·l2WethBridgeProxyAddress,·l1WethAddress,·ethIsBaseToken` with `⏎····"Wrapped·Ether",⏎····"WETH",⏎····l2WethBridgeProxyAddress,⏎····l1WethAddress,⏎····ethIsBaseToken,⏎·`

Check failure on line 87 in l1-contracts/src.ts/utils-bytecode.ts

View workflow job for this annotation

GitHub Actions / lint

Replace `"Wrapped·Ether",·"WETH",·l2WethBridgeProxyAddress,·l1WethAddress,·ethIsBaseToken` with `⏎····"Wrapped·Ether",⏎····"WETH",⏎····l2WethBridgeProxyAddress,⏎····l1WethAddress,⏎····ethIsBaseToken,⏎·`
const l2WethProxyAddress = computeL2Create2Address(
l2WethBridgeProxyAddress,
L2_WETH_PROXY_BYTECODE,
Expand Down
4 changes: 2 additions & 2 deletions l1-contracts/test/test_config/constant/hardhat.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,6 @@
"name": "Wrapped Ether",
"symbol": "WETH",
"decimals": 18,
"address": "0xF4d5D83386397278e9ADC349064a42FE1711baeb"
"address": "0x053Ea9b57a6CABD2EC65a9Aec8C744610B179E5F"
}
]
]

0 comments on commit 6561c2f

Please sign in to comment.