Skip to content

chore: metric on how many epochs validator has been on committee#20967

Merged
spypsy merged 3 commits intomerge-train/spartanfrom
spy/validator-committee-metric
Mar 2, 2026
Merged

chore: metric on how many epochs validator has been on committee#20967
spypsy merged 3 commits intomerge-train/spartanfrom
spy/validator-committee-metric

Conversation

@spypsy
Copy link
Member

@spypsy spypsy commented Feb 27, 2026

Fixes A-298

@spypsy spypsy marked this pull request as ready for review February 27, 2026 17:39
@spypsy spypsy merged commit 0cfca01 into merge-train/spartan Mar 2, 2026
16 of 20 checks passed
@spypsy spypsy deleted the spy/validator-committee-metric branch March 2, 2026 09:41
@AztecBot
Copy link
Collaborator

AztecBot commented Mar 2, 2026

❌ Failed to cherry-pick to v4 due to conflicts. Dispatching ClaudeBox to resolve. View backport run.

spypsy added a commit that referenced this pull request Mar 2, 2026
… been on committee) (#20989)

## Summary
Backport of #20967
to v4.

- Adds metrics tracking how many epochs each validator has been on the
committee
- Adds `ATTESTER_ADDRESS` attribute, `VALIDATOR_CURRENT_EPOCH` and
`VALIDATOR_ATTESTED_EPOCH_COUNT` metric definitions
- Adds Grafana dashboard panels for Attester Epoch Participation
(current epoch, attested epochs per attester, participation rate)
- Tracks epoch participation per attester in the validator client

### Conflict resolution
- `yarn-project/telemetry-client/src/attributes.ts`: v4 doesn't have HA
signer attributes (`HA_DUTY_TYPE`, `HA_NODE_ID`). Added only the new
`ATTESTER_ADDRESS` attribute.
- `spartan/metrics/grafana/dashboards/aztec_validators.json`: v4 doesn't
have HA Signing Coordination dashboard panels. Added only the new
Attester Epoch Participation panels with adjusted y positions.

Fixes
[A-298](https://linear.app/aztec-labs/issue/A-298/metric-how-many-epochs-validator-has-been-on-committee)

[ClaudeBox log](http://ci.aztec-labs.com/11ad132d2af4d581-1)

Co-authored-by: spypsy <spypsy@outlook.com>
github-merge-queue bot pushed a commit that referenced this pull request Mar 3, 2026
BEGIN_COMMIT_OVERRIDE
fix: track last seen nonce in case of stale fallback L1 RPC node
(#20855)
feat: Validate num txs in block proposals (#20850)
fix(archiver): enforce checkpoint boundary on rollbackTo (#20908)
fix: tps zero metrics (#20656)
fix: handle scientific notation in bigintConfigHelper (#20929)
feat(aztec): node enters standby mode on genesis root mismatch (#20938)
fix: logging of class instances (#20807)
feat(slasher): make slash grace period relative to rollup upgrade time
(#20942)
chore: add script to find PRs to backport (#20956)
chore: remove unused prover-node dep (#20955)
fix: increase minFeePadding in e2e_bot bridge resume tests and harden
GasFees.mul() (#20962)
feat(sequencer): (A-526) rotate publishers when send fails (#20888)
chore: (A-554) bump reth version 1.6.0 -> 1.11.1 for eth devnet (#20889)
chore: metric on how many epochs validator has been on committee
(#20967)
fix: set wallet minFeePadding in BotFactory constructor (#20992)
chore: deflake epoch invalidate block test (#21001)
chore(sequencer): e2e tests for invalid signature recovery in checkpoint
attestations (#20971)
chore: deflake duplicate proposals and attestations (#20990)
chore: deflake epochs mbps test (#21003)
feat: reenable function selectors in txPublicSetupAllowList (#20909)
fix: limit offenses when voting in tally slashing mode by
slashMaxPayloadSize (#20683)
fix(spartan): wire SEQ_L1_PUBLISHING_TIME_ALLOWANCE_IN_SLOT env var
(#21017)
END_COMMIT_OVERRIDE
ludamad added a commit that referenced this pull request Mar 3, 2026
BEGIN_COMMIT_OVERRIDE
fix(aztec-nr): account for AES PKCS#7 padding in message plaintext
length (#20840)
feat: remove epk sign from message payload (#20926)
chore: increase mainnet local ejection threshold to 190k (#20884)
feat: add pinned-build support for protocol contracts in noir-contracts
(v4) (#20982)
fix!: undo bad fix (#20987)
chore: backport #20967 to v4 (metric on how many epochs validator has
been on committee) (#20989)
chore(sequencer): e2e tests for invalid signature recovery in checkpoint
attestations (#20971)
feat: allow custom addresses to be prefunded with fee juice in local
network (backport #21000) (#21004)
chore: increase max fee bots use in tests (#20867)
END_COMMIT_OVERRIDE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants