-
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
small improvements to logs #14405
small improvements to logs #14405
Conversation
validator/client/service.go
Outdated
@@ -292,9 +292,6 @@ func ConstructDialOptions( | |||
transportSecurity = grpc.WithTransportCredentials(creds) | |||
} else { | |||
transportSecurity = grpc.WithInsecure() | |||
log.Warn("You are using an insecure gRPC connection. If you are running your beacon node and " + |
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.
redundant log
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.
putting it back in, fails test + was supposed to do some more setup
@@ -159,6 +155,10 @@ func (psl *settingsLoader) Load(cliCtx *cli.Context) (*proposer.Settings, error) | |||
if psl.options.builderConfig != nil { | |||
defaultConfig.Builder = psl.options.builderConfig.ToConsensus() | |||
} | |||
if psl.existsInDB && len(psl.loadMethods) == 1 { | |||
// only log the below if default flag is the only load method |
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.
log is a bit noisy, mostly debugging purposes
@@ -1327,6 +1327,11 @@ func (v *validator) buildSignedRegReqs( | |||
if v.genesisTime > uint64(time.Now().UTC().Unix()) { | |||
return signedValRegRequests | |||
} | |||
|
|||
if v.ProposerSettings().DefaultConfig != nil && v.ProposerSettings().DefaultConfig.FeeRecipientConfig == nil && v.ProposerSettings().DefaultConfig.BuilderConfig != nil { |
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.
printing too much in loop
What type of PR is this?
Other
What does this PR do? Why is it needed?
removes some duplicate logs, or moves them to be less redudnant
Which issues(s) does this PR fix?
Fixes #
Other notes for review
Acknowledgements