mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
small improvements to logs (#14405)
* removing redundant log, and poorly worded log * move log printing message * changelog * reverting a log change
This commit is contained in:
@@ -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 {
|
||||
log.Warn("Builder is `enabled` in default config but will be ignored because no fee recipient was provided!")
|
||||
}
|
||||
|
||||
for i, k := range activePubkeys {
|
||||
// map is populated before this function in buildPrepProposerReq
|
||||
_, ok := v.pubkeyToStatus[k]
|
||||
@@ -1338,10 +1343,6 @@ func (v *validator) buildSignedRegReqs(
|
||||
gasLimit := params.BeaconConfig().DefaultBuilderGasLimit
|
||||
enabled := false
|
||||
|
||||
if v.ProposerSettings().DefaultConfig != nil && v.ProposerSettings().DefaultConfig.FeeRecipientConfig == nil && v.ProposerSettings().DefaultConfig.BuilderConfig != nil {
|
||||
log.Warn("Builder is `enabled` in default config but will be ignored because no fee recipient was provided!")
|
||||
}
|
||||
|
||||
if v.ProposerSettings().DefaultConfig != nil && v.ProposerSettings().DefaultConfig.FeeRecipientConfig != nil {
|
||||
defaultConfig := v.ProposerSettings().DefaultConfig
|
||||
feeRecipient = defaultConfig.FeeRecipientConfig.FeeRecipient // Use cli defaultBuilderConfig for fee recipient.
|
||||
|
||||
Reference in New Issue
Block a user