From cc3e305e951d913f9271464f13961cd4958f6d6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Bl=C3=A4cker?= Date: Tue, 18 Nov 2025 07:14:29 +0700 Subject: [PATCH 01/18] fix issues in corrupted deploy logfile --- deployments/_deployments_log_file.json | 38 +++++++++++++------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/deployments/_deployments_log_file.json b/deployments/_deployments_log_file.json index a4bed9f09..bf2213b18 100644 --- a/deployments/_deployments_log_file.json +++ b/deployments/_deployments_log_file.json @@ -42734,7 +42734,8 @@ "ZK_SOLC_VERSION": "" } ] - }, + } + }, "xlayer": { "production": { "1.0.0": [ @@ -44699,23 +44700,6 @@ } } }, - "UnitFacet": { - "plasma": { - "staging": { - "1.0.0": [ - { - "ADDRESS": "0xA9B94B8D37EdC4833E27Ce1eAf21188097959EDB", - "OPTIMIZER_RUNS": "1000000", - "TIMESTAMP": "2025-10-03 12:16:24", - "CONSTRUCTOR_ARGS": "0x0000000000000000000000002b2c52b1b63c4bfc7f1a310a1734641d8e34de62", - "SALT": "22345102", - "VERIFIED": "true", - "ZK_SOLC_VERSION": "" - } - ] - } - } - }, "GardenFacet": { "mainnet": { "staging": { @@ -45763,6 +45747,22 @@ ] } } + }, + "UnitFacet": { + "plasma": { + "staging": { + "1.0.0": [ + { + "ADDRESS": "0xA9B94B8D37EdC4833E27Ce1eAf21188097959EDB", + "OPTIMIZER_RUNS": "1000000", + "TIMESTAMP": "2025-10-03 12:16:24", + "CONSTRUCTOR_ARGS": "0x0000000000000000000000002b2c52b1b63c4bfc7f1a310a1734641d8e34de62", + "SALT": "22345102", + "VERIFIED": "true", + "ZK_SOLC_VERSION": "" + } + ] + } + } } } -} From 39ddb7c6b507e5d68ee8872f31763d57f5397c85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Bl=C3=A4cker?= Date: Tue, 18 Nov 2025 13:48:22 +0700 Subject: [PATCH 02/18] deployed to megaeth --- config/networks.json | 21 + config/permit2Proxy.json | 1 + config/whitelist.json | 54 + deployments/_deployments_log_file copy.json | 46074 ++++++++++++++++++ deployments/megaeth.json | 24 + foundry.toml | 2 + script/deploy/_targetState.json | 28 + 7 files changed, 46204 insertions(+) create mode 100644 deployments/_deployments_log_file copy.json create mode 100644 deployments/megaeth.json diff --git a/config/networks.json b/config/networks.json index 349c0089a..2ea12b472 100644 --- a/config/networks.json +++ b/config/networks.json @@ -667,6 +667,27 @@ "create3Factory": "0x93FEC2C00BfE902F733B57c5a6CeeD7CD1384AE1", "devNotes": "When using LDA 1.11.0 in evm=cancun some transactions were failing. So probably better to always use 0.8.17 and evm=london" }, + "megaeth": { + "name": "megaeth", + "chainId": 4326, + "nativeAddress": "0x0000000000000000000000000000000000000000", + "nativeCurrency": "ETH", + "wrappedNativeAddress": "0x4200000000000000000000000000000000000006", + "status": "active", + "type": "mainnet", + "rpcUrl": "TODO: UPDATE ONCE MAINNET IS LIVE <<<<<<<<<<<<<<<<<<<<---------------------------------------- !!!!!!!!! TODO", + "verificationType": "blockscout", + "explorerUrl": "https://megaeth-testnet-v3.blockscout.com", + "explorerApiUrl": "https://megaeth-testnet-v3.blockscout.com/api", + "multicallAddress": "0xca11bde05977b3631167028862be2a173976ca11", + "safeAddress": "0xb160467220BF28e596015EA841eD9b8daC6102Fd", + "gasZipChainId": 0, + "isZkEVM": false, + "deployedWithEvmVersion": "cancun", + "deployedWithSolcVersion": "0.8.29", + "create3Factory": "0xeBbbaC35500713C4AD49929e1bE4225c7efF6510", + "devNotes": "For forge script deployments, add these flags: --gas-limit 50000000 --gas-price 2000000 --skip-simulation --legacy. Required for deploySingleContract.sh, updateFacetConfig.sh, and diamondUpdateFacet.sh scripts. Example: forge script