Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add soneium mainnet #829

Merged
merged 6 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions chainList.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,24 @@
"chain": "mainnet"
}
},
{
"name": "Soneium",
"identifier": "mainnet/soneium",
"chainId": 1868,
"rpc": [
"https://rpc.soneium.org"
],
"explorers": [
"https://soneium.blockscout.com/"
],
"superchainLevel": 0,
"governedByOptimism": true,
"dataAvailabilityType": "eth-da",
"parent": {
"type": "L2",
"chain": "mainnet"
}
},
{
"name": "Superseed",
"identifier": "mainnet/sseed",
Expand Down
13 changes: 13 additions & 0 deletions chainList.toml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,19 @@
type = "L2"
chain = "mainnet"

[[chains]]
name = "Soneium"
identifier = "mainnet/soneium"
chain_id = 1868
rpc = ["https://rpc.soneium.org"]
explorers = ["https://soneium.blockscout.com/"]
superchain_level = 0
governed_by_optimism = true
data_availability_type = "eth-da"
[chains.parent]
type = "L2"
chain = "mainnet"

[[chains]]
name = "Superseed"
identifier = "mainnet/sseed"
Expand Down
71 changes: 71 additions & 0 deletions superchain/configs/configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,77 @@
"UnsafeBlockSigner": "0x4a65F5da5e80DEFfEA844eAa15CE130e80605dc5"
}
},
{
"Name": "Soneium",
"l2_chain_id": 1868,
"PublicRPC": "https://rpc.soneium.org",
"SequencerRPC": "https://rpc.soneium.org",
"Explorer": "https://soneium.blockscout.com/",
"SuperchainLevel": 0,
"GovernedByOptimism": true,
"StandardChainCandidate": true,
"SuperchainTime": 1738573200,
"batch_inbox_address": "0x008dC74CecC9dedA8595B2Fe210cE5979F0BfA8e",
"Superchain": "mainnet",
"Chain": "soneium",
"canyon_time": 0,
"delta_time": 0,
"ecotone_time": 0,
"fjord_time": 0,
"granite_time": 0,
"holocene_time": 1738573200,
"block_time": 2,
"seq_window_size": 3600,
"max_sequencer_drift": 600,
"DataAvailabilityType": "eth-da",
"optimism": {
"eip1559Elasticity": 6,
"eip1559Denominator": 50,
"eip1559DenominatorCanyon": 250
},
"GasPayingToken": null,
"genesis": {
"l1": {
"hash": "0x68b4ad05c3dafc2613853d26cf39f0e1716e986f879207440f187b56c12cb4d6",
"number": 21314185
},
"l2": {
"hash": "0x295d22d269634c7d0055b33b887519362d0b31899e97109d1789a8a168de1b21",
"number": 0
},
"l2_time": 1733134751,
"system_config": {
"batcherAddr": "0x6776BE80dBAda6A02B5F2095cF13734ac303B8d1",
"overhead": "0x0000000000000000000000000000000000000000000000000000000000000000",
"scalar": "0x010000000000000000000000000000000000000000000000000c5fc500000558",
"gasLimit": 60000000
}
},
"Addresses": {
"AddressManager": "0xB24bFEeCE1B3b7A44559F4Cbc21BeD312b130b70",
"AnchorStateRegistryProxy": "0x61f89A381E0BE13BD8Ab356cf4B7301BC97d7522",
"BatchSubmitter": "0x6776BE80dBAda6A02B5F2095cF13734ac303B8d1",
"Challenger": "0x9BA6e03D8B90dE867373Db8cF1A58d2F7F006b3A",
"DelayedWETHProxy": "0x9CF951E3F74B644e621b36Ca9cea147a78D4c39f",
"DisputeGameFactoryProxy": "0x512A3d2c7a43BD9261d2B8E8C9c70D4bd4D503C0",
"Guardian": "0x09f7150D8c019BeF34450d6920f6B3608ceFdAf2",
"L1CrossDomainMessengerProxy": "0x9CF951E3F74B644e621b36Ca9cea147a78D4c39f",
"L1ERC721BridgeProxy": "0x5933e323bE8896DfaCd1cD671442F27dAA10a053",
"L1StandardBridgeProxy": "0xeb9bf100225c214Efc3E7C651ebbaDcF85177607",
"MIPS": "0x16e83cE5Ce29BF90AD9Da06D2fE6a15d5f344ce4",
"OptimismMintableERC20FactoryProxy": "0xc1047e30EFC9E172cFe7aa0219895B6a43fC415F",
"OptimismPortalProxy": "0x88e529A6ccd302c948689Cd5156C83D4614FAE92",
"PermissionedDisputeGame": "0x42D15f045159Ce4adE9EDC7da5704eF36056c936",
"PreimageOracle": "0x9c065e11870B891D214Bc2Da7EF1f9DDFA1BE277",
"Proposer": "0x400c164C4a8cA84385B70EEd6eB03ea847c8E1b8",
"ProxyAdmin": "0x89889B569c3a505f3640ee1Bd0ac1D557f436D2a",
"ProxyAdminOwner": "0x5a0Aae59D09fccBdDb6C6CcEB07B7279367C3d2A",
"SuperchainConfig": "0x95703e0982140D16f8ebA6d158FccEde42f04a4C",
"SystemConfigOwner": "0x509182eC226b3B71D36A3255A80EF0b1A9D43033",
"SystemConfigProxy": "0x7A8Ed66B319911A0F3E7288BDdAB30d9c0C875c3",
"UnsafeBlockSigner": "0x7c2Bd59ee2a2C7391c9A240132f26071e9546262"
}
},
{
"Name": "Swellchain",
"l2_chain_id": 1923,
Expand Down
63 changes: 63 additions & 0 deletions superchain/configs/mainnet/soneium.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name = "Soneium"
chain_id = 1868
public_rpc = "https://rpc.soneium.org"
sequencer_rpc = "https://rpc.soneium.org"
explorer = "https://soneium.blockscout.com/"
superchain_level = 0
governed_by_optimism = true
standard_chain_candidate = true # This is a temporary field which causes most of the standard validation checks to run on this chain
batch_inbox_addr = "0x008dC74CecC9dedA8595B2Fe210cE5979F0BfA8e"
canyon_time = 0 # Thu 1 Jan 1970 00:00:00 UTC
delta_time = 0 # Thu 1 Jan 1970 00:00:00 UTC
ecotone_time = 0 # Thu 1 Jan 1970 00:00:00 UTC
fjord_time = 0 # Thu 1 Jan 1970 00:00:00 UTC
granite_time = 0 # Thu 1 Jan 1970 00:00:00 UTC
holocene_time = 1738573200 # Mon 3 Feb 2025 09:00:00 UTC
sbvegan marked this conversation as resolved.
Show resolved Hide resolved
superchain_time = 1738573200 # Joining from Isthmus
block_time = 2
sbvegan marked this conversation as resolved.
Show resolved Hide resolved
seq_window_size = 3600
max_sequencer_drift = 600
data_availability_type = "eth-da"

[optimism]
eip1559_elasticity = 6
eip1559_denominator = 50
eip1559_denominator_canyon = 250

[genesis]
l2_time = 1733134751
[genesis.l1]
hash = "0x68b4ad05c3dafc2613853d26cf39f0e1716e986f879207440f187b56c12cb4d6"
number = 21314185
[genesis.l2]
hash = "0x295d22d269634c7d0055b33b887519362d0b31899e97109d1789a8a168de1b21"
number = 0
[genesis.system_config]
batcherAddress = "0x6776BE80dBAda6A02B5F2095cF13734ac303B8d1"
overhead = "0x0000000000000000000000000000000000000000000000000000000000000000"
scalar = "0x010000000000000000000000000000000000000000000000000c5fc500000558"
gasLimit = 60000000

[addresses]
SystemConfigOwner = "0x509182eC226b3B71D36A3255A80EF0b1A9D43033"
ProxyAdminOwner = "0x5a0Aae59D09fccBdDb6C6CcEB07B7279367C3d2A"
Guardian = "0x09f7150D8c019BeF34450d6920f6B3608ceFdAf2"
Challenger = "0x9BA6e03D8B90dE867373Db8cF1A58d2F7F006b3A"
Proposer = "0x400c164C4a8cA84385B70EEd6eB03ea847c8E1b8"
UnsafeBlockSigner = "0x7c2Bd59ee2a2C7391c9A240132f26071e9546262"
BatchSubmitter = "0x6776BE80dBAda6A02B5F2095cF13734ac303B8d1"
AddressManager = "0xB24bFEeCE1B3b7A44559F4Cbc21BeD312b130b70"
L1CrossDomainMessengerProxy = "0x9CF951E3F74B644e621b36Ca9cea147a78D4c39f"
L1ERC721BridgeProxy = "0x5933e323bE8896DfaCd1cD671442F27dAA10a053"
L1StandardBridgeProxy = "0xeb9bf100225c214Efc3E7C651ebbaDcF85177607"
OptimismMintableERC20FactoryProxy = "0xc1047e30EFC9E172cFe7aa0219895B6a43fC415F"
OptimismPortalProxy = "0x88e529A6ccd302c948689Cd5156C83D4614FAE92"
SystemConfigProxy = "0x7A8Ed66B319911A0F3E7288BDdAB30d9c0C875c3"
ProxyAdmin = "0x89889B569c3a505f3640ee1Bd0ac1D557f436D2a"
SuperchainConfig = "0x95703e0982140D16f8ebA6d158FccEde42f04a4C"
AnchorStateRegistryProxy = "0x61f89A381E0BE13BD8Ab356cf4B7301BC97d7522"
DelayedWETHProxy = "0x9CF951E3F74B644e621b36Ca9cea147a78D4c39f"
DisputeGameFactoryProxy = "0x512A3d2c7a43BD9261d2B8E8C9c70D4bd4D503C0"
MIPS = "0x16e83cE5Ce29BF90AD9Da06D2fE6a15d5f344ce4"
PermissionedDisputeGame = "0x42D15f045159Ce4adE9EDC7da5704eF36056c936"
PreimageOracle = "0x9c065e11870B891D214Bc2Da7EF1f9DDFA1BE277"
24 changes: 24 additions & 0 deletions superchain/extra/addresses/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,30 @@
"SystemConfigProxy": "0x20c3035C92bdB4C461242571EeAc59EeD03Df931",
"UnsafeBlockSigner": "0xD1705B4FFFc540EDeD73046ee1F3A8Db10d143f8"
},
"1868": {
"AddressManager": "0xB24bFEeCE1B3b7A44559F4Cbc21BeD312b130b70",
"AnchorStateRegistryProxy": "0x61f89A381E0BE13BD8Ab356cf4B7301BC97d7522",
"BatchSubmitter": "0x6776BE80dBAda6A02B5F2095cF13734ac303B8d1",
"Challenger": "0x9BA6e03D8B90dE867373Db8cF1A58d2F7F006b3A",
"DelayedWETHProxy": "0x9CF951E3F74B644e621b36Ca9cea147a78D4c39f",
"DisputeGameFactoryProxy": "0x512A3d2c7a43BD9261d2B8E8C9c70D4bd4D503C0",
"Guardian": "0x09f7150D8c019BeF34450d6920f6B3608ceFdAf2",
"L1CrossDomainMessengerProxy": "0x9CF951E3F74B644e621b36Ca9cea147a78D4c39f",
"L1ERC721BridgeProxy": "0x5933e323bE8896DfaCd1cD671442F27dAA10a053",
"L1StandardBridgeProxy": "0xeb9bf100225c214Efc3E7C651ebbaDcF85177607",
"MIPS": "0x16e83cE5Ce29BF90AD9Da06D2fE6a15d5f344ce4",
"OptimismMintableERC20FactoryProxy": "0xc1047e30EFC9E172cFe7aa0219895B6a43fC415F",
"OptimismPortalProxy": "0x88e529A6ccd302c948689Cd5156C83D4614FAE92",
"PermissionedDisputeGame": "0x42D15f045159Ce4adE9EDC7da5704eF36056c936",
"PreimageOracle": "0x9c065e11870B891D214Bc2Da7EF1f9DDFA1BE277",
"Proposer": "0x400c164C4a8cA84385B70EEd6eB03ea847c8E1b8",
"ProxyAdmin": "0x89889B569c3a505f3640ee1Bd0ac1D557f436D2a",
"ProxyAdminOwner": "0x5a0Aae59D09fccBdDb6C6CcEB07B7279367C3d2A",
"SuperchainConfig": "0x95703e0982140D16f8ebA6d158FccEde42f04a4C",
"SystemConfigOwner": "0x509182eC226b3B71D36A3255A80EF0b1A9D43033",
"SystemConfigProxy": "0x7A8Ed66B319911A0F3E7288BDdAB30d9c0C875c3",
"UnsafeBlockSigner": "0x7c2Bd59ee2a2C7391c9A240132f26071e9546262"
},
"1923": {
"AddressManager": "0xa54a84f17c2180148c762D79bC57BdfF7FdAFC8A",
"AnchorStateRegistryProxy": "0x14387438EE964e826A4EAeB95B2BCe7754174dD1",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
101 changes: 101 additions & 0 deletions validation/genesis/validation-inputs/1868/deploy-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"fundDevAccounts": false,
"l2GenesisBlockNonce": "0x0",
"l2GenesisBlockGasLimit": "0x3938700",
"l2GenesisBlockDifficulty": null,
"l2GenesisBlockMixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"l2GenesisBlockNumber": "0x0",
"l2GenesisBlockGasUsed": "0x0",
"l2GenesisBlockParentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"l2GenesisBlockBaseFeePerGas": "0x3b9aca00",
"proxyAdminOwner": "0x6b1bae59d09fccbddb6c6cceb07b7279367c4e3b",
"finalSystemOwner": "0x5a0aae59d09fccbddb6c6cceb07b7279367c3d2a",
"baseFeeVaultRecipient": "0xf07b3169fff67a8aecdbb18d9761aeee34591112",
"l1FeeVaultRecipient": "0xf07b3169fff67a8aecdbb18d9761aeee34591112",
"sequencerFeeVaultRecipient": "0xf07b3169fff67a8aecdbb18d9761aeee34591112",
"baseFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"l1FeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"sequencerFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"baseFeeVaultWithdrawalNetwork": 1,
"l1FeeVaultWithdrawalNetwork": 1,
"sequencerFeeVaultWithdrawalNetwork": 1,
"enableGovernance": true,
"governanceTokenSymbol": "OP",
"governanceTokenName": "Optimism",
"governanceTokenOwner": "0xdeaddeaddeaddeaddeaddeaddeaddeaddeaddead",
"gasPriceOracleOverhead": 0,
"gasPriceOracleScalar": 0,
"gasPriceOracleBaseFeeScalar": 1368,
"gasPriceOracleBlobBaseFeeScalar": 810949,
"useCustomGasToken": false,
"customGasTokenAddress": "0x0000000000000000000000000000000000000000",
"p2pSequencerAddress": "0x7c2bd59ee2a2c7391c9a240132f26071e9546262",
"batchSenderAddress": "0x6776be80dbada6a02b5f2095cf13734ac303b8d1",
"eip1559Elasticity": 6,
"eip1559Denominator": 50,
"eip1559DenominatorCanyon": 250,
"l2GenesisRegolithTimeOffset": "0x0",
"l2GenesisCanyonTimeOffset": "0x0",
"l2GenesisDeltaTimeOffset": "0x0",
"l2GenesisEcotoneTimeOffset": "0x0",
"l2GenesisFjordTimeOffset": "0x0",
"l2GenesisGraniteTimeOffset": "0x0",
"l1ChainID": 1,
"l2ChainID": 1868,
"l2BlockTime": 2,
"finalizationPeriodSeconds": 12,
"maxSequencerDrift": 600,
"sequencerWindowSize": 3600,
"channelTimeout": 300,
"batchInboxAddress": "0x008dc74cecc9deda8595b2fe210ce5979f0bfa8e",
"systemConfigStartBlock": 0,
"useAltDA": false,
"daCommitmentType": "",
"daChallengeWindow": 0,
"daResolveWindow": 0,
"daBondSize": 0,
"daResolverRefundPercentage": 0,
"l1BlockTime": 12,
"l1GenesisBlockTimestamp": "0x0",
"l1GenesisBlockNonce": "0x0",
"l1GenesisBlockGasLimit": "0x0",
"l1GenesisBlockDifficulty": null,
"l1GenesisBlockMixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"l1GenesisBlockCoinbase": "0x0000000000000000000000000000000000000000",
"l1GenesisBlockNumber": "0x0",
"l1GenesisBlockGasUsed": "0x0",
"l1GenesisBlockParentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"l1GenesisBlockBaseFeePerGas": null,
"l1StartingBlockTag": "0x68b4ad05c3dafc2613853d26cf39f0e1716e986f879207440f187b56c12cb4d6",
"requiredProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"recommendedProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"superchainConfigGuardian": "0x0000000000000000000000000000000000000001",
"l2OutputOracleSubmissionInterval": 1,
"l2OutputOracleStartingTimestamp": 1,
"l2OutputOracleStartingBlockNumber": 0,
"l2OutputOracleProposer": "0x0000000000000000000000000000000000000001",
"l2OutputOracleChallenger": "0x0000000000000000000000000000000000000001",
"useFaultProofs": true,
"faultGameAbsolutePrestate": "0x0000000000000000000000000000000000000000000000000000000000000000",
"faultGameMaxDepth": 0,
"faultGameClockExtension": 0,
"faultGameMaxClockDuration": 0,
"faultGameGenesisBlock": 0,
"faultGameGenesisOutputRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
"faultGameSplitDepth": 0,
"faultGameWithdrawalDelay": 604800,
"preimageOracleMinProposalSize": 126000,
"preimageOracleChallengePeriod": 86400,
"proofMaturityDelaySeconds": 604800,
"disputeGameFinalityDelaySeconds": 302400,
"respectedGameType": 0,
"l1StandardBridgeProxy": "0xeb9bf100225c214efc3e7c651ebbadcf85177607",
"l1CrossDomainMessengerProxy": "0x9cf951e3f74b644e621b36ca9cea147a78d4c39f",
"l1ERC721BridgeProxy": "0x5933e323be8896dfacd1cd671442f27daa10a053",
"systemConfigProxy": "0x7a8ed66b319911a0f3e7288bddab30d9c0c875c3",
"optimismPortalProxy": "0x88e529a6ccd302c948689cd5156c83d4614fae92",
"daChallengeProxy": "0x0000000000000000000000000000000000000000",
"protocolVersionsProxy": "0x8062abc286f5e7d9428a0ccb9abd71e50d93b935",
"deploymentWaitConfirmations": 0
}

4 changes: 4 additions & 0 deletions validation/genesis/validation-inputs/1868/meta.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
genesis_creation_commit = "5e14a61547a45eef2ebeba677aee4a049f106ed8"
node_version = "18.12.1"
monorepo_build_command = "pnpm"
genesis_creation_command = "forge1"