Skip to content

Commit

Permalink
fix chain config
Browse files Browse the repository at this point in the history
  • Loading branch information
krish-nr committed Jan 13, 2025
1 parent 31c5d59 commit f5f37e1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions op-node/chaincfg/chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/ethereum-optimism/optimism/op-service/eth"
)

var Mainnet, Goerli, Sepolia *rollup.Config
var Mainnet, Sepolia *rollup.Config

func init() {
mustCfg := func(name string) *rollup.Config {
Expand All @@ -23,7 +23,6 @@ func init() {
return cfg
}
Mainnet = mustCfg("op-mainnet")
Goerli = mustCfg("op-goerli")
Sepolia = mustCfg("op-sepolia")
}

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

func handleLegacyName(name string) string {
switch name {
case "goerli":
return "op-goerli"
case "mainnet":
return "op-mainnet"
case "sepolia":
Expand Down

0 comments on commit f5f37e1

Please sign in to comment.