-
Notifications
You must be signed in to change notification settings - Fork 1k
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
BugFix: cli stringSlice bug #11166
BugFix: cli stringSlice bug #11166
Conversation
reverting
reverting
rolling back
rolling back
reverting changes
cmd/validator/flags/flags.go
Outdated
@@ -349,7 +349,6 @@ var ( | |||
EnableBuilderFlag = &cli.BoolFlag{ | |||
Name: "enable-builder", | |||
Usage: "Enables Builder validator registration APIs for the validator client to update settings such as fee recipient and gas limit. Note* this flag is not required if using proposer settings config file", | |||
Value: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this relevant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I found out that default values override configs, this is perhaps an issue through out the cli flags but in particular, I tested thsi one and realized that if you use enable-builder in the config file when it has a starting value (false) the config file does not override this value.
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
What type of PR is this?
Bug fix
related
urfave/cli#1197
#11009
What does this PR do? Why is it needed?
string slice flags do not support the
IsSet
function when using theconfig-file
flag which feeds flags and their values via a yaml or json file.Which issues(s) does this PR fix?