@@ -208,7 +208,7 @@ func (t *Task) checkBlockGraffiti(block *consensus.Block, blockData *spec.Versio
208208 }
209209
210210 if ! matched {
211- t .logger .Debugf ("check failed for block %v [0x%x]: unmatched graffiti" , block .Slot , block .Root )
211+ t .logger .Infof ("check failed for block %v [0x%x]: unmatched graffiti" , block .Slot , block .Root )
212212 return false
213213 }
214214
@@ -231,7 +231,7 @@ func (t *Task) checkBlockValidatorName(block *consensus.Block, blockData *spec.V
231231 }
232232
233233 if ! matched {
234- t .logger .Debugf ("check failed for block %v [0x%x]: unmatched validator name" , block .Slot , block .Root )
234+ t .logger .Infof ("check failed for block %v [0x%x]: unmatched validator name (have: %v, want: %v) " , block .Slot , block .Root , validatorName , t . config . ValidatorNamePattern )
235235 return false
236236 }
237237
@@ -246,7 +246,7 @@ func (t *Task) checkBlockAttestations(block *consensus.Block, blockData *spec.Ve
246246 }
247247
248248 if len (attestations ) < t .config .MinAttestationCount {
249- t .logger .Debugf ("check failed for block %v [0x%x]: not enough attestations (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinAttestationCount , len (attestations ))
249+ t .logger .Infof ("check failed for block %v [0x%x]: not enough attestations (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinAttestationCount , len (attestations ))
250250 return false
251251 }
252252
@@ -261,7 +261,7 @@ func (t *Task) checkBlockDeposits(block *consensus.Block, blockData *spec.Versio
261261 }
262262
263263 if len (deposits ) < t .config .MinDepositCount {
264- t .logger .Debugf ("check failed for block %v [0x%x]: not enough deposits (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinDepositCount , len (deposits ))
264+ t .logger .Infof ("check failed for block %v [0x%x]: not enough deposits (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinDepositCount , len (deposits ))
265265 return false
266266 }
267267
@@ -276,7 +276,7 @@ func (t *Task) checkBlockExits(block *consensus.Block, blockData *spec.Versioned
276276 }
277277
278278 if len (exits ) < t .config .MinExitCount {
279- t .logger .Debugf ("check failed for block %v [0x%x]: not enough exits (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinExitCount , len (exits ))
279+ t .logger .Infof ("check failed for block %v [0x%x]: not enough exits (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinExitCount , len (exits ))
280280 return false
281281 }
282282
@@ -298,7 +298,7 @@ func (t *Task) checkBlockSlashings(block *consensus.Block, blockData *spec.Versi
298298
299299 slashingCount := len (attSlashings ) + len (propSlashings )
300300 if slashingCount < t .config .MinSlashingCount {
301- t .logger .Debugf ("check failed for block %v [0x%x]: not enough exits (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinSlashingCount , slashingCount )
301+ t .logger .Infof ("check failed for block %v [0x%x]: not enough exits (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinSlashingCount , slashingCount )
302302 return false
303303 }
304304
@@ -314,7 +314,7 @@ func (t *Task) checkBlockAttesterSlashings(block *consensus.Block, blockData *sp
314314
315315 slashingCount := len (attSlashings )
316316 if slashingCount < t .config .MinAttesterSlashingCount {
317- t .logger .Debugf ("check failed for block %v [0x%x]: not enough exits (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinAttesterSlashingCount , slashingCount )
317+ t .logger .Infof ("check failed for block %v [0x%x]: not enough exits (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinAttesterSlashingCount , slashingCount )
318318 return false
319319 }
320320
@@ -330,7 +330,7 @@ func (t *Task) checkBlockProposerSlashings(block *consensus.Block, blockData *sp
330330
331331 slashingCount := len (propSlashings )
332332 if slashingCount < t .config .MinProposerSlashingCount {
333- t .logger .Debugf ("check failed for block %v [0x%x]: not enough exits (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinProposerSlashingCount , slashingCount )
333+ t .logger .Infof ("check failed for block %v [0x%x]: not enough exits (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinProposerSlashingCount , slashingCount )
334334 return false
335335 }
336336
@@ -345,7 +345,7 @@ func (t *Task) checkBlockBlsChanges(block *consensus.Block, blockData *spec.Vers
345345 }
346346
347347 if len (blsChanges ) < t .config .MinBlsChangeCount {
348- t .logger .Debugf ("check failed for block %v [0x%x]: not enough bls changes (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinBlsChangeCount , len (blsChanges ))
348+ t .logger .Infof ("check failed for block %v [0x%x]: not enough bls changes (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinBlsChangeCount , len (blsChanges ))
349349 return false
350350 }
351351
@@ -360,7 +360,7 @@ func (t *Task) checkBlockWithdrawals(block *consensus.Block, blockData *spec.Ver
360360 }
361361
362362 if len (withdrawals ) < t .config .MinWithdrawalCount {
363- t .logger .Debugf ("check failed for block %v [0x%x]: not enough withdrawals (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinWithdrawalCount , len (withdrawals ))
363+ t .logger .Infof ("check failed for block %v [0x%x]: not enough withdrawals (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinWithdrawalCount , len (withdrawals ))
364364 return false
365365 }
366366
@@ -375,7 +375,7 @@ func (t *Task) checkBlockTransactions(block *consensus.Block, blockData *spec.Ve
375375 }
376376
377377 if len (transactions ) < t .config .MinTransactionCount {
378- t .logger .Debugf ("check failed for block %v [0x%x]: not enough transactions (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinTransactionCount , len (transactions ))
378+ t .logger .Infof ("check failed for block %v [0x%x]: not enough transactions (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinTransactionCount , len (transactions ))
379379 return false
380380 }
381381
@@ -390,7 +390,7 @@ func (t *Task) checkBlockBlobs(block *consensus.Block, blockData *spec.Versioned
390390 }
391391
392392 if len (blobs ) < t .config .MinBlobCount {
393- t .logger .Debugf ("check failed for block %v [0x%x]: not enough blobs (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinBlobCount , len (blobs ))
393+ t .logger .Infof ("check failed for block %v [0x%x]: not enough blobs (want: >= %v, have: %v)" , block .Slot , block .Root , t .config .MinBlobCount , len (blobs ))
394394 return false
395395 }
396396
0 commit comments