@@ -408,7 +408,7 @@ proc processAttestation*(
408408
409409 ok ()
410410 else :
411- debug " Dropping attestation" , validationError = v.error
411+ debug " Dropping attestation" , reason = v.error
412412 beacon_attestations_dropped.inc (1 , [$ v.error[0 ]])
413413 err (v.error ())
414414
@@ -464,7 +464,7 @@ proc processSignedAggregateAndProof*(
464464
465465 ok ()
466466 else :
467- debug " Dropping aggregate" , error = v.error
467+ debug " Dropping aggregate" , reason = v.error
468468 beacon_aggregates_dropped.inc (1 , [$ v.error[0 ]])
469469
470470 err (v.error ())
@@ -488,7 +488,7 @@ proc processBlsToExecutionChange*(
488488 self.validatorChangePool[].addMessage (
489489 blsToExecutionChange, src == MsgSource .api)
490490 else :
491- debug " Dropping BLS to execution change" , validationError = v.error
491+ debug " Dropping BLS to execution change" , reason = v.error
492492 beacon_attester_slashings_dropped.inc (1 , [$ v.error[0 ]])
493493
494494 return v
@@ -512,7 +512,7 @@ proc processAttesterSlashing*(
512512
513513 beacon_attester_slashings_received.inc ()
514514 else :
515- debug " Dropping attester slashing" , validationError = v.error
515+ debug " Dropping attester slashing" , reason = v.error
516516 beacon_attester_slashings_dropped.inc (1 , [$ v.error[0 ]])
517517
518518 v
@@ -535,7 +535,7 @@ proc processProposerSlashing*(
535535
536536 beacon_proposer_slashings_received.inc ()
537537 else :
538- debug " Dropping proposer slashing" , validationError = v.error
538+ debug " Dropping proposer slashing" , reason = v.error
539539 beacon_proposer_slashings_dropped.inc (1 , [$ v.error[0 ]])
540540
541541 v
@@ -559,7 +559,7 @@ proc processSignedVoluntaryExit*(
559559
560560 beacon_voluntary_exits_received.inc ()
561561 else :
562- debug " Dropping voluntary exit" , error = v.error
562+ debug " Dropping voluntary exit" , reason = v.error
563563 beacon_voluntary_exits_dropped.inc (1 , [$ v.error[0 ]])
564564
565565 v
@@ -605,7 +605,7 @@ proc processSyncCommitteeMessage*(
605605
606606 ok ()
607607 else :
608- debug " Dropping sync committee message" , error = v.error
608+ debug " Dropping sync committee message" , reason = v.error
609609 beacon_sync_committee_messages_dropped.inc (1 , [$ v.error[0 ]])
610610 err (v.error ())
611611
@@ -650,7 +650,7 @@ proc processSignedContributionAndProof*(
650650
651651 ok ()
652652 else :
653- debug " Dropping contribution" , error = v.error
653+ debug " Dropping contribution" , reason = v.error
654654 beacon_sync_committee_contributions_dropped.inc (1 , [$ v.error[0 ]])
655655
656656 err (v.error ())
0 commit comments