diff --git a/chainList.json b/chainList.json index 2c4b16403..9243a9a25 100644 --- a/chainList.json +++ b/chainList.json @@ -511,6 +511,23 @@ "chain": "sepolia" } }, + { + "name": "Swellchain Testnet", + "identifier": "sepolia/swell", + "chainId": 1924, + "rpc": [ + "https://swell-testnet.alt.technology" + ], + "explorers": [ + "https://swell-testnet-explorer.alt.technology" + ], + "superchainLevel": 0, + "dataAvailabilityType": "eth-da", + "parent": { + "type": "L2", + "chain": "sepolia" + } + }, { "name": "Binary Sepolia", "identifier": "sepolia/tbn", diff --git a/chainList.toml b/chainList.toml index 797c65ca4..7b09c1168 100644 --- a/chainList.toml +++ b/chainList.toml @@ -360,6 +360,18 @@ type = "L2" chain = "sepolia" +[[chains]] + name = "Swellchain Testnet" + identifier = "sepolia/swell" + chain_id = 1924 + rpc = ["https://swell-testnet.alt.technology"] + explorers = ["https://swell-testnet-explorer.alt.technology"] + superchain_level = 0 + data_availability_type = "eth-da" + [chains.parent] + type = "L2" + chain = "sepolia" + [[chains]] name = "Binary Sepolia" identifier = "sepolia/tbn" diff --git a/superchain/configs/configs.json b/superchain/configs/configs.json index aabb889ef..b23c832ff 100644 --- a/superchain/configs/configs.json +++ b/superchain/configs/configs.json @@ -1575,6 +1575,75 @@ "SystemConfigProxy": "0x5D63A8Dc2737cE771aa4a6510D063b6Ba2c4f6F2" } }, + { + "Name": "Swellchain Testnet", + "l2_chain_id": 1924, + "PublicRPC": "https://swell-testnet.alt.technology", + "SequencerRPC": "https://swell-testnet.alt.technology", + "Explorer": "https://swell-testnet-explorer.alt.technology", + "SuperchainLevel": 0, + "StandardChainCandidate": true, + "SuperchainTime": null, + "batch_inbox_address": "0x00e4162c4fE9Db4796787E515F616A55650791B7", + "Superchain": "sepolia", + "Chain": "swell", + "canyon_time": 0, + "delta_time": 0, + "ecotone_time": 0, + "fjord_time": 0, + "granite_time": 0, + "block_time": 2, + "seq_window_size": 3600, + "max_sequencer_drift": 600, + "DataAvailabilityType": "eth-da", + "optimism": { + "eip1559Elasticity": 10, + "eip1559Denominator": 50, + "eip1559DenominatorCanyon": 250 + }, + "GasPayingToken": null, + "genesis": { + "l1": { + "hash": "0xd99f5dc5bb430b382da5e70964a2faf49808c0f450d4e8fa4bb3d4f7f9e3c18a", + "number": 6989267 + }, + "l2": { + "hash": "0x56d83858e4fab3bcd009c0014c91fce910f0e4585d1f446e043c813043fd0317", + "number": 0 + }, + "l2_time": 1730453256, + "system_config": { + "batcherAddr": "0x77C60EfDBDa83410EE0373Eda2ed06891238c93d", + "overhead": "0x0000000000000000000000000000000000000000000000000000000000000000", + "scalar": "0x010000000000000000000000000000000000000000000000000c5fc500000558", + "gasLimit": 60000000 + } + }, + "Addresses": { + "AddressManager": "0x9C7D8212d8c996ab3c849bF4d6d5cC0A597A5CE5", + "AnchorStateRegistryProxy": "0x6D1443dD3f58889C6A8DE51E74b5fCa9c7116513", + "BatchSubmitter": "0x77C60EfDBDa83410EE0373Eda2ed06891238c93d", + "Challenger": "0x9C420427CABF2ab4b9e609ca8F4c64BB92bc76b0", + "DelayedWETHProxy": "0xD89F9eC2D109FB5f978A3b5B846d6aA1959872fb", + "DisputeGameFactoryProxy": "0xF098dc3596d96b6Dfd43FdE6066551449242Fc15", + "Guardian": "0x7a50f00e8D05b95F98fE38d8BeE366a7324dCf7E", + "L1CrossDomainMessengerProxy": "0xD89F9eC2D109FB5f978A3b5B846d6aA1959872fb", + "L1ERC721BridgeProxy": "0x2Cff2FDA74b121B7D6371C740d5166F47a93d45C", + "L1StandardBridgeProxy": "0xeBb79a1D00B2d489f53ADee985a2Ded2A3553F22", + "MIPS": "0x47B0E34C1054009e696BaBAAd56165e1e994144d", + "OptimismMintableERC20FactoryProxy": "0xBa2b3e7a330ce394202ACB258f670B2926dB63BE", + "OptimismPortalProxy": "0x595329C60C0B9E54a5246E98fB0fA7FcFd454f64", + "PermissionedDisputeGame": "0x01Fe650FB880A287D1b7C2df6e830dA0540387fA", + "PreimageOracle": "0x92240135b46fc1142dA181f550aE8f595B858854", + "Proposer": "0xfAD4ab1C91530649bf3c1F3DadB401160d3854D0", + "ProxyAdmin": "0x85046864B00763415af4DA8d7Bd6FA9404385690", + "ProxyAdminOwner": "0xbA9b48E881c79C5e8E00891Dd0DBfd9322632da7", + "SuperchainConfig": "0xC2Be75506d5724086DEB7245bd260Cc9753911Be", + "SystemConfigOwner": "0x6C22aD23a35658d045165ac1d20486C39A3BEFCE", + "SystemConfigProxy": "0xb8dB232300F007833592befD46E141C6aD3558ec", + "UnsafeBlockSigner": "0xACE029EaF8513FE15f03a511976F311454E4B423" + } + }, { "Name": "Minato", "l2_chain_id": 1946, diff --git a/superchain/configs/sepolia/swell.toml b/superchain/configs/sepolia/swell.toml new file mode 100644 index 000000000..c47c7430f --- /dev/null +++ b/superchain/configs/sepolia/swell.toml @@ -0,0 +1,60 @@ +name = "Swellchain Testnet" +chain_id = 1924 +public_rpc = "https://swell-testnet.alt.technology" +sequencer_rpc = "https://swell-testnet.alt.technology" +explorer = "https://swell-testnet-explorer.alt.technology" +superchain_level = 0 +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 = "0x00e4162c4fE9Db4796787E515F616A55650791B7" +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 +block_time = 2 +seq_window_size = 3600 +max_sequencer_drift = 600 +data_availability_type = "eth-da" + +[optimism] + eip1559_elasticity = 10 + eip1559_denominator = 50 + eip1559_denominator_canyon = 250 + +[genesis] + l2_time = 1730453256 + [genesis.l1] + hash = "0xd99f5dc5bb430b382da5e70964a2faf49808c0f450d4e8fa4bb3d4f7f9e3c18a" + number = 6989267 + [genesis.l2] + hash = "0x56d83858e4fab3bcd009c0014c91fce910f0e4585d1f446e043c813043fd0317" + number = 0 + [genesis.system_config] + batcherAddress = "0x77C60EfDBDa83410EE0373Eda2ed06891238c93d" + overhead = "0x0000000000000000000000000000000000000000000000000000000000000000" + scalar = "0x010000000000000000000000000000000000000000000000000c5fc500000558" + gasLimit = 60000000 + +[addresses] + SystemConfigOwner = "0x6C22aD23a35658d045165ac1d20486C39A3BEFCE" + ProxyAdminOwner = "0xbA9b48E881c79C5e8E00891Dd0DBfd9322632da7" + Guardian = "0x7a50f00e8D05b95F98fE38d8BeE366a7324dCf7E" + Challenger = "0x9C420427CABF2ab4b9e609ca8F4c64BB92bc76b0" + Proposer = "0xfAD4ab1C91530649bf3c1F3DadB401160d3854D0" + UnsafeBlockSigner = "0xACE029EaF8513FE15f03a511976F311454E4B423" + BatchSubmitter = "0x77C60EfDBDa83410EE0373Eda2ed06891238c93d" + AddressManager = "0x9C7D8212d8c996ab3c849bF4d6d5cC0A597A5CE5" + L1CrossDomainMessengerProxy = "0xD89F9eC2D109FB5f978A3b5B846d6aA1959872fb" + L1ERC721BridgeProxy = "0x2Cff2FDA74b121B7D6371C740d5166F47a93d45C" + L1StandardBridgeProxy = "0xeBb79a1D00B2d489f53ADee985a2Ded2A3553F22" + OptimismMintableERC20FactoryProxy = "0xBa2b3e7a330ce394202ACB258f670B2926dB63BE" + OptimismPortalProxy = "0x595329C60C0B9E54a5246E98fB0fA7FcFd454f64" + SystemConfigProxy = "0xb8dB232300F007833592befD46E141C6aD3558ec" + ProxyAdmin = "0x85046864B00763415af4DA8d7Bd6FA9404385690" + SuperchainConfig = "0xC2Be75506d5724086DEB7245bd260Cc9753911Be" + AnchorStateRegistryProxy = "0x6D1443dD3f58889C6A8DE51E74b5fCa9c7116513" + DelayedWETHProxy = "0xD89F9eC2D109FB5f978A3b5B846d6aA1959872fb" + DisputeGameFactoryProxy = "0xF098dc3596d96b6Dfd43FdE6066551449242Fc15" + MIPS = "0x47B0E34C1054009e696BaBAAd56165e1e994144d" + PermissionedDisputeGame = "0x01Fe650FB880A287D1b7C2df6e830dA0540387fA" + PreimageOracle = "0x92240135b46fc1142dA181f550aE8f595B858854" diff --git a/superchain/extra/addresses/addresses.json b/superchain/extra/addresses/addresses.json index 6057952c5..0a3527d73 100644 --- a/superchain/extra/addresses/addresses.json +++ b/superchain/extra/addresses/addresses.json @@ -260,6 +260,30 @@ "SystemConfigProxy": "0xD3d4c6B703978a5d24FecF3a70a51127667Ff1A4", "UnsafeBlockSigner": "0x6967D304E9b7E26b5eb3f5A1FD1239DaAD3215E6" }, + "1924": { + "AddressManager": "0x9C7D8212d8c996ab3c849bF4d6d5cC0A597A5CE5", + "AnchorStateRegistryProxy": "0x6D1443dD3f58889C6A8DE51E74b5fCa9c7116513", + "BatchSubmitter": "0x77C60EfDBDa83410EE0373Eda2ed06891238c93d", + "Challenger": "0x9C420427CABF2ab4b9e609ca8F4c64BB92bc76b0", + "DelayedWETHProxy": "0xD89F9eC2D109FB5f978A3b5B846d6aA1959872fb", + "DisputeGameFactoryProxy": "0xF098dc3596d96b6Dfd43FdE6066551449242Fc15", + "Guardian": "0x7a50f00e8D05b95F98fE38d8BeE366a7324dCf7E", + "L1CrossDomainMessengerProxy": "0xD89F9eC2D109FB5f978A3b5B846d6aA1959872fb", + "L1ERC721BridgeProxy": "0x2Cff2FDA74b121B7D6371C740d5166F47a93d45C", + "L1StandardBridgeProxy": "0xeBb79a1D00B2d489f53ADee985a2Ded2A3553F22", + "MIPS": "0x47B0E34C1054009e696BaBAAd56165e1e994144d", + "OptimismMintableERC20FactoryProxy": "0xBa2b3e7a330ce394202ACB258f670B2926dB63BE", + "OptimismPortalProxy": "0x595329C60C0B9E54a5246E98fB0fA7FcFd454f64", + "PermissionedDisputeGame": "0x01Fe650FB880A287D1b7C2df6e830dA0540387fA", + "PreimageOracle": "0x92240135b46fc1142dA181f550aE8f595B858854", + "Proposer": "0xfAD4ab1C91530649bf3c1F3DadB401160d3854D0", + "ProxyAdmin": "0x85046864B00763415af4DA8d7Bd6FA9404385690", + "ProxyAdminOwner": "0xbA9b48E881c79C5e8E00891Dd0DBfd9322632da7", + "SuperchainConfig": "0xC2Be75506d5724086DEB7245bd260Cc9753911Be", + "SystemConfigOwner": "0x6C22aD23a35658d045165ac1d20486C39A3BEFCE", + "SystemConfigProxy": "0xb8dB232300F007833592befD46E141C6aD3558ec", + "UnsafeBlockSigner": "0xACE029EaF8513FE15f03a511976F311454E4B423" + }, "1946": { "AddressManager": "0x6e8A77673109783001150DFA770E6c662f473DA9", "AnchorStateRegistryProxy": "0xa4AbebA1612Cf731843460791e1A925c84d0991C", diff --git a/superchain/extra/bytecodes/0x2e3660a52f918a14f81384bb1d6b9b4a18456af4d3d35ddbc4df4c1de0aaaff7.bin.gz b/superchain/extra/bytecodes/0x2e3660a52f918a14f81384bb1d6b9b4a18456af4d3d35ddbc4df4c1de0aaaff7.bin.gz new file mode 100755 index 000000000..4acad8a9c Binary files /dev/null and b/superchain/extra/bytecodes/0x2e3660a52f918a14f81384bb1d6b9b4a18456af4d3d35ddbc4df4c1de0aaaff7.bin.gz differ diff --git a/superchain/extra/bytecodes/0x423db48ff04c2b12df0f5ff1b630fd148c54a1bb95e63fb19196c27bf46e117d.bin.gz b/superchain/extra/bytecodes/0x423db48ff04c2b12df0f5ff1b630fd148c54a1bb95e63fb19196c27bf46e117d.bin.gz new file mode 100755 index 000000000..740094985 Binary files /dev/null and b/superchain/extra/bytecodes/0x423db48ff04c2b12df0f5ff1b630fd148c54a1bb95e63fb19196c27bf46e117d.bin.gz differ diff --git a/superchain/extra/bytecodes/0x9b6d71556c64c92fbd8432def02fc290d4bd95f4e91b0d7aa16d025a553c5cb0.bin.gz b/superchain/extra/bytecodes/0x9b6d71556c64c92fbd8432def02fc290d4bd95f4e91b0d7aa16d025a553c5cb0.bin.gz new file mode 100755 index 000000000..a167f0cd7 Binary files /dev/null and b/superchain/extra/bytecodes/0x9b6d71556c64c92fbd8432def02fc290d4bd95f4e91b0d7aa16d025a553c5cb0.bin.gz differ diff --git a/superchain/extra/bytecodes/0xe7e07d2643977e24bcd63290bc09d12835d4cd5b430639eb085ac4d24dabf92b.bin.gz b/superchain/extra/bytecodes/0xe7e07d2643977e24bcd63290bc09d12835d4cd5b430639eb085ac4d24dabf92b.bin.gz new file mode 100755 index 000000000..642bff912 Binary files /dev/null and b/superchain/extra/bytecodes/0xe7e07d2643977e24bcd63290bc09d12835d4cd5b430639eb085ac4d24dabf92b.bin.gz differ diff --git a/superchain/extra/bytecodes/0xf28520373a339eb343f61760370769e918fe9ed4669d6bdf2bb57f35da38acbe.bin.gz b/superchain/extra/bytecodes/0xf28520373a339eb343f61760370769e918fe9ed4669d6bdf2bb57f35da38acbe.bin.gz new file mode 100755 index 000000000..39db759a1 Binary files /dev/null and b/superchain/extra/bytecodes/0xf28520373a339eb343f61760370769e918fe9ed4669d6bdf2bb57f35da38acbe.bin.gz differ diff --git a/superchain/extra/genesis/sepolia/swell.json.gz b/superchain/extra/genesis/sepolia/swell.json.gz new file mode 100755 index 000000000..42c17f378 Binary files /dev/null and b/superchain/extra/genesis/sepolia/swell.json.gz differ diff --git a/validation/genesis/validation-inputs/1924/deploy-config.json b/validation/genesis/validation-inputs/1924/deploy-config.json new file mode 100755 index 000000000..481371d02 --- /dev/null +++ b/validation/genesis/validation-inputs/1924/deploy-config.json @@ -0,0 +1,101 @@ +{ + "fundDevAccounts": false, + "l2GenesisBlockNonce": "0x0", + "l2GenesisBlockGasLimit": "0x3938700", + "l2GenesisBlockDifficulty": null, + "l2GenesisBlockMixHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "l2GenesisBlockNumber": "0x0", + "l2GenesisBlockGasUsed": "0x0", + "l2GenesisBlockParentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", + "l2GenesisBlockBaseFeePerGas": "0x3b9aca00", + "proxyAdminOwner": "0xba9b48e881c79c5e8e00891dd0dbfd9322632da7", + "finalSystemOwner": "0xba9b48e881c79c5e8e00891dd0dbfd9322632da7", + "baseFeeVaultRecipient": "0x7f52c2198f60e3221c10cbe843eb253934fc98b4", + "l1FeeVaultRecipient": "0x7f52c2198f60e3221c10cbe843eb253934fc98b4", + "sequencerFeeVaultRecipient": "0x7f52c2198f60e3221c10cbe843eb253934fc98b4", + "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": "0xace029eaf8513fe15f03a511976f311454e4b423", + "batchSenderAddress": "0x77c60efdbda83410ee0373eda2ed06891238c93d", + "eip1559Elasticity": 10, + "eip1559Denominator": 50, + "eip1559DenominatorCanyon": 250, + "l2GenesisRegolithTimeOffset": "0x0", + "l2GenesisCanyonTimeOffset": "0x0", + "l2GenesisDeltaTimeOffset": "0x0", + "l2GenesisEcotoneTimeOffset": "0x0", + "l2GenesisFjordTimeOffset": "0x0", + "l2GenesisGraniteTimeOffset": "0x0", + "l1ChainID": 11155111, + "l2ChainID": 1924, + "l2BlockTime": 2, + "finalizationPeriodSeconds": 12, + "maxSequencerDrift": 600, + "sequencerWindowSize": 3600, + "channelTimeout": 300, + "batchInboxAddress": "0x00e4162c4fe9db4796787e515f616a55650791b7", + "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": "0xd99f5dc5bb430b382da5e70964a2faf49808c0f450d4e8fa4bb3d4f7f9e3c18a", + "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": "0xebb79a1d00b2d489f53adee985a2ded2a3553f22", + "l1CrossDomainMessengerProxy": "0xd89f9ec2d109fb5f978a3b5b846d6aa1959872fb", + "l1ERC721BridgeProxy": "0x2cff2fda74b121b7d6371c740d5166f47a93d45c", + "systemConfigProxy": "0xb8db232300f007833592befd46e141c6ad3558ec", + "optimismPortalProxy": "0x595329c60c0b9e54a5246e98fb0fa7fcfd454f64", + "daChallengeProxy": "0x0000000000000000000000000000000000000000", + "protocolVersionsProxy": "0x79add5713b383daa0a138d3c4780c7a1804a8090", + "deploymentWaitConfirmations": 0 +} + diff --git a/validation/genesis/validation-inputs/1924/meta.toml b/validation/genesis/validation-inputs/1924/meta.toml new file mode 100755 index 000000000..7cff65ce2 --- /dev/null +++ b/validation/genesis/validation-inputs/1924/meta.toml @@ -0,0 +1,4 @@ +genesis_creation_commit = "5e14a61547a45eef2ebeba677aee4a049f106ed8" +node_version = "18.12.1" +monorepo_build_command = "pnpm" +genesis_creation_command = "forge1"