Skip to content

Commit

Permalink
fix: hardcode weth values
Browse files Browse the repository at this point in the history
  • Loading branch information
aon committed May 13, 2024
1 parent dc4407c commit 3992951
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
l1_weth_token_addr = "0x0b5026ED9Cb49981915EA448b801E416Da829315"
l1_weth_token_name = "Wrapped Ether"
l1_weth_token_symbol = "WETH"
create2_factory_addr = "0x4e59b44847b379578588920cA78FbF26c0B4956C"
create2_factory_salt = "0x00000000000000000000000000000000000000000000000000000000000000ff"
era_chain_id = "270"
Expand Down
4 changes: 2 additions & 2 deletions l1-contracts-foundry/script/InitializeL2WethToken.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ contract InitializeL2WethTokenScript is Script {
string memory toml = vm.readFile(path);

config.l1WethTokenAddr = toml.readAddress("$.l1_weth_token_addr");
config.l1WethTokenName = toml.readString("$.l1_weth_token_name");
config.l1WethTokenSymbol = toml.readString("$.l1_weth_token_symbol");
config.l1WethTokenName = "Wrapped Ether";
config.l1WethTokenSymbol = "WETH";
config.create2FactoryAddr = toml.readAddress("$.create2_factory_addr");
config.create2FactorySalt = toml.readBytes32("$.create2_factory_salt");
config.eraChainId = toml.readUint("$.era_chain_id");
Expand Down

0 comments on commit 3992951

Please sign in to comment.