Skip to content

Commit

Permalink
feat: add Shape Sepolia to the Superchain Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
dianwen committed Sep 17, 2024
1 parent 2a011e7 commit 30e87ab
Show file tree
Hide file tree
Showing 12 changed files with 254 additions and 0 deletions.
17 changes: 17 additions & 0 deletions chainList.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,23 @@
"chain": "sepolia"
}
},
{
"name": "Shape Sepolia Testnet",
"identifier": "sepolia/shape",
"chainId": 11011,
"rpc": [
"https://sepolia.shape.network/"
],
"explorers": [
"https://shape-sepolia-explorer.alchemy.com/"
],
"superchainLevel": 0,
"dataAvailabilityType": "eth-da",
"parent": {
"type": "L2",
"chain": "sepolia"
}
},
{
"name": "Zora Sepolia Testnet",
"identifier": "sepolia/zora",
Expand Down
12 changes: 12 additions & 0 deletions chainList.toml
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,18 @@
type = "L2"
chain = "sepolia"

[[chains]]
name = "Shape Sepolia Testnet"
identifier = "sepolia/shape"
chain_id = 11011
rpc = ["https://sepolia.shape.network/"]
explorers = ["https://shape-sepolia-explorer.alchemy.com/"]
superchain_level = 0
data_availability_type = "eth-da"
[chains.parent]
type = "L2"
chain = "sepolia"

[[chains]]
name = "Zora Sepolia Testnet"
identifier = "sepolia/zora"
Expand Down
68 changes: 68 additions & 0 deletions superchain/configs/configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,74 @@
"UnsafeBlockSigner": "0x89eA88ef4AC23f4C7Fdc611Fc9cD1c50DF702C2C"
}
},
{
"Name": "Shape Sepolia Testnet",
"l2_chain_id": 11011,
"PublicRPC": "https://sepolia.shape.network/",
"SequencerRPC": "https://shape-sepolia-sequencer.g.alchemy.com",
"Explorer": "https://shape-sepolia-explorer.alchemy.com/",
"SuperchainLevel": 0,
"StandardChainCandidate": false,
"SuperchainTime": null,
"batch_inbox_address": "0xFF00000000000000000000000000000000011011",
"Superchain": "sepolia",
"Chain": "shape",
"canyon_time": 0,
"delta_time": 0,
"ecotone_time": 0,
"fjord_time": 1721732400,
"block_time": 2,
"seq_window_size": 3600,
"max_sequencer_drift": 1800,
"DataAvailabilityType": "eth-da",
"optimism": {
"eip1559Elasticity": 6,
"eip1559Denominator": 50,
"eip1559DenominatorCanyon": 250
},
"GasPayingToken": null,
"genesis": {
"l1": {
"hash": "0x0e1156bae935f43af44f8d3e011275b8aeab57acd83cbd71d92903d3c9b29cf3",
"number": 6151675
},
"l2": {
"hash": "0xcb3558db049390808cbde6b82a48d06ed98d3fe959e088ac20ae56174595cfce",
"number": 0
},
"l2_time": 1718936160,
"system_config": {
"batcherAddr": "0x6fF556Fa7CaFEc55aE77C5C1d58A010be75f9991",
"overhead": "0x00000000000000000000000000000000000000000000000000000000000000bc",
"scalar": "0x00000000000000000000000000000000000000000000000000000000000a6fe0",
"gasLimit": 30000000
}
},
"Addresses": {
"AddressManager": "0x42721d8512d62aA26B2Cfa1AE18bEEd5a9Ab1337",
"AnchorStateRegistryProxy": "0x41ea3c370896632121Cdde1b94a4eCcf23DA4532",
"BatchSubmitter": "0x6fF556Fa7CaFEc55aE77C5C1d58A010be75f9991",
"Challenger": "0xa9ABe4af69BEA2f381ca600f625Eb3E6b7559266",
"DelayedWETHProxy": "0x7cc9cA91BA4f92F4C967E93a1AAd97beB18d3877",
"DisputeGameFactoryProxy": "0x93eaa7A1E7d7af7eD9D612F9957988C8631c33e8",
"Guardian": "0xa9ABe4af69BEA2f381ca600f625Eb3E6b7559266",
"L1CrossDomainMessengerProxy": "0xF9F730650e1AB4D23E2ac983934271ca7c5EF293",
"L1ERC721BridgeProxy": "0x19f02c55254d2644eF94f30C74A932D64e1D4F86",
"L1StandardBridgeProxy": "0x341ab1DAFdfB73b3D6D075ef10b29e3cACB2A653",
"L2OutputOracleProxy": "0x532dDCed3440Eab81c529Ac8b0d7e429B5C05c52",
"MIPS": "0xaCf1Ed7357E41f652407ae6cFE1024705c758C38",
"OptimismMintableERC20FactoryProxy": "0x46085E2e648488e49FBeaF6544b8e9Dc96df8BDd",
"OptimismPortalProxy": "0xfF8Ca2B4d8122E41441F7ccDCf61b8692198Bd1E",
"PreimageOracle": "0x8F3B1c59eD4439ebF564604aA4B93130DA4CD1D5",
"Proposer": "0xf8Ed03b83c15aa3d0b52095F3c9971225948B777",
"ProxyAdmin": "0xd60a706Bf6108F090d055787B9B353FA7EEE1355",
"ProxyAdminOwner": "0x4c4526C8C55c4e1a6F2aaf91e37f07c97786e0f5",
"SuperchainConfig": "0xe5b3692266FF4Ab8A96A9C7Da6EeEe532CCc7916",
"SystemConfigOwner": "0xa9ABe4af69BEA2f381ca600f625Eb3E6b7559266",
"SystemConfigProxy": "0xa1aC91ED91EbE40E00d61E233c8026318b4da5fb",
"UnsafeBlockSigner": "0xbB4f4B3a46361653BE9DB255D8ff2D004F0FB248"
}
},
{
"Name": "Base Sepolia Testnet",
"l2_chain_id": 84532,
Expand Down
58 changes: 58 additions & 0 deletions superchain/configs/sepolia/shape.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name = "Shape Sepolia Testnet"
chain_id = 11011
public_rpc = "https://sepolia.shape.network/"
sequencer_rpc = "https://shape-sepolia-sequencer.g.alchemy.com"
explorer = "https://shape-sepolia-explorer.alchemy.com/"
superchain_level = 0
batch_inbox_addr = "0xFF00000000000000000000000000000000011011"
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 = 1721732400 # Tue 23 Jul 2024 11:00:00 UTC
block_time = 2
seq_window_size = 3600
max_sequencer_drift = 1800
data_availability_type = "eth-da"

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

[genesis]
l2_time = 1718936160
[genesis.l1]
hash = "0x0e1156bae935f43af44f8d3e011275b8aeab57acd83cbd71d92903d3c9b29cf3"
number = 6151675
[genesis.l2]
hash = "0xcb3558db049390808cbde6b82a48d06ed98d3fe959e088ac20ae56174595cfce"
number = 0
[genesis.system_config]
batcherAddress = "0x6fF556Fa7CaFEc55aE77C5C1d58A010be75f9991"
overhead = "0x00000000000000000000000000000000000000000000000000000000000000bc"
scalar = "0x00000000000000000000000000000000000000000000000000000000000a6fe0"
gasLimit = 30000000

[addresses]
SystemConfigOwner = "0xa9ABe4af69BEA2f381ca600f625Eb3E6b7559266"
ProxyAdminOwner = "0x4c4526C8C55c4e1a6F2aaf91e37f07c97786e0f5"
Guardian = "0xa9ABe4af69BEA2f381ca600f625Eb3E6b7559266"
Challenger = "0xa9ABe4af69BEA2f381ca600f625Eb3E6b7559266"
Proposer = "0xf8Ed03b83c15aa3d0b52095F3c9971225948B777"
UnsafeBlockSigner = "0xbB4f4B3a46361653BE9DB255D8ff2D004F0FB248"
BatchSubmitter = "0x6fF556Fa7CaFEc55aE77C5C1d58A010be75f9991"
AddressManager = "0x42721d8512d62aA26B2Cfa1AE18bEEd5a9Ab1337"
L1CrossDomainMessengerProxy = "0xF9F730650e1AB4D23E2ac983934271ca7c5EF293"
L1ERC721BridgeProxy = "0x19f02c55254d2644eF94f30C74A932D64e1D4F86"
L1StandardBridgeProxy = "0x341ab1DAFdfB73b3D6D075ef10b29e3cACB2A653"
L2OutputOracleProxy = "0x532dDCed3440Eab81c529Ac8b0d7e429B5C05c52"
OptimismMintableERC20FactoryProxy = "0x46085E2e648488e49FBeaF6544b8e9Dc96df8BDd"
OptimismPortalProxy = "0xfF8Ca2B4d8122E41441F7ccDCf61b8692198Bd1E"
SystemConfigProxy = "0xa1aC91ED91EbE40E00d61E233c8026318b4da5fb"
ProxyAdmin = "0xd60a706Bf6108F090d055787B9B353FA7EEE1355"
SuperchainConfig = "0xe5b3692266FF4Ab8A96A9C7Da6EeEe532CCc7916"
AnchorStateRegistryProxy = "0x41ea3c370896632121Cdde1b94a4eCcf23DA4532"
DelayedWETHProxy = "0x7cc9cA91BA4f92F4C967E93a1AAd97beB18d3877"
DisputeGameFactoryProxy = "0x93eaa7A1E7d7af7eD9D612F9957988C8631c33e8"
MIPS = "0xaCf1Ed7357E41f652407ae6cFE1024705c758C38"
PreimageOracle = "0x8F3B1c59eD4439ebF564604aA4B93130DA4CD1D5"
24 changes: 24 additions & 0 deletions superchain/extra/addresses/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,30 @@
"SystemConfigProxy": "0x229047fed2591dbec1eF1118d64F7aF3dB9EB290",
"UnsafeBlockSigner": "0xAAAA45d9549EDA09E70937013520214382Ffc4A2"
},
"11011": {
"AddressManager": "0x42721d8512d62aA26B2Cfa1AE18bEEd5a9Ab1337",
"AnchorStateRegistryProxy": "0x41ea3c370896632121Cdde1b94a4eCcf23DA4532",
"BatchSubmitter": "0x6fF556Fa7CaFEc55aE77C5C1d58A010be75f9991",
"Challenger": "0xa9ABe4af69BEA2f381ca600f625Eb3E6b7559266",
"DelayedWETHProxy": "0x7cc9cA91BA4f92F4C967E93a1AAd97beB18d3877",
"DisputeGameFactoryProxy": "0x93eaa7A1E7d7af7eD9D612F9957988C8631c33e8",
"Guardian": "0xa9ABe4af69BEA2f381ca600f625Eb3E6b7559266",
"L1CrossDomainMessengerProxy": "0xF9F730650e1AB4D23E2ac983934271ca7c5EF293",
"L1ERC721BridgeProxy": "0x19f02c55254d2644eF94f30C74A932D64e1D4F86",
"L1StandardBridgeProxy": "0x341ab1DAFdfB73b3D6D075ef10b29e3cACB2A653",
"L2OutputOracleProxy": "0x532dDCed3440Eab81c529Ac8b0d7e429B5C05c52",
"MIPS": "0xaCf1Ed7357E41f652407ae6cFE1024705c758C38",
"OptimismMintableERC20FactoryProxy": "0x46085E2e648488e49FBeaF6544b8e9Dc96df8BDd",
"OptimismPortalProxy": "0xfF8Ca2B4d8122E41441F7ccDCf61b8692198Bd1E",
"PreimageOracle": "0x8F3B1c59eD4439ebF564604aA4B93130DA4CD1D5",
"Proposer": "0xf8Ed03b83c15aa3d0b52095F3c9971225948B777",
"ProxyAdmin": "0xd60a706Bf6108F090d055787B9B353FA7EEE1355",
"ProxyAdminOwner": "0x4c4526C8C55c4e1a6F2aaf91e37f07c97786e0f5",
"SuperchainConfig": "0xe5b3692266FF4Ab8A96A9C7Da6EeEe532CCc7916",
"SystemConfigOwner": "0xa9ABe4af69BEA2f381ca600f625Eb3E6b7559266",
"SystemConfigProxy": "0xa1aC91ED91EbE40E00d61E233c8026318b4da5fb",
"UnsafeBlockSigner": "0xbB4f4B3a46361653BE9DB255D8ff2D004F0FB248"
},
"11155420": {
"AddressManager": "0x9bFE9c5609311DF1c011c47642253B78a4f33F4B",
"AnchorStateRegistryProxy": "0x218CD9489199F321E1177b56385d333c5B598629",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added superchain/extra/genesis/sepolia/shape.json.gz
Binary file not shown.
71 changes: 71 additions & 0 deletions validation/genesis/validation-inputs/11011/deploy-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"finalSystemOwner": "0xa9abe4af69bea2f381ca600f625eb3e6b7559266",
"superchainConfigGuardian": "0xa9abe4af69bea2f381ca600f625eb3e6b7559266",
"proxyAdminOwner": "0xa9abe4af69bea2f381ca600f625eb3e6b7559266",
"l1StartingBlockTag": "0x0e1156bae935f43af44f8d3e011275b8aeab57acd83cbd71d92903d3c9b29cf3",
"l1ChainID": 11155111,
"l2ChainID": 11011,
"l2BlockTime": 2,
"l1BlockTime": 12,
"maxSequencerDrift": 1800,
"sequencerWindowSize": 3600,
"channelTimeout": 300,
"p2pSequencerAddress": "0xbB4f4B3a46361653BE9DB255D8ff2D004F0FB248",
"batchInboxAddress": "0xff00000000000000000000000000000000011011",
"batchSenderAddress": "0x6ff556fa7cafec55ae77c5c1d58a010be75f9991",
"l2OutputOracleSubmissionInterval": 1800,
"l2OutputOracleStartingTimestamp": 1718936160,
"l2OutputOracleStartingBlockNumber": 0,
"gasPriceOracleOverhead": 188,
"gasPriceOracleScalar": 684000,
"gasPriceOracleBaseFeeScalar": 1368,
"gasPriceOracleBlobBaseFeeScalar": 810949,
"l2GenesisCanyonTimeOffset": "0x0",
"l2GenesisDeltaTimeOffset": "0x0",
"l2GenesisEcotoneTimeOffset": "0x0",
"l2OutputOracleProposer": "0xf8ed03b83c15aa3d0b52095f3c9971225948b777",
"l2OutputOracleChallenger": "0xa9abe4af69bea2f381ca600f625eb3e6b7559266",
"l2GenesisBlockBaseFeePerGas": "0x3b9aca00",
"l2GenesisBlockGasLimit": "0x1c9c380",
"baseFeeVaultRecipient": "0xa9abe4af69bea2f381ca600f625eb3e6b7559266",
"l1FeeVaultRecipient": "0xa9abe4af69bea2f381ca600f625eb3e6b7559266",
"sequencerFeeVaultRecipient": "0xa9abe4af69bea2f381ca600f625eb3e6b7559266",
"baseFeeVaultMinimumWithdrawalAmount": "0x2386f26fc10000",
"l1FeeVaultMinimumWithdrawalAmount": "0x2386f26fc10000",
"sequencerFeeVaultMinimumWithdrawalAmount": "0x2386f26fc10000",
"baseFeeVaultWithdrawalNetwork": 0,
"l1FeeVaultWithdrawalNetwork": 0,
"sequencerFeeVaultWithdrawalNetwork": 0,
"enableGovernance": true,
"governanceTokenName": "Optimism",
"governanceTokenSymbol": "OP",
"governanceTokenOwner": "0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc",
"finalizationPeriodSeconds": 12,
"eip1559Denominator": 50,
"eip1559DenominatorCanyon": 250,
"eip1559Elasticity": 6,
"l2GenesisRegolithTimeOffset": "0x0",
"systemConfigStartBlock": 0,
"requiredProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"recommendedProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"faultGameAbsolutePrestate": "0x0000000000000000000000000000000000000000000000000000000000000000",
"faultGameMaxDepth": 1,
"faultGameGenesisBlock": 0,
"faultGameGenesisOutputRoot": "0xDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF",
"faultGameSplitDepth": 0,
"faultGameWithdrawalDelay": 0,
"faultGameClockExtension": 0,
"faultGameMaxClockDuration": 0,
"preimageOracleMinProposalSize": 0,
"preimageOracleChallengePeriod": 0,
"proofMaturityDelaySeconds": 604800,
"disputeGameFinalityDelaySeconds": 302400,
"respectedGameType": 0,
"useFaultProofs": false,
"fundDevAccounts": false,
"usePlasma": false,
"daChallengeWindow": 0,
"daResolveWindow": 0,
"daBondSize": 0,
"daResolverRefundPercentage": 0
}
4 changes: 4 additions & 0 deletions validation/genesis/validation-inputs/11011/meta.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
genesis_creation_commit = "4a3d3fb444f50bed6a6991785ea5634e0efa07a4"
node_version = "18.12.1"
monorepo_build_command = "pnpm"
genesis_creation_command = "opnode2"

0 comments on commit 30e87ab

Please sign in to comment.