@@ -408,7 +408,7 @@ proc processAttestation*(
408
408
409
409
ok ()
410
410
else :
411
- debug " Dropping attestation" , validationError = v.error
411
+ debug " Dropping attestation" , reason = v.error
412
412
beacon_attestations_dropped.inc (1 , [$ v.error[0 ]])
413
413
err (v.error ())
414
414
@@ -464,7 +464,7 @@ proc processSignedAggregateAndProof*(
464
464
465
465
ok ()
466
466
else :
467
- debug " Dropping aggregate" , error = v.error
467
+ debug " Dropping aggregate" , reason = v.error
468
468
beacon_aggregates_dropped.inc (1 , [$ v.error[0 ]])
469
469
470
470
err (v.error ())
@@ -488,7 +488,7 @@ proc processBlsToExecutionChange*(
488
488
self.validatorChangePool[].addMessage (
489
489
blsToExecutionChange, src == MsgSource .api)
490
490
else :
491
- debug " Dropping BLS to execution change" , validationError = v.error
491
+ debug " Dropping BLS to execution change" , reason = v.error
492
492
beacon_attester_slashings_dropped.inc (1 , [$ v.error[0 ]])
493
493
494
494
return v
@@ -512,7 +512,7 @@ proc processAttesterSlashing*(
512
512
513
513
beacon_attester_slashings_received.inc ()
514
514
else :
515
- debug " Dropping attester slashing" , validationError = v.error
515
+ debug " Dropping attester slashing" , reason = v.error
516
516
beacon_attester_slashings_dropped.inc (1 , [$ v.error[0 ]])
517
517
518
518
v
@@ -535,7 +535,7 @@ proc processProposerSlashing*(
535
535
536
536
beacon_proposer_slashings_received.inc ()
537
537
else :
538
- debug " Dropping proposer slashing" , validationError = v.error
538
+ debug " Dropping proposer slashing" , reason = v.error
539
539
beacon_proposer_slashings_dropped.inc (1 , [$ v.error[0 ]])
540
540
541
541
v
@@ -559,7 +559,7 @@ proc processSignedVoluntaryExit*(
559
559
560
560
beacon_voluntary_exits_received.inc ()
561
561
else :
562
- debug " Dropping voluntary exit" , error = v.error
562
+ debug " Dropping voluntary exit" , reason = v.error
563
563
beacon_voluntary_exits_dropped.inc (1 , [$ v.error[0 ]])
564
564
565
565
v
@@ -605,7 +605,7 @@ proc processSyncCommitteeMessage*(
605
605
606
606
ok ()
607
607
else :
608
- debug " Dropping sync committee message" , error = v.error
608
+ debug " Dropping sync committee message" , reason = v.error
609
609
beacon_sync_committee_messages_dropped.inc (1 , [$ v.error[0 ]])
610
610
err (v.error ())
611
611
@@ -650,7 +650,7 @@ proc processSignedContributionAndProof*(
650
650
651
651
ok ()
652
652
else :
653
- debug " Dropping contribution" , error = v.error
653
+ debug " Dropping contribution" , reason = v.error
654
654
beacon_sync_committee_contributions_dropped.inc (1 , [$ v.error[0 ]])
655
655
656
656
err (v.error ())
0 commit comments