Skip to content

Commit a06cb07

Browse files
Reinsert metal sepolia and superlumio mainnet (#368)
* Revert "remove superlumio and metal sepolia" This reverts commit aab0410. * change hf times to those reported by conduit * fix(metal-sepolia): update canyon+delta timestamp * fix(superlumio-mainnet): update canyon+delta timestamp * sepolia/metal: bump down to standard-candidate exclude from L1 security config check checksum addresses * superlumio: bump down to frontier checksum addresses * just codegen * update number of chains in rust test * remove check on number of mainnet chains * add block time and sequencer window size * exclude sepolia/metal from FP checks (for now) * remove contracts tag (no longer used) --------- Co-authored-by: Emiliano Bonassi <[email protected]>
1 parent 2940d5e commit a06cb07

File tree

9 files changed

+140
-3
lines changed

9 files changed

+140
-3
lines changed

bindings/rust-bindings/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ mod tests {
5454
fn test_read_chain_configs() {
5555
let mainnet = SUPERCHAINS.get("mainnet").unwrap();
5656
assert_eq!(mainnet.config.name, "Mainnet");
57-
assert_eq!(mainnet.chain_ids.len(), 8);
5857

5958
let base_chain_id = 8453;
6059
let base = OPCHAINS.get(&base_chain_id).unwrap();

chainList.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,22 @@
111111
"chain": "mainnet"
112112
}
113113
},
114+
{
115+
"name": "SuperLumio",
116+
"identifier": "mainnet/superlumio",
117+
"chainId": 8866,
118+
"rpc": [
119+
"https://mainnet.lumio.io"
120+
],
121+
"explorers": [
122+
"https://explorer.lumio.io"
123+
],
124+
"superchainLevel": 1,
125+
"parent": {
126+
"type": "L2",
127+
"chain": "mainnet"
128+
}
129+
},
114130
{
115131
"name": "Zora",
116132
"identifier": "mainnet/zora",
@@ -159,6 +175,22 @@
159175
"chain": "sepolia"
160176
}
161177
},
178+
{
179+
"name": "Metal L2 Testnet",
180+
"identifier": "sepolia/metal",
181+
"chainId": 1740,
182+
"rpc": [
183+
"https://testnet.rpc.metall2.com"
184+
],
185+
"explorers": [
186+
"https://testnet.explorer.metall2.com"
187+
],
188+
"superchainLevel": 1,
189+
"parent": {
190+
"type": "L2",
191+
"chain": "sepolia"
192+
}
193+
},
162194
{
163195
"name": "Mode Testnet",
164196
"identifier": "sepolia/mode",

chainList.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,17 @@
7575
type = "L2"
7676
chain = "mainnet"
7777

78+
[[chains]]
79+
name = "SuperLumio"
80+
identifier = "mainnet/superlumio"
81+
chain_id = 8866
82+
rpc = ["https://mainnet.lumio.io"]
83+
explorers = ["https://explorer.lumio.io"]
84+
superchain_level = 1
85+
[chains.parent]
86+
type = "L2"
87+
chain = "mainnet"
88+
7889
[[chains]]
7990
name = "Zora"
8091
identifier = "mainnet/zora"
@@ -108,6 +119,17 @@
108119
type = "L2"
109120
chain = "sepolia"
110121

122+
[[chains]]
123+
name = "Metal L2 Testnet"
124+
identifier = "sepolia/metal"
125+
chain_id = 1740
126+
rpc = ["https://testnet.rpc.metall2.com"]
127+
explorers = ["https://testnet.explorer.metall2.com"]
128+
superchain_level = 1
129+
[chains.parent]
130+
type = "L2"
131+
chain = "sepolia"
132+
111133
[[chains]]
112134
name = "Mode Testnet"
113135
identifier = "sepolia/mode"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: SuperLumio
2+
chain_id: 8866
3+
public_rpc: https://mainnet.lumio.io
4+
sequencer_rpc: https://mainnet.lumio.io
5+
explorer: https://explorer.lumio.io
6+
7+
superchain_level: 1
8+
9+
batch_inbox_addr: "0xA12Cf34001e553dc254D131105364351f5174d75"
10+
11+
genesis:
12+
l1:
13+
hash: "0xbe51a75131cf63e18596329bd4f8b805ce8dd6a0b17787d5da10f563616f1f1e"
14+
number: 19314558
15+
l2:
16+
hash: "0x01711dc53a82967a34f4b38f7dff3ae8fa760882bb1e2ace50bb01e9ff420a9b"
17+
number: 0
18+
l2_time: 1708984631
19+
20+
canyon_time: 1708984633
21+
delta_time: 1708984633
22+
ecotone_time: 1710374401 # Thu 14 Mar 2024 00:00:01 UTC
23+
24+
block_time: 2
25+
seq_window_size: 3600
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Metal L2 Testnet
2+
chain_id: 1740
3+
public_rpc: https://testnet.rpc.metall2.com
4+
sequencer_rpc: https://testnet.rpc.metall2.com
5+
explorer: https://testnet.explorer.metall2.com
6+
7+
superchain_level: 1
8+
standard_chain_candidate: true # This is a temporary field which causes most of the standard validation checks to run on this chain
9+
superchain_time: null # Missing hardfork times are NOT yet inherited from superchain.yaml
10+
11+
batch_inbox_addr: "0x24567B64a86A4c966655fba6502a93dFb701E316"
12+
13+
genesis:
14+
l1:
15+
hash: "0x6a10927c70985f75898c48235b620acb2a48e9c777a40022f9dbad1b0c96a9c1"
16+
number: 5304030
17+
l2:
18+
hash: "0xd24cf8e46b189b0c128dab4e46168520e3a4cdd390b239e8cc1e5abd22a629ae"
19+
number: 0
20+
l2_time: 1708129620
21+
22+
canyon_time: 1708129622
23+
delta_time: 1708385400 # Mon 19 Feb 2024 23:30:00 UTC
24+
ecotone_time: 1708534800 # Wed 21 Feb 2024 17:00:00 UTC
25+
block_time: 2
26+
seq_window_size: 3600

superchain/extra/addresses/addresses.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,21 @@
9595
"BatchSubmitter": "0x14e4E97bDc195d399Ad8E7FC14451C279FE04c8e",
9696
"Proposer": "0x03e820562ffd2e0390787caD706EaF1FF98C2608"
9797
},
98+
"1740": {
99+
"AddressManager": "0x394f844B9A0FC876935d1b0b791D9e94Ad905e8b",
100+
"L1CrossDomainMessengerProxy": "0x5D335Aa7d93102110879e3B54985c5F08146091E",
101+
"L1ERC721BridgeProxy": "0x5d6cE6917dBeeacF010c96BfFdaBE89e33a30309",
102+
"L1StandardBridgeProxy": "0x21530aAdF4DCFb9c477171400E40d4ef615868BE",
103+
"L2OutputOracleProxy": "0x75a6B961c8da942Ee03CA641B09C322549f6FA98",
104+
"OptimismMintableERC20FactoryProxy": "0x49Ff2C4be882298e8CA7DeCD195c207c42B45F66",
105+
"OptimismPortalProxy": "0x01D4dfC994878682811b2980653D03E589f093cB",
106+
"SystemConfigProxy": "0x5D63A8Dc2737cE771aa4a6510D063b6Ba2c4f6F2",
107+
"ProxyAdmin": "0xF7Bc4b3a78C7Dd8bE9B69B3128EEB0D6776Ce18A",
108+
"ProxyAdminOwner": "0xE75Cd021F520B160BF6b54D472Fa15e52aFe5aDD",
109+
"SystemConfigOwner": "0x23BA22Dd7923F3a3f2495bB32a6f3c9b9CD1EC6C",
110+
"Guardian": "0x7a50f00e8D05b95F98fE38d8BeE366a7324dCf7E",
111+
"Challenger": "0x45eFFbD799Ab49122eeEAB75B78D9C56A187F9A7"
112+
},
98113
"1750": {
99114
"AddressManager": "0xd4b1EC0DEc3C7F12abD3ec27B7514880ae1C3a37",
100115
"L1CrossDomainMessengerProxy": "0x0a47A44f1B2bb753474f8c830322554A96C9934D",
@@ -131,6 +146,21 @@
131146
"BatchSubmitter": "0x5050F69a9786F081509234F1a7F4684b5E5b76C9",
132147
"Proposer": "0x642229f238fb9dE03374Be34B0eD8D9De80752c5"
133148
},
149+
"8866": {
150+
"AddressManager": "0x9cF613c19371eFf26c94c0d4F62197d2C0ab60bc",
151+
"L1CrossDomainMessengerProxy": "0x6c10d7e5750b21729Eb863Cf89E5b48850E6d97D",
152+
"L1ERC721BridgeProxy": "0x9bF59F099d4306B52C7624c90B6d5FD75ab8513b",
153+
"L1StandardBridgeProxy": "0xdB5C6b73CB1c5875995a42D64C250BF8BC69a8bc",
154+
"L2OutputOracleProxy": "0xffB004874CbBF8692B5f397B602f4B8a630aeD59",
155+
"OptimismMintableERC20FactoryProxy": "0xccc6Fc5B866D34a7A4C40455a3cCfaa0cbFc145B",
156+
"OptimismPortalProxy": "0x9C93982cb4861311179aE216d1B7fD61232DE1f0",
157+
"SystemConfigProxy": "0xFb252d6199AEfeE6938a1c57213AAd96ecD2650c",
158+
"ProxyAdmin": "0xA6b2b6B6E621482aF877F304D46B94123a942Ae9",
159+
"ProxyAdminOwner": "0x4a4962275DF8C60a80d3a25faEc5AA7De116A746",
160+
"SystemConfigOwner": "0x4a4962275DF8C60a80d3a25faEc5AA7De116A746",
161+
"Guardian": "0x4a4962275DF8C60a80d3a25faEc5AA7De116A746",
162+
"Challenger": "0x4a4962275DF8C60a80d3a25faEc5AA7De116A746"
163+
},
134164
"34443": {
135165
"OptimismMintableERC20FactoryProxy": "0x69216395A62dFb243C05EF4F1C27AF8655096a95",
136166
"SystemConfigProxy": "0x5e6432F18Bc5d497B1Ab2288a025Fbf9D69E2221",

superchain/extra/genesis-system-configs/mainnet/superlumio.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"batcherAddr": "0x5c53f2ff1030c7fbc0616fd5b8fc6be97aa27e00",
2+
"batcherAddr": "0x5c53f2fF1030C7fbC0616fD5B8fC6bE97aa27e00",
33
"overhead": "0x00000000000000000000000000000000000000000000000000000000000000bc",
44
"scalar": "0x00000000000000000000000000000000000000000000000000000000000a6fe0",
55
"gasLimit": 30000000

superchain/extra/genesis-system-configs/sepolia/metal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"batcherAddr": "0xdb80eca386ac72a55510e33cf9cf7533e75916ee",
2+
"batcherAddr": "0xdb80Eca386AC72a55510e33CF9CF7533e75916eE",
33
"overhead": "0x00000000000000000000000000000000000000000000000000000000000000bc",
44
"scalar": "0x00000000000000000000000000000000000000000000000000000000000a6fe0",
55
"gasLimit": 30000000

validation/exclusions_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ var exclusions = map[string]map[uint64]bool{
4848
919: true, // mode sepolia (incorrect challenger)
4949
999999999: true, // zora sepolia (incorrect challenger)
5050
34443: true, // mode (incorrect challenger)
51+
1740: true, // metal-sepolia
5152
},
5253
"Standard_Contract_Versions": {
5354
8453: true, // mainnet/base MCP (at time of writing)
@@ -61,6 +62,7 @@ var exclusions = map[string]map[uint64]bool{
6162
919: true, // sepolia/mode MCP (at time of writing)
6263
58008: true, // sepolia/pgn MCP (at time of writing)
6364
999999999: true, // sepolia/zora MCP (at time of writing)
65+
1740: true, // sepolia/metal MCP (at time of writing)
6466
11155421: true, // sepolia-dev0/oplabs-devnet-0
6567
11763072: true, // sepolia-dev0/base-devnet-0
6668
},
@@ -76,6 +78,7 @@ var exclusions = map[string]map[uint64]bool{
7678
919: true, // sepolia/mode MCP (at time of writing)
7779
58008: true, // sepolia/pgn MCP (at time of writing)
7880
999999999: true, // sepolia/zora MCP (at time of writing)
81+
1740: true, // sepolia/metal MCP (at time of writing)
7982
11763072: true, // sepolia-dev0/base-devnet-0
8083
},
8184
}

0 commit comments

Comments
 (0)