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

feat: Disable non mainline networks #24

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

samcm
Copy link
Member

@samcm samcm commented Feb 10, 2025

Other networks don't work at the moment, and setting --network=pectra-devnet-6 will incorrectly send data off with network=mainnet, so let's just disable it for now until we can come back to supporting custom networks

This commit introduces validation for the network configuration
parameter, ensuring that the application only accepts 'mainnet',
'sepolia', or 'holesky' as valid network names. It also returns an
error if the network name is invalid, providing better feedback to
the user.
@samcm samcm requested a review from mattevans as a code owner February 10, 2025 03:20
@samcm samcm merged commit 1159e99 into master Feb 10, 2025
2 checks passed
@samcm samcm deleted the feat/disable-non-mainline-networks branch February 10, 2025 03:27
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