Skip to content

Commit 189e341

Browse files
krish-nr2020xibao
authored andcommitted
fix chain config
1 parent 42a1c79 commit 189e341

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

op-node/chaincfg/chains.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/ethereum-optimism/optimism/op-service/eth"
1313
)
1414

15-
var Mainnet, Goerli, Sepolia *rollup.Config
15+
var Mainnet, Sepolia *rollup.Config
1616

1717
func init() {
1818
mustCfg := func(name string) *rollup.Config {
@@ -23,7 +23,6 @@ func init() {
2323
return cfg
2424
}
2525
Mainnet = mustCfg("op-mainnet")
26-
Goerli = mustCfg("op-goerli")
2726
Sepolia = mustCfg("op-sepolia")
2827
}
2928

@@ -46,8 +45,6 @@ func AvailableNetworks() []string {
4645

4746
func handleLegacyName(name string) string {
4847
switch name {
49-
case "goerli":
50-
return "op-goerli"
5148
case "mainnet":
5249
return "op-mainnet"
5350
case "sepolia":

0 commit comments

Comments
 (0)