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

--disable-deposits flag of validator manager create command requires BLS withdrawal credentials with unclear failure message #6391

Open
ralexstokes opened this issue Sep 12, 2024 · 1 comment
Labels
enhancement New feature or request UX-and-logs

Comments

@ralexstokes
Copy link
Contributor

Description

Conflicting options with unclear docs on how to resolve.

Version

v5.3.0

Present Behaviour

This command fails:

lighthouse vm create --disable-deposits --count 1 --output-path $OUTPUT

with output

--eth1-withdrawal-address is required.

Upon closer inspection, it looks like the issue is that the tool is trying to make 0x01 withdrawal credentials. But even if you supply --eth1-withdrawal-address, we get a conflicting message about use of --disable-deposits.

Expected Behaviour

I should be able to use --disable-deposits.

Steps to resolve

The resolution is to use the --force-bls-withdrawal-credentials but this isn't clear from the docs and was only apparent after reading the source code. Could simply add some context to the help message for the --disable-deposits flag.

@ralexstokes ralexstokes changed the title --disable-deposits flag of validator manager create command requires BLS withdrawal credentials --disable-deposits flag of validator manager create command requires BLS withdrawal credentials with unclear failure message Sep 12, 2024
@chong-he
Copy link
Member

Thanks for reporting!

Would it make this clear if we add a sentence in the description here:
If used, the --force-bls-withdrawal-credentials is also required to ensure users are aware that an --eth1-withdrawal-address is not set

.arg(
Arg::new(DISABLE_DEPOSITS_FLAG)
.long(DISABLE_DEPOSITS_FLAG)
.help(
"When provided don't generate the deposits JSON file that is \
commonly used for submitting validator deposits via a web UI. \
Using this flag will save several seconds per validator if the \
user has an alternate strategy for submitting deposits.",
)
.action(ArgAction::SetTrue)
.help_heading(FLAG_HEADER)
.display_order(0),
)

@chong-he chong-he added enhancement New feature or request UX-and-logs labels Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request UX-and-logs
Projects
None yet
Development

No branches or pull requests

2 participants