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
367baa5b
Unverified
Commit
367baa5b
authored
Oct 19, 2023
by
Adrian Sutton
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into geth_update_v1_13_3
parents
fe714746
e7cc81c1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
27 deletions
+29
-27
go.mod
go.mod
+4
-4
go.sum
go.sum
+2
-2
chains_test.go
op-node/chaincfg/chains_test.go
+23
-21
No files found.
go.mod
View file @
367baa5b
...
@@ -8,8 +8,8 @@ require (
...
@@ -8,8 +8,8 @@ require (
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0
github.com/ethereum-optimism/go-ethereum-hdwallet v0.1.3
github.com/ethereum-optimism/go-ethereum-hdwallet v0.1.3
github.com/ethereum-optimism/superchain-registry/superchain v0.0.0-20231018
164214-046f42968aec
github.com/ethereum-optimism/superchain-registry/superchain v0.0.0-20231018
202221-fdba3d104171
github.com/ethereum/go-ethereum v1.13.
3
github.com/ethereum/go-ethereum v1.13.
1
github.com/fsnotify/fsnotify v1.6.0
github.com/fsnotify/fsnotify v1.6.0
github.com/go-chi/chi/v5 v5.0.10
github.com/go-chi/chi/v5 v5.0.10
github.com/go-chi/docgen v1.2.0
github.com/go-chi/docgen v1.2.0
...
@@ -209,7 +209,7 @@ require (
...
@@ -209,7 +209,7 @@ require (
rsc.io/tmplfunc v0.0.3 // indirect
rsc.io/tmplfunc v0.0.3 // indirect
)
)
replace github.com/ethereum/go-ethereum v1.13.
3
=> github.com/ethereum-optimism/op-geth v1.101301.2-0.20231018201518-63125bd85c80
replace github.com/ethereum/go-ethereum v1.13.
1
=> github.com/ethereum-optimism/op-geth v1.101301.2-0.20231018201518-63125bd85c80
//replace github.com/ethereum-optimism/superchain-registry/superchain => ../superchain-registry/superchain
//replace github.com/ethereum-optimism/superchain-registry/superchain => ../superchain-registry/superchain
//replace github.com/ethereum/go-ethereum v1.13.
3
=> ../go-ethereum
//replace github.com/ethereum/go-ethereum v1.13.
1
=> ../go-ethereum
go.sum
View file @
367baa5b
...
@@ -179,8 +179,8 @@ github.com/ethereum-optimism/go-ethereum-hdwallet v0.1.3 h1:RWHKLhCrQThMfch+QJ1Z
...
@@ -179,8 +179,8 @@ github.com/ethereum-optimism/go-ethereum-hdwallet v0.1.3 h1:RWHKLhCrQThMfch+QJ1Z
github.com/ethereum-optimism/go-ethereum-hdwallet v0.1.3/go.mod h1:QziizLAiF0KqyLdNJYD7O5cpDlaFMNZzlxYNcWsJUxs=
github.com/ethereum-optimism/go-ethereum-hdwallet v0.1.3/go.mod h1:QziizLAiF0KqyLdNJYD7O5cpDlaFMNZzlxYNcWsJUxs=
github.com/ethereum-optimism/op-geth v1.101301.2-0.20231018201518-63125bd85c80 h1:HeYvf3+kVe4N3heNiyZwfAU1s4GjwbMnBEuOhNmFh6c=
github.com/ethereum-optimism/op-geth v1.101301.2-0.20231018201518-63125bd85c80 h1:HeYvf3+kVe4N3heNiyZwfAU1s4GjwbMnBEuOhNmFh6c=
github.com/ethereum-optimism/op-geth v1.101301.2-0.20231018201518-63125bd85c80/go.mod h1:QoC1Xf6dzEFrZjjsi2tKhze1MwRAk6KXFbIzcHnIXx4=
github.com/ethereum-optimism/op-geth v1.101301.2-0.20231018201518-63125bd85c80/go.mod h1:QoC1Xf6dzEFrZjjsi2tKhze1MwRAk6KXFbIzcHnIXx4=
github.com/ethereum-optimism/superchain-registry/superchain v0.0.0-20231018
164214-046f42968aec h1:4wWqpBeK7nwMVncglr9XLYIFmU8j5w2XmhtklztraNY
=
github.com/ethereum-optimism/superchain-registry/superchain v0.0.0-20231018
202221-fdba3d104171 h1:MjCUj16JSLZRDnQQ6OOUy6Chfb4dKo7ahFceNi0RKZ8
=
github.com/ethereum-optimism/superchain-registry/superchain v0.0.0-20231018
164214-046f42968aec
/go.mod h1:/70H/KqrtKcvWvNGVj6S3rAcLC+kUPr3t2aDmYIS+Xk=
github.com/ethereum-optimism/superchain-registry/superchain v0.0.0-20231018
202221-fdba3d104171
/go.mod h1:/70H/KqrtKcvWvNGVj6S3rAcLC+kUPr3t2aDmYIS+Xk=
github.com/ethereum/c-kzg-4844 v0.3.1 h1:sR65+68+WdnMKxseNWxSJuAv2tsUrihTpVBTfM/U5Zg=
github.com/ethereum/c-kzg-4844 v0.3.1 h1:sR65+68+WdnMKxseNWxSJuAv2tsUrihTpVBTfM/U5Zg=
github.com/ethereum/c-kzg-4844 v0.3.1/go.mod h1:VewdlzQmpT5QSrVhbBuGoCdFJkpaJlO1aQputP83wc0=
github.com/ethereum/c-kzg-4844 v0.3.1/go.mod h1:VewdlzQmpT5QSrVhbBuGoCdFJkpaJlO1aQputP83wc0=
github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072/go.mod h1:duJ4Jxv5lDcvg4QuQr0oowTf7dz4/CR8NtyCooz9HL8=
github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072/go.mod h1:duJ4Jxv5lDcvg4QuQr0oowTf7dz4/CR8NtyCooz9HL8=
...
...
op-node/chaincfg/chains_test.go
View file @
367baa5b
...
@@ -32,7 +32,7 @@ func TestGetRollupConfig(t *testing.T) {
...
@@ -32,7 +32,7 @@ func TestGetRollupConfig(t *testing.T) {
gotCfg
,
err
:=
GetRollupConfig
(
name
)
gotCfg
,
err
:=
GetRollupConfig
(
name
)
require
.
NoError
(
t
,
err
)
require
.
NoError
(
t
,
err
)
require
.
Equal
(
t
,
expectedCfg
,
*
gotCfg
,
"rollup-configs from superchain-registry must match"
)
require
.
Equal
f
(
t
,
expectedCfg
,
*
gotCfg
,
"rollup-configs from superchain-registry must match for %v"
,
name
)
}
}
}
}
...
@@ -54,16 +54,17 @@ var mainnetCfg = rollup.Config{
...
@@ -54,16 +54,17 @@ var mainnetCfg = rollup.Config{
GasLimit
:
30
_000_000
,
GasLimit
:
30
_000_000
,
},
},
},
},
BlockTime
:
2
,
BlockTime
:
2
,
MaxSequencerDrift
:
600
,
MaxSequencerDrift
:
600
,
SeqWindowSize
:
3600
,
SeqWindowSize
:
3600
,
ChannelTimeout
:
300
,
ChannelTimeout
:
300
,
L1ChainID
:
big
.
NewInt
(
1
),
L1ChainID
:
big
.
NewInt
(
1
),
L2ChainID
:
big
.
NewInt
(
10
),
L2ChainID
:
big
.
NewInt
(
10
),
BatchInboxAddress
:
common
.
HexToAddress
(
"0xff00000000000000000000000000000000000010"
),
BatchInboxAddress
:
common
.
HexToAddress
(
"0xff00000000000000000000000000000000000010"
),
DepositContractAddress
:
common
.
HexToAddress
(
"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"
),
DepositContractAddress
:
common
.
HexToAddress
(
"0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"
),
L1SystemConfigAddress
:
common
.
HexToAddress
(
"0x229047fed2591dbec1eF1118d64F7aF3dB9EB290"
),
L1SystemConfigAddress
:
common
.
HexToAddress
(
"0x229047fed2591dbec1eF1118d64F7aF3dB9EB290"
),
RegolithTime
:
u64Ptr
(
0
),
RegolithTime
:
u64Ptr
(
0
),
ProtocolVersionsAddress
:
common
.
HexToAddress
(
"0x8062AbC286f5e7D9428a0Ccb9AbD71e50d93b935"
),
}
}
var
goerliCfg
=
rollup
.
Config
{
var
goerliCfg
=
rollup
.
Config
{
...
@@ -115,16 +116,17 @@ var sepoliaCfg = rollup.Config{
...
@@ -115,16 +116,17 @@ var sepoliaCfg = rollup.Config{
GasLimit
:
30000000
,
GasLimit
:
30000000
,
},
},
},
},
BlockTime
:
2
,
BlockTime
:
2
,
MaxSequencerDrift
:
600
,
MaxSequencerDrift
:
600
,
SeqWindowSize
:
3600
,
SeqWindowSize
:
3600
,
ChannelTimeout
:
300
,
ChannelTimeout
:
300
,
L1ChainID
:
big
.
NewInt
(
11155111
),
L1ChainID
:
big
.
NewInt
(
11155111
),
L2ChainID
:
big
.
NewInt
(
11155420
),
L2ChainID
:
big
.
NewInt
(
11155420
),
BatchInboxAddress
:
common
.
HexToAddress
(
"0xff00000000000000000000000000000011155420"
),
BatchInboxAddress
:
common
.
HexToAddress
(
"0xff00000000000000000000000000000011155420"
),
DepositContractAddress
:
common
.
HexToAddress
(
"0x16fc5058f25648194471939df75cf27a2fdc48bc"
),
DepositContractAddress
:
common
.
HexToAddress
(
"0x16fc5058f25648194471939df75cf27a2fdc48bc"
),
L1SystemConfigAddress
:
common
.
HexToAddress
(
"0x034edd2a225f7f429a63e0f1d2084b9e0a93b538"
),
L1SystemConfigAddress
:
common
.
HexToAddress
(
"0x034edd2a225f7f429a63e0f1d2084b9e0a93b538"
),
RegolithTime
:
u64Ptr
(
0
),
RegolithTime
:
u64Ptr
(
0
),
ProtocolVersionsAddress
:
common
.
HexToAddress
(
"0x79ADD5713B383DAa0a138d3C4780C7A1804a8090"
),
}
}
func
u64Ptr
(
v
uint64
)
*
uint64
{
func
u64Ptr
(
v
uint64
)
*
uint64
{
...
...
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