NotEnoughStakeToSetChildkeys
Error Re-added v216 → v219, v233 → v315, v320 → current 7.11The parent hotkey needs more stake to set child keys .
Why This Error Exists
Child keys allow validators to delegate their weight-setting authority to other hotkeys. This is useful for multi-validator setups or managed services. However, to prevent spam, there's a minimum stake requirement - only established validators with significant stake can create child key relationships.
Deep Dive
The minimum stake for setting child keys is checked against the parent hotkey's TotalHotkeyStake (sum of all stake delegated to that hotkey). This ensures that only validators with meaningful economic stake can delegate authority. The child key then inherits the ability to set weights on behalf of the parent.
Debugging Example
You call set_childkey_take(netuid=1, hotkey=5Parent..., child=5Child..., take=1000). Error: NotEnoughStakeToSetChildkeys. Query TotalHotkeyStake(5Parent...) - returns 50 TAO. Minimum required might be 100 TAO. Solution: Stake 50+ more TAO to the parent hotkey, then retry.
Prevention Tips
- Verify your hotkey has sufficient stake before setting up child keys
- Consider stake requirements when planning multi-validator architectures
- Monitor your stake level - dropping below minimum invalidates child key privileges
From Chain Metadata
The parent hotkey doesn't have enough own stake to set childkeys.
What This Means
The parent hotkey needs more stake to set child keys.
Common Causes
- Parent's own stake is below the required minimum
- Stake from delegators doesn't count - only own stake
How to Fix
- Increase stake on the parent hotkey
- Check the minimum stake requirement for child keys
Storage to Check
Thrown By
Version History
Runtime Info
- Pallet Index
- 7
- Error Index
- 11
- Error Code
- 7.11
- Runtime Version
- v393