Skip to content

consensus: surface late and excluded commit signatures to operators - #5093

Open
GheisMohammadi wants to merge 1 commit into
devfrom
improve/late_signature_visibility
Open

consensus: surface late and excluded commit signatures to operators#5093
GheisMohammadi wants to merge 1 commit into
devfrom
improve/late_signature_visibility

Conversation

@GheisMohammadi

Copy link
Copy Markdown
Collaborator

Validators can lose signing percentage when their commit vote arrives too late for FBFT to include it. That is expected protocol behavior, but today there is often no clear local signal—only a drop in signing stats.

This PR adds logging and a Prometheus metric so operators can see when:

  1. This validator signed a block, but its key is missing from the final COMMITTED bitmap (Warn log)
  2. The leader receives a prepare/commit vote for a block it already finalized (Info log)

Consensus behavior is unchanged. Late votes are still dropped; we only make that visible.

Metric

hmy_consensus_late_signature{role,phase}

  • role=validator, phase=committed — local key missing from final commit bitmap
  • role=leader, phase=PREPARE|COMMIT — vote for the previous (just finalized) block

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant