Skip to content

Commit

Permalink
Add mainnet deploy config
Browse files Browse the repository at this point in the history
update timestamps + start hash

use string for regolith

add tag

update parameters

contracts-bedrock: commit updated deploy config
  • Loading branch information
mslipper authored and maurelian committed Mar 31, 2023
1 parent 7354398 commit f954a58
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
44 changes: 44 additions & 0 deletions packages/contracts-bedrock/deploy-config/mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"finalSystemOwner": "0x90F79bf6EB2c4f870365E785982E1f101E93b906",
"controller": "0x90F79bf6EB2c4f870365E785982E1f101E93b906",

"l1StartingBlockTag": "0x126e52a0cc0ae18948f567ee9443f4a8f0db67c437706e35baee424eb314a0d0",
"l1ChainID": 1,
"l2ChainID": 10,
"l2BlockTime": 2,

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

"p2pSequencerAddress": "0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65",
"batchInboxAddress": "0xff00000000000000000000000000000000000010",
"batchSenderAddress": "0x70997970C51812dc3A010C7d01b50e0d17dc79C8",
"l2OutputOracleSubmissionInterval": 20,
"l2OutputOracleStartingTimestamp": 1679069195,
"l2OutputOracleStartingBlockNumber": 79149704,
"l2OutputOracleProposer": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
"l2OutputOracleChallenger": "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC",
"finalizationPeriodSeconds": 2,

"proxyAdminOwner": "0x90F79bf6EB2c4f870365E785982E1f101E93b906",
"baseFeeVaultRecipient": "0x90F79bf6EB2c4f870365E785982E1f101E93b906",
"l1FeeVaultRecipient": "0x90F79bf6EB2c4f870365E785982E1f101E93b906",
"sequencerFeeVaultRecipient": "0x90F79bf6EB2c4f870365E785982E1f101E93b906",

"governanceTokenName": "Optimism",
"governanceTokenSymbol": "OP",
"governanceTokenOwner": "0x90F79bf6EB2c4f870365E785982E1f101E93b906",

"l2GenesisBlockGasLimit": "0x17D7840",
"l2GenesisBlockCoinbase": "0x4200000000000000000000000000000000000011",
"l2GenesisBlockBaseFeePerGas": "0x3b9aca00",


"gasPriceOracleOverhead": 2100,
"gasPriceOracleScalar": 1000000,
"eip1559Denominator": 50,
"eip1559Elasticity": 10,

"l2GenesisRegolithTimeOffset": "0x0"
}
3 changes: 2 additions & 1 deletion packages/contracts-bedrock/hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ const config: HardhatUserConfig = {
live: false,
},
mainnet: {
url: process.env.L1_RPC || 'http://localhost:8545',
url: process.env.L1_RPC || 'https://mainnet-l1-rehearsal.optimism.io',
accounts: [process.env.PRIVATE_KEY_DEPLOYER || ethers.constants.HashZero]
},
devnetL1: {
live: false,
Expand Down

0 comments on commit f954a58

Please sign in to comment.