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
0638daf5
Unverified
Commit
0638daf5
authored
Jun 06, 2023
by
OptimismBot
Committed by
GitHub
Jun 06, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5903 from ethereum-optimism/refcell/mainnet/chaingo
feat(op-node): Finalize Mainnet Rollup Config
parents
69003a3c
a4876cb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
13 deletions
+7
-13
chains.go
op-node/chaincfg/chains.go
+7
-13
No files found.
op-node/chaincfg/chains.go
View file @
0638daf5
...
...
@@ -13,19 +13,14 @@ import (
var
Mainnet
=
rollup
.
Config
{
Genesis
:
rollup
.
Genesis
{
L1
:
eth
.
BlockID
{
// moose: Update this during migration
Hash
:
common
.
HexToHash
(
"0x"
),
// moose: Update this during migration
Number
:
0
,
Hash
:
common
.
HexToHash
(
"0x438335a20d98863a4c0c97999eb2481921ccd28553eac6f913af7c12aec04108"
),
Number
:
17422590
,
},
L2
:
eth
.
BlockID
{
// moose: Update this during migration
Hash
:
common
.
HexToHash
(
"0x"
),
// moose: Update this during migration
Number
:
0
,
Hash
:
common
.
HexToHash
(
"0xdbf6a80fef073de06add9b0d14026d6e5a86c85f6d102c36d3d8e9cf89c2afd3"
),
Number
:
105235063
,
},
// moose: Update this during migration
L2Time
:
0
,
L2Time
:
1686068903
,
SystemConfig
:
eth
.
SystemConfig
{
BatcherAddr
:
common
.
HexToAddress
(
"0x6887246668a3b87f54deb3b94ba47a6f63f32985"
),
Overhead
:
eth
.
Bytes32
(
common
.
HexToHash
(
"0x00000000000000000000000000000000000000000000000000000000000000bc"
)),
...
...
@@ -76,9 +71,8 @@ var Goerli = rollup.Config{
}
var
NetworksByName
=
map
[
string
]
rollup
.
Config
{
"goerli"
:
Goerli
,
// moose: Update this during migration
// "mainnet": Mainnet,
"goerli"
:
Goerli
,
"mainnet"
:
Mainnet
,
}
var
L2ChainIDToNetworkName
=
func
()
map
[
string
]
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