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

Validate config to check whether any server is enabled #320

Merged

Conversation

jacek-casper
Copy link

We currently allow disabling all servers... People have run into this when they've misnamed some config settings and ended up running it with all the servers disabled which leads to a confusing panic error message from tokio. I've added validation for at least one server being enabled in the config.

@jacek-casper jacek-casper requested a review from zajko June 3, 2024 16:30
@jacek-casper jacek-casper merged commit ab19737 into casper-network:feat-2.0 Jun 3, 2024
2 checks passed
@jacek-casper jacek-casper deleted the reject-disabled-servers branch June 3, 2024 17:02
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