Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

op-node: Alphabetize CLI network lists #12522

Merged

Conversation

mbaxter
Copy link
Contributor

@mbaxter mbaxter commented Oct 18, 2024

Description

Alphabetize the list of networks returned from AvailableNetworks(). This list is used to display available networks in a few different CLIs. For example, ./bin/op-program --help now displays an alphabetized list of networks for its --network flag:

    --network value                                                        ($OP_PROGRAM_NETWORK)
          Predefined network selection. Available networks: base-devnet-0-sepolia-dev-0,
          base-mainnet, base-sepolia, lyra-mainnet, metal-mainnet, metal-sepolia,
          mode-mainnet, mode-sepolia, op-mainnet, op-sepolia,
          oplabs-devnet-0-sepolia-dev-0, orderly-mainnet, race-mainnet, race-sepolia,
          tbn-mainnet, zora-mainnet, zora-sepolia

@mbaxter mbaxter marked this pull request as ready for review October 18, 2024 16:05
@mbaxter mbaxter added this pull request to the merge queue Oct 18, 2024
Merged via the queue into ethereum-optimism:develop with commit f99424d Oct 18, 2024
47 checks passed
@mbaxter mbaxter deleted the minor/alphabetize-networks-in-cli branch October 18, 2024 17:32
samlaf pushed a commit to samlaf/optimism that referenced this pull request Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants