TooManyUnrevealedCommits

Error Re-added v205 → v212, v216 → v216, v217 → v219, v233 → v315, v320 → v326, v334 → v377, v385 → current 7.76

You have too many pending weight commits awaiting reveal.

Encountered by: validatorsdevelopers

Why This Error Exists

To prevent storage bloat from unrevealed commits, there's a limit on pending commitments. You must reveal or let commits expire before making new ones. This ensures validators complete the commit-reveal cycle rather than endlessly committing without following through.

Deep Dive

The exact limit depends on the commit-reveal version (CRV3 has different rules than earlier versions). WeightCommits or CRV3WeightCommits stores your pending commits. If you hit the limit, you must either: 1) Reveal existing commits, or 2) Wait for them to expire (after RevealPeriodEpochs epochs).

Debugging Example

You call commit_weights(netuid=5, hash=0xnew...). Error: TooManyUnrevealedCommits. Query CRV3WeightCommits(your_hotkey, 5) - returns [(hash1, block1), (hash2, block2), (hash3, block3)]. You have 3 unrevealed commits (limit might be 3). Solution: Reveal one of them or wait for one to expire.

Prevention Tips

  • Always reveal commits before making new ones
  • Set up monitoring to track unrevealed commits
  • Implement automatic reveal in your validator to prevent accumulation

From Chain Metadata

Maximum commit limit reached

What This Means

You have too many pending weight commits awaiting reveal.

Common Causes

  • Committed multiple times without revealing
  • Maximum pending commits limit reached

How to Fix

  • Reveal your pending commits before making new ones
  • Let expired commits clear out

Storage to Check

Thrown By

Version History

v205 block 4,209,446 Added
v216 block 4,510,996 Re-added
v217 block 4,590,522 Re-added
v233 block 4,920,350 Re-added
v320 block 6,523,566 Re-added
v334 block 6,811,690 Re-added
v385 block 7,782,670 Re-added Current

Runtime Info

Pallet Index
7
Error Index
76
Error Code
7.76
Runtime Version
v393