CannotBurnOrRecycleOnRootSubnet

Error Re-added v257 → v315, v320 → v326, v334 → v377, v385 → current 7.90

Burn and recycle operations aren't allowed on the root subnet .

Encountered by: stakersdeveloperssubnet owners

Why This Error Exists

The root network (netuid 0) doesn't use alpha tokens - it operates directly with TAO. Alpha/burn/recycle mechanics are specific to regular subnets (netuid > 0) as part of Dynamic TAO. The root subnet uses traditional staking because it governs emissions across all other subnets.

Deep Dive

Dynamic TAO introduced alpha tokens for subnets, creating AMM pools that exchange TAO <-> alpha. The root subnet (netuid 0) predates this mechanism and doesn't participate. Stake on root is direct TAO stake, not alpha. Operations like burn_alpha, recycle_alpha, or swap_alpha_for_tao are undefined for netuid 0.

Debugging Example

You call burn_alpha(netuid=0, amount=100). Error: CannotBurnOrRecycleOnRootSubnet. Netuid 0 is root - no alpha tokens exist there. Solution: If you want to reduce stake on root, use remove_stake instead. For alpha operations, use netuid > 0.

Prevention Tips

  • Check netuid != 0 before alpha/burn/recycle operations
  • For root network, use standard staking calls (add_stake, remove_stake)
  • Document which subnets use Dynamic TAO alpha vs traditional staking

From Chain Metadata

Cannot burn or recycle TAO from root subnet

What This Means

Burn and recycle operations aren't allowed on the root subnet.

Common Causes

  • Trying to burn/recycle on netuid 0
  • Root subnet has different rules

How to Fix

  • Use a different subnet for burn/recycle operations
  • Root subnet uses TAO directly

Storage to Check

Thrown By

Version History

v257 block 5,228,683 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
90
Error Code
7.90
Runtime Version
v393