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

Fix broken config load from file #694

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cortze
Copy link

@cortze cortze commented Sep 9, 2024

Description

I've been having some trouble setting up an avail-light-client to a private network, as the Node version wouldn't match the remote one when using the default full_node_ws RPC node.

I've been assisted by @vbhattaccmu pointing to a successful commit and valid RPC node endpoint.
However, the values from the config file weren't applying to the runtime config.

Furthermore, I also spotted that the config file should be formatted as a TOML file, not as a YAML one as the example suggests.

This PR addresses both. I'm not super familiar with Rust, so feel free to suggest any changes that would make a "better" code ✌🏽

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