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
74486246
Unverified
Commit
74486246
authored
Jan 12, 2023
by
Matthew Slipper
Committed by
GitHub
Jan 12, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4685 from ethereum-optimism/feat/goerli-network-config-stub
op-node: Partially populate Goerli network config
parents
5ed518a0
3177f885
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
chains.go
op-node/chaincfg/chains.go
+16
-16
No files found.
op-node/chaincfg/chains.go
View file @
74486246
...
...
@@ -42,35 +42,35 @@ var Beta1 = rollup.Config{
var
Goerli
=
rollup
.
Config
{
Genesis
:
rollup
.
Genesis
{
L1
:
eth
.
BlockID
{
Hash
:
common
.
HexToHash
(
""
),
Number
:
0
,
Hash
:
common
.
HexToHash
(
"
0x6ffc1bf3754c01f6bb9fe057c1578b87a8571ce2e9be5ca14bace6eccfd336c7
"
),
Number
:
8300214
,
},
L2
:
eth
.
BlockID
{
Hash
:
common
.
HexToHash
(
""
),
Number
:
0
,
Hash
:
common
.
HexToHash
(
"
0x0f783549ea4313b784eadd9b8e8a69913b368b7366363ea814d7707ac505175f
"
),
Number
:
4061224
,
},
L2Time
:
0
,
L2Time
:
1673550516
,
SystemConfig
:
eth
.
SystemConfig
{
BatcherAddr
:
common
.
HexToAddress
(
""
),
Overhead
:
eth
.
Bytes32
(
common
.
HexToHash
(
""
)),
Scalar
:
eth
.
Bytes32
(
common
.
HexToHash
(
""
)),
GasLimit
:
0
,
BatcherAddr
:
common
.
HexToAddress
(
"
0x7431310e026B69BFC676C0013E12A1A11411EEc9
"
),
Overhead
:
eth
.
Bytes32
(
common
.
HexToHash
(
"
0x0000000000000000000000000000000000000000000000000000000000000834
"
)),
Scalar
:
eth
.
Bytes32
(
common
.
HexToHash
(
"
0x00000000000000000000000000000000000000000000000000000000000f4240
"
)),
GasLimit
:
25
_000_00
0
,
},
},
BlockTime
:
2
,
MaxSequencerDrift
:
0
,
SeqWindowSize
:
0
,
ChannelTimeout
:
0
,
MaxSequencerDrift
:
60
0
,
SeqWindowSize
:
360
0
,
ChannelTimeout
:
30
0
,
L1ChainID
:
big
.
NewInt
(
5
),
L2ChainID
:
big
.
NewInt
(
420
),
BatchInboxAddress
:
common
.
HexToAddress
(
""
),
DepositContractAddress
:
common
.
HexToAddress
(
""
),
L1SystemConfigAddress
:
common
.
HexToAddress
(
""
),
BatchInboxAddress
:
common
.
HexToAddress
(
"
0xff00000000000000000000000000000000000420
"
),
DepositContractAddress
:
common
.
HexToAddress
(
"
0x5b47E1A08Ea6d985D6649300584e6722Ec4B1383
"
),
L1SystemConfigAddress
:
common
.
HexToAddress
(
"
0xAe851f927Ee40dE99aaBb7461C00f9622ab91d60
"
),
}
var
NetworksByName
=
map
[
string
]
rollup
.
Config
{
"beta-1"
:
Beta1
,
//
"goerli": Goerli,
"goerli"
:
Goerli
,
}
func
AvailableNetworks
()
[]
string
{
...
...
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