Skip to content

Commit

Permalink
Merge branch 'main' into feat/network-option-fail-improve
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey authored Oct 5, 2023
2 parents e98f608 + af4d3e4 commit 21e02f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ape_networks/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def make_sub_tree(data: Dict, create_tree: Callable) -> Tree:

if providers:
network_tree = make_sub_tree(network, ecosystem_tree.add)
providers = sorted(providers, key=lambda p: p["name"])
for provider in providers:
make_sub_tree(provider, network_tree.add)

Expand Down
1 change: 1 addition & 0 deletions tests/integration/cli/test_networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
├── goerli
│ └── geth (default)
├── local (default)
│ ├── geth
│ └── test (default)
├── mainnet
│ └── test (default)
Expand Down

0 comments on commit 21e02f7

Please sign in to comment.