Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add --configFile to validator #2814

Closed
wemeetagain opened this issue Jul 6, 2021 · 1 comment · Fixed by #2961
Closed

Add --configFile to validator #2814

wemeetagain opened this issue Jul 6, 2021 · 1 comment · Fixed by #2961
Assignees

Comments

@wemeetagain
Copy link
Member

Is your feature request related to a problem? Please describe.
From discord (@stefa2k):

Q: Hi, I'm getting keystoresDir /opt/app/.local/share/lodestar/mainnet/keystores does not exist but I set keystoresDir: /opt/app/keystores in the config yaml via --paramsFile /opt/app/validator.yaml
Am I missing something?

A: it looks the paramsFile only supports the testnet/mainnet params (the ones from the eth2 spec)
our beacon node lets you override all of the cli options via a file --configFile but it doesn't look like the validator supports that
We should add the same thing to the validator, but for now, you'd have to add --keystoresDir via cli

Describe the solution you'd like

Allow for validator cli options to be specified in a file, like is possible for the beacon node

@g11tech
Copy link
Contributor

g11tech commented Jul 6, 2021

@wemeetagain assign/add to my bucket pls

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants