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
ddce8b8d
Unverified
Commit
ddce8b8d
authored
May 29, 2023
by
OptimismBot
Committed by
GitHub
May 29, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5817 from ethereum-optimism/op-node/mainnet-config
op-node: minimal chain config
parents
9321506a
94627823
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
16 deletions
+14
-16
chains.go
op-node/chaincfg/chains.go
+14
-16
No files found.
op-node/chaincfg/chains.go
View file @
ddce8b8d
...
...
@@ -27,24 +27,22 @@ var Mainnet = rollup.Config{
// moose: Update this during migration
L2Time
:
0
,
SystemConfig
:
eth
.
SystemConfig
{
BatcherAddr
:
common
.
HexToAddress
(
"0x
70997970C51812dc3A010C7d01b50e0d17dc79C8
"
),
Overhead
:
eth
.
Bytes32
(
common
.
HexToHash
(
"0x0000000000000000000000000000000000000000000000000000000000000
834
"
)),
Scalar
:
eth
.
Bytes32
(
common
.
HexToHash
(
"0x00000000000000000000000000000000000000000000000000000000000
f424
0"
)),
GasLimit
:
25
_000_000
,
BatcherAddr
:
common
.
HexToAddress
(
"0x
6887246668a3b87f54deb3b94ba47a6f63f32985
"
),
Overhead
:
eth
.
Bytes32
(
common
.
HexToHash
(
"0x0000000000000000000000000000000000000000000000000000000000000
0bc
"
)),
Scalar
:
eth
.
Bytes32
(
common
.
HexToHash
(
"0x00000000000000000000000000000000000000000000000000000000000
a6fe
0"
)),
GasLimit
:
30
_000_000
,
},
},
BlockTime
:
2
,
MaxSequencerDrift
:
600
,
SeqWindowSize
:
3600
,
ChannelTimeout
:
300
,
L1ChainID
:
big
.
NewInt
(
1
),
L2ChainID
:
big
.
NewInt
(
10
),
BatchInboxAddress
:
common
.
HexToAddress
(
"0xff00000000000000000000000000000000000010"
),
// moose: Update this during migration
DepositContractAddress
:
common
.
HexToAddress
(
"0x"
),
// moose: Update this during migration
L1SystemConfigAddress
:
common
.
HexToAddress
(
"0x"
),
RegolithTime
:
u64Ptr
(
0
),
BlockTime
:
2
,
MaxSequencerDrift
:
600
,
SeqWindowSize
:
3600
,
ChannelTimeout
:
300
,
L1ChainID
:
big
.
NewInt
(
1
),
L2ChainID
:
big
.
NewInt
(
10
),
BatchInboxAddress
:
common
.
HexToAddress
(
"0xff00000000000000000000000000000000000010"
),
DepositContractAddress
:
common
.
HexToAddress
(
"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"
),
L1SystemConfigAddress
:
common
.
HexToAddress
(
"0x229047fed2591dbec1eF1118d64F7aF3dB9EB290"
),
RegolithTime
:
u64Ptr
(
0
),
}
var
Goerli
=
rollup
.
Config
{
...
...
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