Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
cdb06baa
Commit
cdb06baa
authored
Aug 17, 2023
by
Mark Tyneway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contracts-bedrock: fixup deploy configs
parent
0ee1c09c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
15 deletions
+10
-15
config.go
op-chain-ops/genesis/config.go
+6
-11
hardhat.json
packages/contracts-bedrock/deploy-config/hardhat.json
+2
-2
internal-devnet.json
...ages/contracts-bedrock/deploy-config/internal-devnet.json
+1
-1
mainnet.json
packages/contracts-bedrock/deploy-config/mainnet.json
+1
-1
No files found.
op-chain-ops/genesis/config.go
View file @
cdb06baa
...
@@ -174,18 +174,10 @@ type DeployConfig struct {
...
@@ -174,18 +174,10 @@ type DeployConfig struct {
EIP1559Elasticity
uint64
`json:"eip1559Elasticity"`
EIP1559Elasticity
uint64
`json:"eip1559Elasticity"`
// EIP1559Denominator is the denominator of EIP1559 base fee market.
// EIP1559Denominator is the denominator of EIP1559 base fee market.
EIP1559Denominator
uint64
`json:"eip1559Denominator"`
EIP1559Denominator
uint64
`json:"eip1559Denominator"`
// FaultGameAbsolutePrestate
// SystemConfigStartBlock represents the block at which the op-node should start syncing
FaultGameAbsolutePrestate
common
.
Hash
`json:"faultGameAbsolutePrestate"`
// from. It is an override to set this value on legacy networks where it is not set by
// FaultGameMaxDepth
// default. It can be removed once all networks have this value set in their storage.
FaultGameMaxDepth
uint64
`json:"faultGameMaxDepth"`
// FaultGameMaxDuration
FaultGameMaxDuration
uint64
`json:"faultGameMaxDuration"`
// SystemConfigStartBlock
SystemConfigStartBlock
uint64
`json:"systemConfigStartBlock"`
SystemConfigStartBlock
uint64
`json:"systemConfigStartBlock"`
// FundDevAccounts configures whether or not to fund the dev accounts. Should only be used
// during devnet deployments.
FundDevAccounts
bool
`json:"fundDevAccounts"`
// FaultGameAbsolutePrestate is the absolute prestate of Cannon. This is computed
// FaultGameAbsolutePrestate is the absolute prestate of Cannon. This is computed
// by generating a proof from the 0th -> 1st instruction and grabbing the prestate from
// by generating a proof from the 0th -> 1st instruction and grabbing the prestate from
// the output JSON. All honest challengers should agree on the setup state of the program.
// the output JSON. All honest challengers should agree on the setup state of the program.
...
@@ -203,6 +195,9 @@ type DeployConfig struct {
...
@@ -203,6 +195,9 @@ type DeployConfig struct {
// game can run for before it is ready to be resolved. Each side receives half of this value
// game can run for before it is ready to be resolved. Each side receives half of this value
// on their chess clock at the inception of the dispute.
// on their chess clock at the inception of the dispute.
FaultGameMaxDuration
uint64
`json:"faultGameMaxDuration"`
FaultGameMaxDuration
uint64
`json:"faultGameMaxDuration"`
// FundDevAccounts configures whether or not to fund the dev accounts. Should only be used
// during devnet deployments.
FundDevAccounts
bool
`json:"fundDevAccounts"`
}
}
// Copy will deeply copy the DeployConfig. This does a JSON roundtrip to copy
// Copy will deeply copy the DeployConfig. This does a JSON roundtrip to copy
...
...
packages/contracts-bedrock/deploy-config/hardhat.json
View file @
cdb06baa
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
"l1StartingBlockTag"
:
"earliest"
,
"l1StartingBlockTag"
:
"earliest"
,
"l1ChainID"
:
900
,
"l1ChainID"
:
900
,
"l2ChainID"
:
901
,
"l2ChainID"
:
901
,
"l2BlockTime"
:
2
,
"l2BlockTime"
:
1
,
"l1BlockTime"
:
2
,
"maxSequencerDrift"
:
300
,
"maxSequencerDrift"
:
300
,
"sequencerWindowSize"
:
15
,
"sequencerWindowSize"
:
15
,
"channelTimeout"
:
40
,
"channelTimeout"
:
40
,
...
@@ -35,7 +36,6 @@
...
@@ -35,7 +36,6 @@
"governanceTokenSymbol"
:
"OP"
,
"governanceTokenSymbol"
:
"OP"
,
"governanceTokenOwner"
:
"0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc"
,
"governanceTokenOwner"
:
"0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc"
,
"finalizationPeriodSeconds"
:
2
,
"finalizationPeriodSeconds"
:
2
,
"numDeployConfirmations"
:
1
,
"eip1559Denominator"
:
50
,
"eip1559Denominator"
:
50
,
"eip1559Elasticity"
:
10
,
"eip1559Elasticity"
:
10
,
"l2GenesisRegolithTimeOffset"
:
"0x0"
,
"l2GenesisRegolithTimeOffset"
:
"0x0"
,
...
...
packages/contracts-bedrock/deploy-config/internal-devnet.json
View file @
cdb06baa
{
{
"finalSystemOwner"
:
"0x858F0751ef8B4067f0d2668C076BDB50a8549fbF"
,
"finalSystemOwner"
:
"0x858F0751ef8B4067f0d2668C076BDB50a8549fbF"
,
"portalGuardian"
:
"0x858F0751ef8B4067f0d2668C076BDB50a8549fbF"
,
"portalGuardian"
:
"0x858F0751ef8B4067f0d2668C076BDB50a8549fbF"
,
"controller"
:
"0x2d30335B0b807bBa1682C487BaAFD2Ad6da5D675"
,
"l1StartingBlockTag"
:
"0x19c7e6b18fe156e45f4cfef707294fd8f079fa9c30a7b7cd6ec1ce3682ec6a2e"
,
"l1StartingBlockTag"
:
"0x19c7e6b18fe156e45f4cfef707294fd8f079fa9c30a7b7cd6ec1ce3682ec6a2e"
,
"l1ChainID"
:
5
,
"l1ChainID"
:
5
,
"l2ChainID"
:
998
,
"l2ChainID"
:
998
,
"l2BlockTime"
:
2
,
"l2BlockTime"
:
2
,
"l1BlockTime"
:
12
,
"maxSequencerDrift"
:
1200
,
"maxSequencerDrift"
:
1200
,
"sequencerWindowSize"
:
3600
,
"sequencerWindowSize"
:
3600
,
...
...
packages/contracts-bedrock/deploy-config/mainnet.json
View file @
cdb06baa
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
"l1ChainID"
:
1
,
"l1ChainID"
:
1
,
"l2ChainID"
:
10
,
"l2ChainID"
:
10
,
"l2BlockTime"
:
2
,
"l2BlockTime"
:
2
,
"l1BlockTime"
:
12
,
"maxSequencerDrift"
:
600
,
"maxSequencerDrift"
:
600
,
"sequencerWindowSize"
:
3600
,
"sequencerWindowSize"
:
3600
,
"channelTimeout"
:
300
,
"channelTimeout"
:
300
,
...
@@ -32,7 +33,6 @@
...
@@ -32,7 +33,6 @@
"governanceTokenSymbol"
:
"OP"
,
"governanceTokenSymbol"
:
"OP"
,
"governanceTokenOwner"
:
"0x5C4e7Ba1E219E47948e6e3F55019A647bA501005"
,
"governanceTokenOwner"
:
"0x5C4e7Ba1E219E47948e6e3F55019A647bA501005"
,
"l2GenesisBlockGasLimit"
:
"0x1c9c380"
,
"l2GenesisBlockGasLimit"
:
"0x1c9c380"
,
"l2GenesisBlockCoinbase"
:
"0x4200000000000000000000000000000000000011"
,
"l2GenesisBlockBaseFeePerGas"
:
"0x3b9aca00"
,
"l2GenesisBlockBaseFeePerGas"
:
"0x3b9aca00"
,
"gasPriceOracleOverhead"
:
188
,
"gasPriceOracleOverhead"
:
188
,
"gasPriceOracleScalar"
:
684000
,
"gasPriceOracleScalar"
:
684000
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment