Skip to content

Commit

Permalink
Add validation metadata for Lisk mainnet + testnet (#531)
Browse files Browse the repository at this point in the history
* temp:  gk/genadd lisk mainnet (revertme)

* add lisk metadata for genesis validation

* temp: add lisk sepolia (revertme)

* add genesis validation metadata for lisk sepolia

* Update .circleci/config.yml
  • Loading branch information
geoknee authored Aug 29, 2024
1 parent b5b71e9 commit f36388b
Show file tree
Hide file tree
Showing 19 changed files with 216 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ workflows:
- golang-validate-genesis:
matrix:
parameters:
chainid: ["7777777", "4801", "1750", "480","34443", "6806", "84532", "8453"]
chainid: ["7777777", "4801", "1750", "480","34443", "6806", "84532", "8453", "1135", "4202"]
- golang-validate-modified
- check-codegen
- cargo-tests
Expand Down
50 changes: 50 additions & 0 deletions superchain/configs/mainnet/lisk.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name = "Lisk"
chain_id = 1135
public_rpc = "https://rpc.api.lisk.com"
sequencer_rpc = "https://rpc.api.lisk.com"
explorer = "https://blockscout.lisk.com"
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 = "0xFf00000000000000000000000000000000001135"
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 = 1720627201 # Wed 10 Jul 2024 16:00:01 UTC
block_time = 2
seq_window_size = 3600
max_sequencer_drift = 600
data_availability_type = "eth-da"

[genesis]
l2_time = 1714728791
[genesis.l1]
hash = "0xd580bdbd001908860f225c16ddaa08ada64471a68435694760c111253d97ffce"
number = 19788720
[genesis.l2]
hash = "0x5a693d1d8ee27b8e62868d0349af430a2d2e173c8c8988e7b0c9ef91893cbf00"
number = 0
[genesis.system_config]
batcherAddress = "0xa6Ea2f3299b63c53143c993d2d5E60A69Cd6Fe24"
overhead = "0x00000000000000000000000000000000000000000000000000000000000000bc"
scalar = "0x00000000000000000000000000000000000000000000000000000000000f4240"
gasLimit = 30000000

[addresses]
SystemConfigOwner = "0xBeA2Bc852a160B8547273660E22F4F08C2fa9Bbb"
ProxyAdminOwner = "0xECd4150ABbb1EBff13f74e42Fb43C3d78B4E0b45"
Guardian = "0xBeA2Bc852a160B8547273660E22F4F08C2fa9Bbb"
Challenger = "0xBeA2Bc852a160B8547273660E22F4F08C2fa9Bbb"
Proposer = "0x0AbD6da1cE10D1cD6c7C9C14b905786D20f3EB23"
UnsafeBlockSigner = "0xb9DE90a90c5E441C483e754FE7341100D5fbaEcA"
BatchSubmitter = "0xa6Ea2f3299b63c53143c993d2d5E60A69Cd6Fe24"
AddressManager = "0x2dF7057d3F25212E51aFEA8dA628668229Ea423f"
L1CrossDomainMessengerProxy = "0x31B72D76FB666844C41EdF08dF0254875Dbb7edB"
L1ERC721BridgeProxy = "0x3A44A3b263FB631cdbf25f339e2D29497511A81f"
L1StandardBridgeProxy = "0x2658723Bf70c7667De6B25F99fcce13A16D25d08"
L2OutputOracleProxy = "0x113cB99283AF242Da0A0C54347667edF531Aa7d6"
OptimismMintableERC20FactoryProxy = "0xc1dA06CC5DD5cE23bABa924463de7F762039252d"
OptimismPortalProxy = "0x26dB93F8b8b4f7016240af62F7730979d353f9A7"
SystemConfigProxy = "0x05f23282FFDCA8286E4738C1aF79079f3d843750"
ProxyAdmin = "0xeC432c4F1d0E12737f3a42a459B84848Af979b2d"
SuperchainConfig = "0x26C7bFB430d68Bf74d2d52497836d4336b555dE7"
DisputeGameFactoryProxy = "0x0479e6757eb4743843b309DDDF78E6bA242F38BE"
52 changes: 52 additions & 0 deletions superchain/configs/sepolia/lisk.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@

name = "Lisk Sepolia Testnet"
chain_id = 4202
public_rpc = "https://rpc.sepolia-api.lisk.com"
sequencer_rpc = "https://rpc.sepolia-api.lisk.com"
explorer = "https://sepolia-blockscout.lisk.com"
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 = "0xff00000000000000000000000000000000004202"
canyon_time = 1705312994 # Mon 15 Jan 2024 10:03:14 UTC
delta_time = 1705312994 # Mon 15 Jan 2024 10:03:14 UTC
ecotone_time = 1708534800 # Wed 21 Feb 2024 17:00:00 UTC
fjord_time = 1716998400 # Wed 29 May 2024 16:00:00 UTC
granite_time = 1723478400 # Mon 12 Aug 2024 16:00:00 UTC
block_time = 2
seq_window_size = 3600
max_sequencer_drift = 600
data_availability_type = "eth-da"

[genesis]
l2_time = 1705312992
[genesis.l1]
hash = "0x7d9d6dcec39efe182119f41b1bd2aa7b35b82e43927522afea86d210a4eace4b"
number = 5089851
[genesis.l2]
hash = "0xead3e6ddd08ae7e27fd952b74ceb468ba889047ac96b351dd13bd55e5faf3372"
number = 0
[genesis.system_config]
batcherAddress = "0x246E119a5BcC2875161b23E4e602e25cEcE96E37"
overhead = "0x0000000000000000000000000000000000000000000000000000000000000834"
scalar = "0x00000000000000000000000000000000000000000000000000000000000f4240"
gasLimit = 30000000

[addresses]
SystemConfigOwner = "0x19De6D30Bf43654B7244B8adA135E1AA639bF091"
ProxyAdminOwner = "0x465874903125F26316c730aE84862606a3326cA5"
Guardian = "0x7a50f00e8D05b95F98fE38d8BeE366a7324dCf7E"
Challenger = "0x19De6D30Bf43654B7244B8adA135E1AA639bF091"
Proposer = "0xBbD3a1D90B0Ef416581ACdC6a72046b38D3af9AD"
UnsafeBlockSigner = "0x99804980804e9EbE78db89C049fFe36ceaaEF654"
BatchSubmitter = "0x246E119a5BcC2875161b23E4e602e25cEcE96E37"
AddressManager = "0x27Bb4A7cd8FB20cb816BF4Aac668BF841bb3D5d3"
L1CrossDomainMessengerProxy = "0x857824E6234f7733ecA4e9A76804fd1afa1A3A2C"
L1ERC721BridgeProxy = "0xb4E988CF1aD8C361D56118437502A8f11C7FaA01"
L1StandardBridgeProxy = "0x1Fb30e446eA791cd1f011675E5F3f5311b70faF5"
L2OutputOracleProxy = "0xA0E35F56C318DE1bD5D9ca6A94Fe7e37C5663348"
OptimismMintableERC20FactoryProxy = "0x269d632C1E518a922C30C749cFD3f82Eb5C779B0"
OptimismPortalProxy = "0xe3d90F21490686Ec7eF37BE788E02dfC12787264"
SystemConfigProxy = "0xF54791059df4a12BA461b881B4080Ae81a1d0AC0"
ProxyAdmin = "0x5Db9F05921d8d5a6a157F6f49c411cc0e46c6330"
SuperchainConfig = "0xC2Be75506d5724086DEB7245bd260Cc9753911Be"
DisputeGameFactoryProxy = "0x9AA3890a87E6BD2CB85Dad1A5D8B0A9D669e658a"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added superchain/extra/genesis/mainnet/lisk.json.gz
Binary file not shown.
Binary file added superchain/extra/genesis/sepolia/lisk.json.gz
Binary file not shown.
59 changes: 59 additions & 0 deletions validation/genesis/validation-inputs/1135/deploy-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"l1ChainID": 1,
"l2ChainID": 1135,
"l2BlockTime": 2,
"maxSequencerDrift": 600,
"sequencerWindowSize": 3600,
"channelTimeout": 300,
"p2pSequencerAddress": "0xb9DE90a90c5E441C483e754FE7341100D5fbaEcA",
"batchInboxAddress": "0xff00000000000000000000000000000000001135",
"batchSenderAddress": "0xa6Ea2f3299b63c53143c993d2d5E60A69Cd6Fe24",
"l1StartingBlockTag": "0xd580bdbd001908860f225c16ddaa08ada64471a68435694760c111253d97ffce",
"l2OutputOracleSubmissionInterval": 10800,
"l2OutputOracleStartingTimestamp": 1714728791,
"l2OutputOracleStartingBlockNumber": 0,
"l2OutputOracleProposer": "0x0AbD6da1cE10D1cD6c7C9C14b905786D20f3EB23",
"l2OutputOracleChallenger": "0xBeA2Bc852a160B8547273660E22F4F08C2fa9Bbb",
"l2GenesisBlockGasLimit": "0x1c9c380",
"l1BlockTime": 12,
"baseFeeVaultRecipient": "0xBeA2Bc852a160B8547273660E22F4F08C2fa9Bbb",
"l1FeeVaultRecipient": "0xBeA2Bc852a160B8547273660E22F4F08C2fa9Bbb",
"sequencerFeeVaultRecipient": "0xBeA2Bc852a160B8547273660E22F4F08C2fa9Bbb",
"baseFeeVaultMinimumWithdrawalAmount": "0x1bc16d674ec80000",
"l1FeeVaultMinimumWithdrawalAmount": "0x1bc16d674ec80000",
"sequencerFeeVaultMinimumWithdrawalAmount": "0x1bc16d674ec80000",
"baseFeeVaultWithdrawalNetwork": 1,
"l1FeeVaultWithdrawalNetwork": 1,
"sequencerFeeVaultWithdrawalNetwork": 1,
"proxyAdminOwner": "0xBeA2Bc852a160B8547273660E22F4F08C2fa9Bbb",
"finalSystemOwner": "0xBeA2Bc852a160B8547273660E22F4F08C2fa9Bbb",
"superchainConfigGuardian": "0xBeA2Bc852a160B8547273660E22F4F08C2fa9Bbb",
"finalizationPeriodSeconds": 604800,
"fundDevAccounts": false,
"l2GenesisBlockBaseFeePerGas": "0x3b9aca00",
"gasPriceOracleOverhead": 188,
"gasPriceOracleScalar": 1000000,
"enableGovernance": false,
"governanceTokenSymbol": "OP",
"governanceTokenName": "Optimism",
"governanceTokenOwner": "0xdA6e5640aFB2ED212Ba3a6fd83076e2ad3daD185",
"eip1559Denominator": 1000,
"eip1559DenominatorCanyon": 1000,
"eip1559Elasticity": 20,
"l2GenesisRegolithTimeOffset": "0x0",
"l2GenesisDeltaTimeOffset": "0x0",
"l2GenesisCanyonTimeOffset": "0x0",
"l2GenesisEcotoneTimeOffset": "0x0",
"systemConfigStartBlock": 0,
"requiredProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"recommendedProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"faultGameAbsolutePrestate": "0x03cb5216c8cf2902c66127db119ba03a1296205736addc39cfeafc7c14d0bd14",
"faultGameMaxDepth": 73,
"faultGameMaxDuration": 604800,
"faultGameGenesisBlock": 0,
"faultGameGenesisOutputRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
"faultGameSplitDepth": 32,
"preimageOracleMinProposalSize": 1800000,
"preimageOracleChallengePeriod": 86400,
"l1CancunTimeOffset": "0x0"
}
4 changes: 4 additions & 0 deletions validation/genesis/validation-inputs/1135/meta.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
genesis_creation_commit = "e6ef3a900c42c8722e72c2e2314027f85d12ced5"
monorepo_build_command = "pnpm"
node_version = "18.12.1"
genesis_creation_command = "opnode1"
46 changes: 46 additions & 0 deletions validation/genesis/validation-inputs/4202/deploy-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"finalSystemOwner": "0x19De6D30Bf43654B7244B8adA135E1AA639bF091",
"superchainConfigGuardian": "0x19De6D30Bf43654B7244B8adA135E1AA639bF091",
"l1StartingBlockTag": "0x7d9d6dcec39efe182119f41b1bd2aa7b35b82e43927522afea86d210a4eace4b",
"l1ChainID": 11155111,
"l2ChainID": 4202,
"l2BlockTime": 2,
"l1BlockTime": 12,
"maxSequencerDrift": 600,
"sequencerWindowSize": 3600,
"channelTimeout": 300,
"p2pSequencerAddress": "0x99804980804e9EbE78db89C049fFe36ceaaEF654",
"batchInboxAddress": "0xff00000000000000000000000000000000004202",
"batchSenderAddress": "0x246E119a5BcC2875161b23E4e602e25cEcE96E37",
"l2OutputOracleSubmissionInterval": 120,
"l2OutputOracleStartingBlockNumber": 0,
"l2OutputOracleStartingTimestamp": 1705312992,
"l2OutputOracleProposer": "0xBbD3a1D90B0Ef416581ACdC6a72046b38D3af9AD",
"l2OutputOracleChallenger": "0x19De6D30Bf43654B7244B8adA135E1AA639bF091",
"finalizationPeriodSeconds": 12,
"proxyAdminOwner": "0x19De6D30Bf43654B7244B8adA135E1AA639bF091",
"baseFeeVaultRecipient": "0x19De6D30Bf43654B7244B8adA135E1AA639bF091",
"l1FeeVaultRecipient": "0x19De6D30Bf43654B7244B8adA135E1AA639bF091",
"sequencerFeeVaultRecipient": "0x19De6D30Bf43654B7244B8adA135E1AA639bF091",
"baseFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"l1FeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"sequencerFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
"baseFeeVaultWithdrawalNetwork": 0,
"l1FeeVaultWithdrawalNetwork": 0,
"sequencerFeeVaultWithdrawalNetwork": 0,
"gasPriceOracleOverhead": 2100,
"gasPriceOracleScalar": 1000000,
"enableGovernance": true,
"governanceTokenSymbol": "OP",
"governanceTokenName": "Optimism",
"governanceTokenOwner": "0x19De6D30Bf43654B7244B8adA135E1AA639bF091",
"l2GenesisBlockGasLimit": "0x1c9c380",
"l2GenesisBlockBaseFeePerGas": "0x3b9aca00",
"l2GenesisRegolithTimeOffset": "0x0",
"eip1559Denominator": 50,
"eip1559DenominatorCanyon": 250,
"eip1559Elasticity": 10,
"systemConfigStartBlock": 0,
"requiredProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000",
"recommendedProtocolVersion": "0x0000000000000000000000000000000000000000000000000000000000000000"
}
4 changes: 4 additions & 0 deletions validation/genesis/validation-inputs/4202/meta.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
genesis_creation_commit = "28c359620f2b28238163eced79b39335d3a40661"
monorepo_build_command = "pnpm"
node_version = "18.12.1"
genesis_creation_command = "opnode1"

0 comments on commit f36388b

Please sign in to comment.