Skip to content

Remove custom network support#192

Merged
0xbe1 merged 1 commit intomainfrom
remove-custom
Oct 2, 2025
Merged

Remove custom network support#192
0xbe1 merged 1 commit intomainfrom
remove-custom

Conversation

@0xbe1
Copy link
Contributor

@0xbe1 0xbe1 commented Oct 2, 2025

Summary

  • Remove the 'custom' network option from NETWORK_CHOICES
  • Remove validation hooks requiring --fullnode for custom network
  • Update --fullnode option descriptions to indicate it's a URL override for any supported network
  • Fix TypeScript errors in HomeView.tsx related to custom network filtering

Test plan

  • Build passes (pnpm build)
  • All network commands work with supported networks (aptos-devnet, aptos-testnet, aptos-mainnet, movement-mainnet, movement-testnet)
  • --fullnode flag still allows overriding URLs for supported networks

🤖 Generated with Claude Code

Remove the 'custom' network option from the CLI. Users can still override
the fullnode URL for supported networks using the --fullnode flag.

Changes:
- Remove 'custom' from NETWORK_CHOICES
- Remove custom network validation hooks from all commands
- Update --fullnode option descriptions from "for custom network" to "override"
- Fix getExplorerUrl to throw error for unknown networks
- Clean up HomeView.tsx to remove custom network filtering and checks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@0xbe1 0xbe1 merged commit c601f3a into main Oct 2, 2025
1 check failed
@0xbe1 0xbe1 deleted the remove-custom branch October 2, 2025 16:48
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.

1 participant

Comments