Errors/Chain errors
KeepStakeBlockedByCollateral
The action exceeds a configured safety policy
A hotkey swap with keep_stake=true was refused because the old hotkey still has standing miner registration collateral. keep_stake leaves stake on the old key while the UID moves, which would strand the bond. Retry with keep_stake=false so collateral migrates with the UID; on-chain hotkey lineage maps track the rename for blacklist continuity. Or drain the bond through earned emission first.
Declared by the SubtensorModule pallet; it classifies to the semantic code policy_violation.
Declared at pallets/subtensor/src/macros/errors.rs#L219.
Remediation
The action exceeds a configured safety policy
The same explanation is available in the terminal: btcli explain KeepStakeBlockedByCollateral.