diff --git a/op-node/chaincfg/chains.go b/op-node/chaincfg/chains.go index b16e9b802ae7..01c6b2428fbb 100644 --- a/op-node/chaincfg/chains.go +++ b/op-node/chaincfg/chains.go @@ -2,6 +2,7 @@ package chaincfg import ( "fmt" + "sort" "strings" "github.com/ethereum-optimism/superchain-registry/superchain" @@ -36,6 +37,7 @@ func AvailableNetworks() []string { for _, cfg := range superchain.OPChains { networks = append(networks, cfg.Chain+"-"+cfg.Superchain) } + sort.Strings(networks) return networks }