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
f927bc58
Unverified
Commit
f927bc58
authored
Sep 09, 2022
by
Matthew Slipper
Committed by
GitHub
Sep 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Upgrade op-geth (#3379)
* chore: Upgrade op-geth * Add forgotten params * Update chain ops
parent
dbfea116
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
43 additions
and
25 deletions
+43
-25
go.work
go.work
+1
-1
go.mod
op-batcher/go.mod
+1
-1
go.sum
op-batcher/go.sum
+2
-2
go.mod
op-bindings/go.mod
+2
-2
go.sum
op-bindings/go.sum
+2
-2
config.go
op-chain-ops/genesis/config.go
+3
-0
genesis.go
op-chain-ops/genesis/genesis.go
+13
-2
test-deploy-config-full.json
op-chain-ops/genesis/testdata/test-deploy-config-full.json
+3
-1
go.mod
op-e2e/go.mod
+1
-1
go.sum
op-e2e/go.sum
+2
-2
setup.go
op-e2e/setup.go
+4
-2
go.mod
op-node/go.mod
+1
-1
go.sum
op-node/go.sum
+2
-2
go.mod
op-proposer/go.mod
+1
-1
go.sum
op-proposer/go.sum
+2
-2
go.mod
op-service/go.mod
+1
-1
go.sum
op-service/go.sum
+2
-2
No files found.
go.work
View file @
f927bc58
...
...
@@ -19,7 +19,7 @@ use (
./teleportr
)
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
// For local debugging:
//replace github.com/ethereum/go-ethereum v1.10.23 => ../go-ethereum
op-batcher/go.mod
View file @
f927bc58
...
...
@@ -70,4 +70,4 @@ require (
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
)
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
op-batcher/go.sum
View file @
f927bc58
...
...
@@ -147,8 +147,8 @@ github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymF
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638 h1:LcvgHjeooGBobfEIEYikMzx1MoIAjRqa/ZDdkrhV3Hw
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1 h1:W/ZU6BZH7ilTrpdoJOF9N4OReqXbpeRtUB6klIpEdMA
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/ethereum-optimism/optimism/op-bindings v0.8.3 h1:6v3n0fZhxcqVF9mu8l2Axqi4/XcMqpthtl3mEkqhi04=
github.com/ethereum-optimism/optimism/op-bindings v0.8.3/go.mod h1:XZRKu/LTd03m50duwMFEqCWe6qkjgLBZUoZG3CR2Kg0=
github.com/ethereum-optimism/optimism/op-node v0.8.3 h1:Snuick9EtalM6Cbs8rVUcoCDPFpu6Xxr7kre+RbLbY0=
...
...
op-bindings/go.mod
View file @
f927bc58
...
...
@@ -40,6 +40,6 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
// github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
// github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
op-bindings/go.sum
View file @
f927bc58
...
...
@@ -28,8 +28,8 @@ github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 h1:YLtO71vCjJRCBcrPMtQ9nqBsqpA1
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeCxkaw7y45JueMRL4DIyJDKs=
github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
github.com/edsrzf/mmap-go v1.0.0 h1:CEBF7HpRnUCSJgGUb5h1Gm7e3VkmVDrR8lvWVLtrOFw=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638 h1:LcvgHjeooGBobfEIEYikMzx1MoIAjRqa/ZDdkrhV3Hw
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1 h1:W/ZU6BZH7ilTrpdoJOF9N4OReqXbpeRtUB6klIpEdMA
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/fsnotify/fsnotify v1.5.4 h1:jRbGcIw6P2Meqdwuo0H1p6JVLbL5DHKAKlYndzMwVZI=
...
...
op-chain-ops/genesis/config.go
View file @
f927bc58
...
...
@@ -69,6 +69,9 @@ type DeployConfig struct {
GasPriceOracleDecimals
uint
`json:"gasPriceOracleDecimals"`
DeploymentWaitConfirmations
int
`json:"deploymentWaitConfirmations"`
EIP1559Elasticity
uint64
`json:"eip1559Elasticity"`
EIP1559Denominator
uint64
`json:"eip1559Denominator"`
}
// NewDeployConfig reads a config file given a path on the filesystem.
...
...
op-chain-ops/genesis/genesis.go
View file @
f927bc58
...
...
@@ -20,6 +20,15 @@ func NewL2Genesis(config *DeployConfig, block *types.Block) (*core.Genesis, erro
return
nil
,
errors
.
New
(
"must define L2 ChainID"
)
}
eip1559Denom
:=
config
.
EIP1559Denominator
if
eip1559Denom
==
0
{
eip1559Denom
=
50
}
eip1559Elasticity
:=
config
.
EIP1559Elasticity
if
eip1559Elasticity
==
0
{
eip1559Elasticity
=
10
}
optimismChainConfig
:=
params
.
ChainConfig
{
ChainID
:
new
(
big
.
Int
)
.
SetUint64
(
config
.
L2ChainID
),
HomesteadBlock
:
big
.
NewInt
(
0
),
...
...
@@ -44,8 +53,10 @@ func NewL2Genesis(config *DeployConfig, block *types.Block) (*core.Genesis, erro
TerminalTotalDifficulty
:
big
.
NewInt
(
0
),
TerminalTotalDifficultyPassed
:
true
,
Optimism
:
&
params
.
OptimismConfig
{
BaseFeeRecipient
:
config
.
OptimismBaseFeeRecipient
,
L1FeeRecipient
:
config
.
OptimismL2FeeRecipient
,
BaseFeeRecipient
:
config
.
OptimismBaseFeeRecipient
,
L1FeeRecipient
:
config
.
OptimismL2FeeRecipient
,
EIP1559Denominator
:
eip1559Denom
,
EIP1559Elasticity
:
eip1559Elasticity
,
},
}
...
...
op-chain-ops/genesis/testdata/test-deploy-config-full.json
View file @
f927bc58
...
...
@@ -45,5 +45,7 @@
"gasPriceOracleOverhead"
:
2100
,
"gasPriceOracleScalar"
:
1000000
,
"gasPriceOracleDecimals"
:
6
,
"deploymentWaitConfirmations"
:
1
"deploymentWaitConfirmations"
:
1
,
"eip1559Denominator"
:
8
,
"eip1559Elasticity"
:
2
}
\ No newline at end of file
op-e2e/go.mod
View file @
f927bc58
...
...
@@ -155,4 +155,4 @@ require (
lukechampine.com/blake3 v1.1.7 // indirect
)
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
op-e2e/go.sum
View file @
f927bc58
...
...
@@ -239,8 +239,8 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m
github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638 h1:LcvgHjeooGBobfEIEYikMzx1MoIAjRqa/ZDdkrhV3Hw
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1 h1:W/ZU6BZH7ilTrpdoJOF9N4OReqXbpeRtUB6klIpEdMA
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/ethereum-optimism/optimism/op-batcher v0.8.3 h1:lvfftznzMtFpemnq1p+qpciAPhYDHhUqmGbIjmgHToA=
github.com/ethereum-optimism/optimism/op-batcher v0.8.3/go.mod h1:Pu/fg1usqSGim0lA+/QbZdL21dAH0ng1YQoFEw8DTY0=
github.com/ethereum-optimism/optimism/op-bindings v0.8.3 h1:6v3n0fZhxcqVF9mu8l2Axqi4/XcMqpthtl3mEkqhi04=
...
...
op-e2e/setup.go
View file @
f927bc58
...
...
@@ -281,8 +281,10 @@ func (cfg SystemConfig) start() (*System, error) {
MergeNetsplitBlock
:
common
.
Big0
,
TerminalTotalDifficulty
:
common
.
Big0
,
Optimism
:
&
params
.
OptimismConfig
{
BaseFeeRecipient
:
cfg
.
BaseFeeRecipient
,
L1FeeRecipient
:
cfg
.
L1FeeRecipient
,
BaseFeeRecipient
:
cfg
.
BaseFeeRecipient
,
L1FeeRecipient
:
cfg
.
L1FeeRecipient
,
EIP1559Elasticity
:
2
,
EIP1559Denominator
:
8
,
},
},
Alloc
:
l2Alloc
,
...
...
op-node/go.mod
View file @
f927bc58
...
...
@@ -159,4 +159,4 @@ require (
lukechampine.com/blake3 v1.1.7 // indirect
)
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
op-node/go.sum
View file @
f927bc58
...
...
@@ -188,8 +188,8 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m
github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638 h1:LcvgHjeooGBobfEIEYikMzx1MoIAjRqa/ZDdkrhV3Hw
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1 h1:W/ZU6BZH7ilTrpdoJOF9N4OReqXbpeRtUB6klIpEdMA
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/ethereum-optimism/optimism/op-bindings v0.8.3 h1:6v3n0fZhxcqVF9mu8l2Axqi4/XcMqpthtl3mEkqhi04=
github.com/ethereum-optimism/optimism/op-bindings v0.8.3/go.mod h1:XZRKu/LTd03m50duwMFEqCWe6qkjgLBZUoZG3CR2Kg0=
github.com/ethereum-optimism/optimism/op-chain-ops v0.8.3 h1:X36b6y9fPGiJx2ugs+1RR8OKA9mYljsNTReTLNPa+Tg=
...
...
op-proposer/go.mod
View file @
f927bc58
...
...
@@ -76,4 +76,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
op-proposer/go.sum
View file @
f927bc58
...
...
@@ -148,8 +148,8 @@ github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymF
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638 h1:LcvgHjeooGBobfEIEYikMzx1MoIAjRqa/ZDdkrhV3Hw
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1 h1:W/ZU6BZH7ilTrpdoJOF9N4OReqXbpeRtUB6klIpEdMA
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/ethereum-optimism/optimism/op-bindings v0.8.3 h1:6v3n0fZhxcqVF9mu8l2Axqi4/XcMqpthtl3mEkqhi04=
github.com/ethereum-optimism/optimism/op-bindings v0.8.3/go.mod h1:XZRKu/LTd03m50duwMFEqCWe6qkjgLBZUoZG3CR2Kg0=
github.com/ethereum-optimism/optimism/op-node v0.8.3 h1:Snuick9EtalM6Cbs8rVUcoCDPFpu6Xxr7kre+RbLbY0=
...
...
op-service/go.mod
View file @
f927bc58
...
...
@@ -65,4 +65,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
replace github.com/ethereum/go-ethereum v1.10.23 => github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
op-service/go.sum
View file @
f927bc58
...
...
@@ -108,8 +108,8 @@ github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymF
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638 h1:LcvgHjeooGBobfEIEYikMzx1MoIAjRqa/ZDdkrhV3Hw
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
7143004-2aacc679d638
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1 h1:W/ZU6BZH7ilTrpdoJOF9N4OReqXbpeRtUB6klIpEdMA
=
github.com/ethereum-optimism/op-geth v0.0.0-2022090
9213840-e6575c0168f1
/go.mod h1:/6CsT5Ceen2WPLI/oCA3xMcZ5sWMF/D46SjM/ayY0Oo=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fjl/memsize v0.0.1 h1:+zhkb+dhUgx0/e+M8sF0QqiouvMQUiKR+QYvdxIOKcQ=
github.com/fjl/memsize v0.0.1/go.mod h1:VvhXpOYNQvB+uIk2RvXzuaQtkQJzzIx6lSBe1xv7hi0=
...
...
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