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

Add Pivotal Sepolia #674

Closed
Closed
Show file tree
Hide file tree
Changes from 2 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
17 changes: 17 additions & 0 deletions chainList.json
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,23 @@
"chain": "sepolia"
}
},
{
"name": "Pivotal Sepolia",
"identifier": "sepolia/pivotal",
"chainId": 16481,
"rpc": [
"https://sepolia.pivotalprotocol.com/"
],
"explorers": [
"https://sepolia.pivotalscan.org/"
],
"superchainLevel": 0,
"dataAvailabilityType": "eth-da",
"parent": {
"type": "L2",
"chain": "sepolia"
}
},
{
"name": "RACE Testnet",
"identifier": "sepolia/race",
Expand Down
12 changes: 12 additions & 0 deletions chainList.toml
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,18 @@
type = "L2"
chain = "sepolia"

[[chains]]
name = "Pivotal Sepolia"
identifier = "sepolia/pivotal"
chain_id = 16481
rpc = ["https://sepolia.pivotalprotocol.com/"]
explorers = ["https://sepolia.pivotalscan.org/"]
superchain_level = 0
data_availability_type = "eth-da"
[chains.parent]
type = "L2"
chain = "sepolia"

[[chains]]
name = "RACE Testnet"
identifier = "sepolia/race"
Expand Down
67 changes: 67 additions & 0 deletions superchain/configs/configs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1765,6 +1765,73 @@
"UnsafeBlockSigner": "0xbB4f4B3a46361653BE9DB255D8ff2D004F0FB248"
}
},
{
"Name": "Pivotal Sepolia",
"l2_chain_id": 16481,
"PublicRPC": "https://sepolia.pivotalprotocol.com/",
"SequencerRPC": "https://sepolia.pivotalprotocol.com/",
"Explorer": "https://sepolia.pivotalscan.org/",
"SuperchainLevel": 0,
"StandardChainCandidate": true,
"SuperchainTime": null,
"batch_inbox_address": "0xFF000000000000000000000B0000000000016481",
"Superchain": "sepolia",
"Chain": "pivotal",
"canyon_time": 0,
"delta_time": 0,
"ecotone_time": 0,
"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": "0x416fb0d9f67e3b0e9701c6bfcb03a13732ddb397158fa8c2ed6e53a33c10995c",
"number": 6548454
},
"l2": {
"hash": "0xac7379723e9ff584c00e1cbeb20e76c36dbc98dc8bf2146d1df317b7b6636b91",
"number": 0
},
"l2_time": 1724315616,
"system_config": {
"batcherAddr": "0xc122b4d47644BBD7A98E41Dd242D20054A11f720",
"overhead": "0x0000000000000000000000000000000000000000000000000000000000000000",
"scalar": "0x00000000000000000000000000000000000000000000000000000000000f4240",
"gasLimit": 30000000
}
},
"Addresses": {
"AddressManager": "0x40601f9c44ec842E3fAA45CAd15d475B450d9277",
"AnchorStateRegistryProxy": "0x76b5568B3FE823c8D4Dbb1d64e055F9e8D847fAb",
"BatchSubmitter": "0xc122b4d47644BBD7A98E41Dd242D20054A11f720",
"Challenger": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",
"DelayedWETHProxy": "0xE446Ecee5BD4102f6366ef3551906ADc40f3Fc2A",
"DisputeGameFactoryProxy": "0xcB97C9224Af16C95b8D8959A2752eF1832EB8BA9",
"Guardian": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",
"L1CrossDomainMessengerProxy": "0x1F6393C113b9C221fbcFB17c163C88d4bDa172b0",
"L1ERC721BridgeProxy": "0x079ba88EDD1BE4FEFb5011B61714Df9eF092Ad8f",
"L1StandardBridgeProxy": "0x788De2B0Dd35808a05eAFf7aAf5578B21E0dd9A7",
"L2OutputOracleProxy": "0x8A5F3B0897d9B9bA09fd2974F3aBE038C15AaBa9",
"MIPS": "0x183A472b3e8724d4309895c8F1615Ad49b6cC469",
"OptimismMintableERC20FactoryProxy": "0x9aEe2cF874fe76bF91cD63722Db45212bE48C5e3",
"OptimismPortalProxy": "0x923B28e0037A799A1e60368e60c92dFfba982162",
"PreimageOracle": "0xb3AAb329abB207583659E2546e9f24F32eA668e1",
"Proposer": "0xC12309Aac4bd25DBF7Df460fdDd93f621ee5DA3B",
"ProxyAdmin": "0xd79bd9c4A711D053c7F2e62526e3c4442B6b526f",
"ProxyAdminOwner": "0x1D60661F40ACC64E38fcAdE8979D22a9B9278E6E",
"SuperchainConfig": "0x99579465a0886621e71cF5EbE46e56cf23BFC23b",
"SystemConfigOwner": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",
"SystemConfigProxy": "0x5C72CE6EA707037bC476dA8f4f969bC1f8abc78b",
"UnsafeBlockSigner": "0xC120Bd1178485def5f761F85a4a393200A0aeFD6"
}
},
{
"Name": "Base Sepolia Testnet",
"l2_chain_id": 84532,
Expand Down
58 changes: 58 additions & 0 deletions superchain/configs/sepolia/pivotal.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name = "Pivotal Sepolia"
chain_id = 16481
public_rpc = "https://sepolia.pivotalprotocol.com/"
sequencer_rpc = "https://sepolia.pivotalprotocol.com/"
explorer = "https://sepolia.pivotalscan.org/"
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 = "0xFF000000000000000000000B0000000000016481"
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
block_time = 2
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 = 1724315616
[genesis.l1]
hash = "0x416fb0d9f67e3b0e9701c6bfcb03a13732ddb397158fa8c2ed6e53a33c10995c"
number = 6548454
[genesis.l2]
hash = "0xac7379723e9ff584c00e1cbeb20e76c36dbc98dc8bf2146d1df317b7b6636b91"
number = 0
[genesis.system_config]
batcherAddress = "0xc122b4d47644BBD7A98E41Dd242D20054A11f720"
overhead = "0x0000000000000000000000000000000000000000000000000000000000000000"
scalar = "0x00000000000000000000000000000000000000000000000000000000000f4240"
gasLimit = 30000000

[addresses]
SystemConfigOwner = "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c"
ProxyAdminOwner = "0x1D60661F40ACC64E38fcAdE8979D22a9B9278E6E"
Guardian = "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c"
Challenger = "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c"
Proposer = "0xC12309Aac4bd25DBF7Df460fdDd93f621ee5DA3B"
UnsafeBlockSigner = "0xC120Bd1178485def5f761F85a4a393200A0aeFD6"
BatchSubmitter = "0xc122b4d47644BBD7A98E41Dd242D20054A11f720"
AddressManager = "0x40601f9c44ec842E3fAA45CAd15d475B450d9277"
L1CrossDomainMessengerProxy = "0x1F6393C113b9C221fbcFB17c163C88d4bDa172b0"
L1ERC721BridgeProxy = "0x079ba88EDD1BE4FEFb5011B61714Df9eF092Ad8f"
L1StandardBridgeProxy = "0x788De2B0Dd35808a05eAFf7aAf5578B21E0dd9A7"
L2OutputOracleProxy = "0x8A5F3B0897d9B9bA09fd2974F3aBE038C15AaBa9"
OptimismMintableERC20FactoryProxy = "0x9aEe2cF874fe76bF91cD63722Db45212bE48C5e3"
OptimismPortalProxy = "0x923B28e0037A799A1e60368e60c92dFfba982162"
SystemConfigProxy = "0x5C72CE6EA707037bC476dA8f4f969bC1f8abc78b"
ProxyAdmin = "0xd79bd9c4A711D053c7F2e62526e3c4442B6b526f"
SuperchainConfig = "0x99579465a0886621e71cF5EbE46e56cf23BFC23b"
AnchorStateRegistryProxy = "0x76b5568B3FE823c8D4Dbb1d64e055F9e8D847fAb"
DelayedWETHProxy = "0xE446Ecee5BD4102f6366ef3551906ADc40f3Fc2A"
DisputeGameFactoryProxy = "0xcB97C9224Af16C95b8D8959A2752eF1832EB8BA9"
MIPS = "0x183A472b3e8724d4309895c8F1615Ad49b6cC469"
PreimageOracle = "0xb3AAb329abB207583659E2546e9f24F32eA668e1"
24 changes: 24 additions & 0 deletions superchain/extra/addresses/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,30 @@
"SystemConfigProxy": "0xaeE94b9aB7752D3F7704bDE212c0C6A0b701571D",
"UnsafeBlockSigner": "0x565B71025Ab4de80AcA33c62E51439af56301493"
},
"16481": {
"AddressManager": "0x40601f9c44ec842E3fAA45CAd15d475B450d9277",
"AnchorStateRegistryProxy": "0x76b5568B3FE823c8D4Dbb1d64e055F9e8D847fAb",
"BatchSubmitter": "0xc122b4d47644BBD7A98E41Dd242D20054A11f720",
"Challenger": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",
"DelayedWETHProxy": "0xE446Ecee5BD4102f6366ef3551906ADc40f3Fc2A",
"DisputeGameFactoryProxy": "0xcB97C9224Af16C95b8D8959A2752eF1832EB8BA9",
"Guardian": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",
"L1CrossDomainMessengerProxy": "0x1F6393C113b9C221fbcFB17c163C88d4bDa172b0",
"L1ERC721BridgeProxy": "0x079ba88EDD1BE4FEFb5011B61714Df9eF092Ad8f",
"L1StandardBridgeProxy": "0x788De2B0Dd35808a05eAFf7aAf5578B21E0dd9A7",
"L2OutputOracleProxy": "0x8A5F3B0897d9B9bA09fd2974F3aBE038C15AaBa9",
"MIPS": "0x183A472b3e8724d4309895c8F1615Ad49b6cC469",
"OptimismMintableERC20FactoryProxy": "0x9aEe2cF874fe76bF91cD63722Db45212bE48C5e3",
"OptimismPortalProxy": "0x923B28e0037A799A1e60368e60c92dFfba982162",
"PreimageOracle": "0xb3AAb329abB207583659E2546e9f24F32eA668e1",
"Proposer": "0xC12309Aac4bd25DBF7Df460fdDd93f621ee5DA3B",
"ProxyAdmin": "0xd79bd9c4A711D053c7F2e62526e3c4442B6b526f",
"ProxyAdminOwner": "0x1D60661F40ACC64E38fcAdE8979D22a9B9278E6E",
"SuperchainConfig": "0x99579465a0886621e71cF5EbE46e56cf23BFC23b",
"SystemConfigOwner": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",
"SystemConfigProxy": "0x5C72CE6EA707037bC476dA8f4f969bC1f8abc78b",
"UnsafeBlockSigner": "0xC120Bd1178485def5f761F85a4a393200A0aeFD6"
},
"1740": {
"AddressManager": "0x394f844B9A0FC876935d1b0b791D9e94Ad905e8b",
"BatchSubmitter": "0xdb80Eca386AC72a55510e33CF9CF7533e75916eE",
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.
76 changes: 76 additions & 0 deletions validation/genesis/validation-inputs/16481/deploy-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"l1StartingBlockTag": "0x416fb0d9f67e3b0e9701c6bfcb03a13732ddb397158fa8c2ed6e53a33c10995c",

"l1ChainID": 11155111,
"l2ChainID": 16481,
"l2BlockTime": 2,
"l1BlockTime": 12,

"maxSequencerDrift": 600,
"sequencerWindowSize": 3600,
"channelTimeout": 300,

"p2pSequencerAddress": "0xC120Bd1178485def5f761F85a4a393200A0aeFD6",
"batchInboxAddress": "0xff000000000000000000000b0000000000016481",
"batchSenderAddress": "0xc122b4d47644BBD7A98E41Dd242D20054A11f720",

"l2OutputOracleSubmissionInterval": 120,
"l2OutputOracleStartingBlockNumber": 0,
"l2OutputOracleStartingTimestamp": 1724315616,

"l2OutputOracleProposer": "0xC12309Aac4bd25DBF7Df460fdDd93f621ee5DA3B",
"l2OutputOracleChallenger": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",

"finalizationPeriodSeconds": 12,

"proxyAdminOwner": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",
"baseFeeVaultRecipient": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",
"l1FeeVaultRecipient": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",
"sequencerFeeVaultRecipient": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",
"finalSystemOwner": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",
"superchainConfigGuardian": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",

"baseFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"l1FeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"sequencerFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"baseFeeVaultWithdrawalNetwork": 0,
"l1FeeVaultWithdrawalNetwork": 0,
"sequencerFeeVaultWithdrawalNetwork": 0,

"gasPriceOracleOverhead": 0,
"gasPriceOracleScalar": 1000000,

"enableGovernance": true,
"governanceTokenSymbol": "OP",
"governanceTokenName": "Optimism",
"governanceTokenOwner": "0xC121E7f785AC0E5B1da6C7316326412D1c4Eb28c",

"l2GenesisBlockGasLimit": "0x1c9c380",
"l2GenesisBlockBaseFeePerGas": "0x3b9aca00",
"l2GenesisRegolithTimeOffset": "0x0",

"eip1559Denominator": 50,
"eip1559DenominatorCanyon": 250,
"eip1559Elasticity": 6,

"l2GenesisEcotoneTimeOffset": "0x0",
"l2GenesisDeltaTimeOffset": "0x0",
"l2GenesisCanyonTimeOffset": "0x0",

"systemConfigStartBlock": 0,

"requiredProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"recommendedProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",

"faultGameAbsolutePrestate": "0x03c7ae758795765c6664a5d39bf63841c71ff191e9189522bad8ebff5d4eca98",
"faultGameMaxDepth": 44,
"faultGameClockExtension": 0,
"faultGameMaxClockDuration": 600,
"faultGameGenesisBlock": 0,
"faultGameGenesisOutputRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
"faultGameSplitDepth": 14,
"faultGameWithdrawalDelay": 604800,

"preimageOracleMinProposalSize": 1800000,
"preimageOracleChallengePeriod": 86400
}
4 changes: 4 additions & 0 deletions validation/genesis/validation-inputs/16481/meta.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
genesis_creation_commit = "f8143c8cbc4cc0c83922c53f17a1e47280673485"
node_version = "18.12.1"
monorepo_build_command = "pnpm"
genesis_creation_command = "opnode2"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was able to get this to pass locally by changing this value opnode2 --> forge1. Please push that change and we should see the ci test suite pass as a result

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey thanks for pointing out the issue. Seems to pass validation on local:

just validate 16481:
Screenshot 2024-12-04 at 1 28 57 PM

just validate-genesis-allocs 16481:
Screenshot 2024-12-04 at 1 29 09 PM

Loading