SubtensorModule

#7

The main Bittensor pallet containing all subnet, staking, and consensus logic

Part of Bittensor Core: The heart of Bittensor - subnets, staking, validation, and emissions

Filter by: +4 more
AccountFlags storage v421 → v472

MAP ( coldkey ) --> flags | Account-level flags. Defaults to zero.

AccountRejectsLockedAlpha error v421 → v472 #149

The destination coldkey rejects incoming locked alpha.

AccumulatedLeaseDividends storage v290 → v472

Accumulated dividends pending distribution for subnet leases.

SubnetsStakingEmissions
Active storage v101 → v472

Whether neurons are active on a subnet.

Modified by: burned_register, register +1
●●●●○○ Medium usage Calls + Hooks
MiningValidationMetagraph
ActiveLockExists error v411 → v472 #140

There is already an active lock for the given coldkey.

ActivityCutoff storage v101 → v472

Blocks of inactivity before pruning.

Modified by: register_network
SubnetsAdminMetagraph
ActivityCutoffFactorMilli storage v423 → v472

MAP ( netuid ) --> activity-cutoff factor in per-mille epochs (1/1000 granularity).

ActivityCutoffFactorMilliOutOfBounds error v423 → v472 #145

The supplied activity-cutoff factor is outside the allowed range.

ActivityCutoffFactorMilliSet event v423 → v472 #135

Activity-cutoff factor (per-mille) set on a subnet by its owner.

ActivityCutoffSet event v101 → v472 #16

Emitted when activity cutoff threshold is changed.

SubnetsAdminMetagraph
ActivityCutoffTooLow error v247 → v472 #86

The activity cutoff value being set is too low.

add_collateral call v437 → v472 #144

Locks additional miner collateral (in alpha) on the signer's own

add_stake call v101 → v472 #2

Transfers TAO from coldkey's free balance to stake on a hotkey.

Emits: StakeAdded, AggregatedStakeAdded +3 Modifies: TotalStake, Alpha +8
●●●●●○ Core usage
StakingAlpha
add_stake_burn call v385 → v472 #132

The extrinsic is a combination of add_stake(add_stake_limit) and burn_alpha. We buy

Emits: AddStakeBurn
add_stake_limit call v233 → v472 #88

Adds stake with a price limit for slippage protection.

Emits: StakeAdded Modifies: TotalStake, Alpha +8
●●●●●○ Core usage
StakingAlpha
AddStakeBurn event v385 → v472 #125

"Add stake and burn" event: alpha token was purchased and burned.

Emitted by: add_stake, add_stake_burn Modifies: Alpha, NumStakingColdkeys +8
AddStakeBurnRateLimitExceeded error v385 → v472 #131

"Add stake and burn" exceeded the operation rate limit

AdjustmentAlpha storage v126 → v472

Alpha for difficulty adjustment algorithm.

Modified by: register_network
SubnetsAdmin
AdjustmentAlphaSet event v126 → v472 #56

Emitted when difficulty adjustment alpha parameter is changed.

SubnetsAdmin
AdjustmentInterval storage v101 → v472

Blocks between difficulty adjustments.

Modified by: register_network
SubnetsAdmin
AdjustmentIntervalSet event v101 → v472 #13

Emitted when difficulty adjustment interval is changed.

SubnetsAdmin
AdminActionProhibitedDuringWeightsWindow error v320 → v472 #108

Admin operation is prohibited during the protected weights window.

Thrown by: start_call
AdminFreezeWindow storage v320 → v472

Window length at tempo end during which admin operations are frozen.

Admin
AdminFreezeWindowSet event v320 → v472 #44

Emitted when admin freeze window is changed.

Admin
AllBalanceUnstakedAndTransferredToNewColdkey event v156 → v472 #74

Emitted when all stake is unstaked and transferred during coldkey swap.

Emitted by: swap_coldkey Modifies: Alpha, NumStakingColdkeys +6
Staking
AllNetworksInImmunity error v133 → v472 #44

All subnets are in their immunity period, so none can be pruned.

Thrown by: register_network, register_network_with_identity +1
Alpha storage v233 → v472

Legacy alpha stake per (hotkey, coldkey, netuid), stored as FixedU128 { bits }. Superseded by AlphaV2 at v401.

Modified by: add_stake, add_stake_limit +13
●●●●●● Ultra-High usage
StakingAlpha
AlphaBurned event v257 → v472 #98

Emitted when alpha tokens are permanently burned.

Emitted by: burn_alpha Modifies: Alpha, TotalHotkeyAlpha +2
SystemAlpha
AlphaDividendsPerSubnet storage v233 → v472

Nominator share of alpha dividends per hotkey per subnet at the last epoch, net of the validator take.

StakingAlphaEmissions
AlphaHigh constant v156 → v472

Upper bound for alpha parameter.

AlphaHighTooLow error v156 → v472 #56

The alpha high parameter is below the minimum (must be > 0.8).

AlphaLow constant v156 → v472

Lower bound for alpha parameter.

AlphaLowOutOfRange error v156 → v472 #57

The alpha low parameter is out of valid range (must be 0 < alpha_low < 0.8).

AlphaMapLastKey storage v334 → v472

Last key used for Alpha storage map iteration.

StakingAlpha
AlphaRecycled event v257 → v472 #97

Emitted when alpha tokens are recycled back to the subnet.

Emitted by: recycle_alpha Modifies: Alpha, RAORecycledForRegistration +3
SystemAlpha
AlphaShareEpoch storage v459 → v472

The pool epoch a share row was last written in.

AlphaSharePoolEpoch storage v459 → v472

Generation counter of a hotkey alpha share pool on a subnet.

AlphaSigmoidSteepness storage v273 → v472

Steepness parameter for the alpha sigmoid function per subnet.

SystemAdminAlpha
AlphaSigmoidSteepnessSet event v273 → v472 #18

Emitted when alpha sigmoid steepness parameter is changed.

SystemAdminAlpha
AlphaV2 storage v401 → v472

V2 alpha stake per (hotkey, coldkey, netuid), stored as SafeFloat { mantissa, exponent }. Supersedes Alpha at v401.

AlphaV2MapLastKey storage v401 → v472

Contains last AlphaV2 storage map key to iterate (check first)

AlphaValues storage v156 → v472

Alpha low and high bounds per subnet.

StakingAlpha
AmountTooLow error v233 → v472 #82

The stake amount provided is too low.

Thrown by: add_stake_limit, remove_stake_limit +4
announce_coldkey_swap call v385 → v472 #125

Announces a coldkey swap using BlakeTwo256 hash of the new coldkey.

Emits: ColdkeySwapAnnounced
AnnouncedColdkeyHashDoesNotMatch error v385 → v472 #68

The coldkey you passed to swap_coldkey_announced does not hash to the value you announced.

ArbitrationPeriodExtended event v161 → v472 #75

Emitted when a coldkey swap arbitration period is extended due to dispute.

SystemIdentity
associate_evm_key call v261 → v472 #93

Associates an EVM key with a Substrate account.

Emits: EvmKeyAssociated Modifies: AssociatedEvmAddress, LastTxBlock
SystemIdentity
AssociatedEvmAddress storage v261 → v472

EVM address associated with a neuron position.

Modified by: associate_evm_key
●●○○○○ Minimal usage
SystemIdentity
AssociatedUidsByEvmAddress storage v432 → v472

DMAP (netuid, H160) --> associated UIDs and last block where ownership was proven.

AutoEpochAlreadyImminent error v423 → v472 #147

The next automatic epoch is already imminent; a manual trigger would have no effect.

AutoParentDelegationEnabled storage v401 → v472

--- MAP ( hotkey ) --> parent_delegation_enabled

AutoParentDelegationEnabledSet event v401 → v472 #131

A root validator toggled the "auto parent delegation" flag.

AutoStakeAdded event v315 → v472 #110

Emitted at the epoch when miner incentive is staked to an AutoStakeDestination hotkey instead of the mining hotkey.

Emitted by: set_coldkey_auto_stake_hotkey, add_stake Modifies: Alpha, AutoStakeDestination +10
●●●●○○ Significant usage
Staking
AutoStakeDestination storage v315 → v472

Hotkey that receives a coldkey's miner incentive on a subnet, instead of the mining hotkey.

Modified by: set_coldkey_auto_stake_hotkey
Staking
AutoStakeDestinationColdkeys storage v326 → v472

Coldkeys using auto-stake on a subnet.

Modified by: set_coldkey_auto_stake_hotkey
Staking
AutoStakeDestinationSet event v326 → v472 #113

Emitted when a coldkey sets its auto-stake destination hotkey.

Emitted by: set_coldkey_auto_stake_hotkey Modifies: AutoStakeDestination, AutoStakeDestinationColdkeys
Staking
Axons storage v101 → v472

Axon server info for neurons.

Modified by: serve_axon, serve_axon_tls +1
●●●●●○ High usage
MiningIdentity
AxonServed event v101 → v472 #29

Emitted when a neuron updates their axon server information.

Emitted by: serve_axon, serve_axon_tls Modifies: Axons, LastTxBlock +1
●●●●○○ Significant usage
MiningIdentity
BalanceWithdrawalError error v101 → v472 #13

An error occurred while withdrawing balance.

Thrown by: add_stake
BasketAlphaWrittenOff event v452 → v472 #148

Emitted when basket alpha on a terminally shallow pool is burned instead of sold, because no executable sale exists.

BasketClaimDustSkipped event v468 → v472 New in v468 #152

Emitted when a root claim left some fund rows unsold because they were dust.

BasketClaimed event v441 → v472 #118

Emitted per validator when a staker redeems their pro-rata slice of that validator's basket.

Emitted by: claim_root, claim_root_with_hotkey Modifies: BasketClaimed, BasketRedeemedTao +3
StakingEmissions
BasketClaimed storage v441 → v472

Double map (validator_hotkey, staker_coldkey) to the claimed watermark used to net off entitlement.

Modified by: claim_root, claim_root_with_hotkey +1
StakingEmissions
BasketClaimForfeitCapTao storage v468 → v472 New in v468

Hard bound, in rao, on what any one skipped slice may be worth.

BasketClaimRowDustBps storage v468 → v472 New in v468

Relative part of the row-dust floor, in basis points of the fund anchored NAV.

BasketClaimRowDustCapTao storage v468 → v472 New in v468

Absolute cap, in rao, on the row-dust floor of a root claim.

BasketClaimSliceDustTao storage v468 → v472 New in v468

Rao value below which a root claim leaves its own slice of a row unsold.

BasketConcentrationCap storage v464 → v472

Largest u16-normalized share of fund NAV one holding may reach through a swap_basket buy.

BasketConcentrationCapExceeded error v464 → v472 #165

After the buy, the destination holding would exceed BasketConcentrationCap of fund NAV.

Thrown by: swap_basket, swap_basket_many
BasketDailyTurnoverCap storage v464 → v472

Capacity of each fund swap_basket turnover bucket as a u16-normalized share of NAV.

BasketDeposited event v441 → v472 #116

Emitted when a validator's root dividend is deployed into its basket, minting fund shares at the pre-deposit NAV.

StakingValidationEmissions +1
BasketDepositedTao storage v441 → v472

Map (validator_hotkey) to lifetime TAO deposited into the basket.

Modified by: stake_into_basket
StakingValidationEmissions
BasketDepositPending error v452 → v472 #161

Declared for a queued root-dividend deposit that could not be settled. No dispatch path raises it in the current runtime.

BasketHasNoWeights error v441 → v472 #155

Retired. This variant is kept only so later error variants keep their SCALE indices.

BasketHoldingConverted event v441 → v472 #119

Emitted when a basket holding on a dissolving subnet is converted into the fund's root TAO slot.

StakingSubnetsAlpha
BasketLiquidityCap storage v464 → v472

Largest u16-normalized share of a subnet alpha reserve a fund may hold there after a swap_basket buy.

BasketLiquidityCapExceeded error v464 → v472 #170

After the buy, the fund would hold more of the destination subnet than BasketLiquidityCap allows as a share of that pool alpha reserve.

Thrown by: swap_basket, swap_basket_many
BasketLiquidityUsed storage v466 → v472

Alpha a fund bought into a subnet within the current refill window, decaying to zero.

Modified by: swap_basket, swap_basket_many
BasketMinOutNotMet error v464 → v472 #171

The buy leg credited less than the min_amount_out you passed. The whole trade rolled back.

Thrown by: swap_basket, swap_basket_many
BasketRate storage v441 → v472

Map (validator_hotkey) to the cumulative fund-shares-per-root-stake accumulator.

StakingEmissions
BasketRedeemedTao storage v441 → v472

Map (validator_hotkey) to lifetime TAO redeemed out of the basket.

Modified by: claim_root, claim_root_with_hotkey
StakingValidationEmissions
BasketSameSubnet error v464 → v472 #169

origin_netuid and destination_netuid are the same subnet.

Thrown by: swap_basket, swap_basket_many
BasketShares storage v441 → v472

Map (validator_hotkey) to total fund shares outstanding for that basket.

Modified by: claim_root, claim_root_with_hotkey +1
StakingEmissions
BasketStakedIn event v441 → v472 #117

Emitted when a staker deposits TAO from free balance directly into a validator's basket.

Emitted by: stake_into_basket Modifies: BasketClaimed, BasketDepositedTao +1
StakingEmissions
BasketSwapBatchEmpty error v470 → v472 New in v470 #172

A swap_basket_many call contained no legs. Nothing was checked or traded, and no dividends were flushed.

Thrown by: swap_basket_many
BasketSwapped event v464 → v472 #151

Emitted when swap_basket, or one leg of swap_basket_many (v470), rebalances a validator beta basket.

Emitted by: swap_basket, swap_basket_many Modifies: BasketLiquidityUsed, BasketTradeBucket
BasketTradeBucket storage v464 → v472

Per-fund swap_basket turnover bucket: TAO available and the block it was last refilled.

Modified by: swap_basket, swap_basket_many
BasketTradingDisabled error v464 → v472 #166

swap_basket is switched off network-wide: BasketTradingEnabled is false.

Thrown by: swap_basket, swap_basket_many
BasketTradingEnabled storage v464 → v472

Master switch for validator basket trading (swap_basket).

BasketTradingFrozen storage v464 → v472

Validator hotkeys whose basket trading governance has frozen.

BasketTradingFrozen error v464 → v472 #167

Governance froze basket trading for this validator hotkey.

Thrown by: swap_basket, swap_basket_many
BasketTurnoverBudgetExceeded error v464 → v472 #168

The TAO through the middle of the trade is more than the fund turnover bucket currently holds.

Thrown by: swap_basket, swap_basket_many
BasketTwr storage v450 → v472

Map (validator_hotkey) to the fund staker total-return accumulator, the canonical root-staker return series.

batch_commit_weights call v216 → v472 #100

Commits weights on multiple subnets in a single transaction.

Emits: WeightsCommitted, BatchWeightsCompleted +2 Modifies: WeightCommits, LastTxBlock
ValidationWeights
batch_reveal_weights call v205 → v472 #98

Reveals committed weights on multiple subnets in a single transaction.

Emits: WeightsRevealed, WeightsBatchRevealed Modifies: Weights, LastUpdate +1
ValidationWeights
batch_set_weights call v216 → v472 #80

Sets weights on multiple subnets in a single transaction.

Emits: WeightsSet, BatchWeightsCompleted +2 Modifies: Weights, LastUpdate
ValidationWeights
BatchCompletedWithErrors event v216 → v472 #90

Emitted when a batch operation completes but some items failed.

Emitted by: batch_set_weights, batch_commit_weights Modifies: LastTxBlock, LastUpdate +2
ValidationWeights
BatchWeightItemFailed event v216 → v472 #91

Emitted when an individual weight set within a batch fails.

Emitted by: batch_set_weights, batch_commit_weights Modifies: LastTxBlock, LastUpdate +2
ValidationWeights
BatchWeightsCompleted event v216 → v472 #89

Emitted when a batch of weights is successfully set across multiple subnets.

Emitted by: batch_set_weights, batch_commit_weights Modifies: LastTxBlock, LastUpdate +2
ValidationWeights
BeneficiaryDoesNotOwnHotkey error v290 → v472 #106

The beneficiary does not own the specified hotkey.

BetaBaseline storage v450 → v472

Map (validator_hotkey) to the frozen display baseline splicing the fund onto the basket index.

BetaBaselineStamped event v450 → v472 #147

Emitted when a fund frozen display baseline is stamped at its first share mint.

BetaBasketSeedInProgress error v441 → v472 #157

The beta basket seed migration has not finished, so basket-touching operations are paused.

Thrown by: claim_root, claim_root_with_hotkey +3
BetaIndexFundSample storage v450 → v472

Map (validator_hotkey) to the fund last completed index-sweep sample: NAV, display price, and stake price.

BetaIndexSnapshot storage v450 → v472

The latest published beta-index levels: display, stake, and the completing block.

BetaIndexSweep storage v450 → v472

In-progress state of the paged beta-index sweep; present only mid-pass.

BlockAtRegistration storage v101 → v472

Block number when a neuron registered.

Modified by: burned_register, register +1
●●●●○○ Medium usage
MiningRegistration
BlockEmission storage v101 → v472

Holds the base emission constant of 1 TAO per block. The rate actually minted each block is derived from total issuance by calculate_block_emission, not read from here.

SystemEmissions
BlocksSinceLastStep storage v101 → v472

Blocks since the last successful epoch run, capped at tempo + 1.

Runtime Hook Modified by runtime hooks, not user extrinsics
SystemEmissions
Bonds storage v101 → v472

Bond values between neurons.

Runtime Hook Modified by runtime hooks, not user extrinsics
ValidationMetagraph
BondsMovingAverage storage v101 → v472

Moving average period for bonds.

Modified by: register_network
SubnetsAdminMetagraph
BondsMovingAverageSet event v101 → v472 #25

Emitted when bonds moving average parameter is changed.

SubnetsAdminMetagraph
BondsPenalty storage v233 → v472

Penalty factor applied to bonds per subnet.

SubnetsAdminMetagraph
BondsPenaltySet event v233 → v472 #26

Emitted when bonds penalty parameter is changed.

SubnetsAdminMetagraph
BondsResetOn storage v273 → v472

Whether bonds reset is enabled for a subnet.

SubnetsAdminMetagraph
BondsResetOnSet event v273 → v472 #27

Emitted when bonds reset behavior is toggled.

SubnetsAdminMetagraph
BulkBalancesSet event v101 → v472 #9

Emitted when balances are bulk-set (admin operation).

Admin
BulkNeuronsRegistered event v101 → v472 #8

Emitted when multiple neurons are registered in a single operation.

Emitted by: register Modifies: Active, BlockAtRegistration +16
MiningRegistration
Burn storage v101 → v472

Burn amount for registration.

Modified by: burned_register
SubnetsMiningRegistration
burn_alpha call v257 → v472 #102

Permanently burns alpha tokens.

Emits: AlphaBurned Modifies: Alpha, TotalHotkeyAlpha +2
●●○○○○ Low usage
StakingAlpha
BurnAccountId constant v411 → v472

PalletId used to derive the on-chain burn account (b"burntnsr").

burned_register call v101 → v472 #7

Registers a neuron by paying TAO instead of solving POW.

Emits: NeuronRegistered Modifies: Uids, Keys +18
●●●●●● Dominant usage
MiningRegistration
BurnHalfLife storage v401 → v472

MAP ( netuid ) --> BurnHalfLife (blocks)

BurnHalfLifeSet event v401 → v472 #129

Burn half-life set for neuron registration.

BurnIncreaseMult storage v401 → v472

MAP ( netuid ) --> BurnIncreaseMult

BurnIncreaseMultSet event v401 → v472 #130

Emitted when the burn-increase multiplier is updated on a subnet, controlling burn registration cost growth.

BurnRegistrationsThisInterval storage v101 → v472

Burn registrations in current interval.

Modified by: burned_register
MiningRegistration
BurnSet event v101 → v472 #37

Emitted when burn registration cost is changed.

SubnetsAdminRegistration
CallDisabled error v252 → v472 #87

This call is currently disabled.

Thrown by: stake_into_basket
CannotAffordLockCost error v320 → v472 #117

Insufficient balance to pay the subnet lock cost.

Thrown by: register_network, register_network_with_identity
CannotBurnOrRecycleOnRootSubnet error v257 → v472 #91

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

Thrown by: recycle_alpha, burn_alpha
CanNotSetRootNetworkWeights error v151 → v472 #47

Cannot set weights for the root network with this method.

CannotUseSystemAccount error v411 → v472 #141

A system account cannot be used in this operation

ChainIdentitySet event v195 → v472 #78

Emitted when on-chain identity is set for a hotkey.

Emitted by: set_identity Modifies: IdentitiesV2, LastTxBlock
SystemIdentity
ChildKeys storage v195 → v472

Child hotkeys and proportions for a parent hotkey on a subnet.

Modified by: set_children, swap_hotkey
●●●○○○ Low usage
Staking
ChildkeyTake storage v195 → v472

Child-hotkey commission fraction on a subnet, encoded as u16. To get the fraction: value / u16::MAX (i.e. value / 65535). NOT basis points (10000) or percent (100).

Modified by: set_childkey_take, swap_hotkey
●●○○○○ Minimal usage
Staking
ChildKeyTakeSet event v195 → v472 #49

Emitted when a child hotkey's take rate is set.

Emitted by: set_childkey_take Modifies: ChildkeyTake, LastTxBlockChildKeyTake
Staking
ChildkeyThresholdChecks storage v459 → v472

Queue of parent hotkeys whose stake just changed and need a childkey threshold re-check.

ChildkeyThresholdSuspended storage v459 → v472

Parent hotkeys whose total stake is below StakeThreshold, with their child relations inert.

ChildParentInconsistency error v334 → v472 #123

Violating the rules of childkey-parentkey consistency.

Thrown by: set_children
CKBurn storage v315 → v472

Fraction of a parent dividend share recycled when parent and child hotkeys have different coldkeys, as u64 / u64::MAX.

System
claim_root call v334 → v472 #121

Redeems accrued basket entitlement across every validator the coldkey root-stakes to. The subnets argument is ignored.

Emits: RootClaimed, BasketClaimed Modifies: BasketClaimed, BasketRedeemedTao +3
StakingEmissions
claim_root_with_hotkey call v441 → v472 #148

Redeems the coldkey's accrued basket entitlement on one validator hotkey.

Emits: RootClaimed, BasketClaimed Modifies: BasketClaimed, BasketRedeemedTao +1
StakingEmissions
clear_coldkey_swap_announcement call v385 → v472 #133

Clears a coldkey swap announcement after the reannouncement delay if

ColdKeyAlreadyAssociated error v156 → v472 #58

The coldkey has already been swapped.

Thrown by: associate_evm_key
ColdkeyCollateralHotkeys storage v437 → v472

DMAP ( netuid, coldkey ) --> BoundedVec of hotkeys

ColdkeyCollateralIncomplete error v437 → v472 #153

Coldkey swap could not fully migrate miner collateral: the old coldkey's [`ColdkeyMinerCollateral`] aggregate remained non-zero after migrating every indexed collateral hotkey. Failing closed avoids under-locking the destination unstake guard.

ColdkeyCollateralPositionsFull error v437 → v472 #154

This coldkey already has the maximum number of distinct hotkeys with miner collateral on the subnet ([`crate::MAX_COLDKEY_COLLATERAL_HOTKEYS`]).

ColdkeyMinerCollateral storage v437 → v472

MAP ( netuid, coldkey ) --> total locked miner collateral

ColdkeyRoot storage v437 → v472

Global map from any coldkey to the first coldkey in its swap lineage.

ColdkeySuccessor storage v437 → v472

Global map from an old coldkey to the coldkey that replaced it.

ColdkeySwapAlreadyDisputed error v385 → v472 #69

This coldkey already has a dispute recorded, so it cannot be disputed again.

ColdkeySwapAnnounced event v385 → v472 #70

Emitted when a coldkey commits to a future swap by publishing the hash of its replacement. This freezes the account.

Emitted by: announce_coldkey_swap
ColdkeySwapAnnounced error v385 → v472 #132

Your call was rejected because this coldkey has an open swap announcement. An announced coldkey can only run the swap lifecycle calls.

ColdkeySwapAnnouncementDelay storage v385 → v472

Blocks a coldkey swap announcement must wait before it can be executed.

ColdkeySwapAnnouncementDelaySet event v385 → v472 #82

Emitted when governance changes how long a coldkey swap announcement must wait.

ColdkeySwapAnnouncementNotFound error v385 → v472 #65

There is no pending swap announcement for this coldkey to act on.

ColdkeySwapAnnouncements storage v385 → v472

Pending coldkey swap announcements, keyed by the coldkey being replaced.

ColdkeySwapCleared event v385 → v472 #127

Emitted when a coldkey abandons its own pending swap announcement.

ColdkeySwapClearTooEarly error v385 → v472 #134

You tried to abandon a pending announcement before it became eligible to be cleared.

ColdkeySwapDisputed event v385 → v472 #73

Emitted when a coldkey disputes its own pending swap, escalating it for manual resolution and blocking every call.

Emitted by: dispute_coldkey_swap
ColdkeySwapDisputed error v385 → v472 #133

Your call was rejected because this coldkey has a disputed swap. A dispute blocks every call, including the swap calls themselves.

ColdkeySwapDisputes storage v385 → v472

Coldkeys whose pending swap has been disputed, with the block the dispute was raised.

ColdkeySwapped event v156 → v472 #72

Emitted when a coldkey swap completes, transferring all assets to the new coldkey.

Emitted by: swap_coldkey Modifies: Alpha, NumStakingColdkeys +6
SystemIdentity
ColdkeySwapReannouncedTooEarly error v385 → v472 #67

You tried to replace a pending announcement before it became eligible for reannouncement.

ColdkeySwapReannouncementDelay storage v385 → v472

Blocks after an announcement becomes executable before it may be reannounced or cleared.

ColdkeySwapReannouncementDelaySet event v385 → v472 #83

Emitted when governance changes how long a coldkey must wait before reannouncing or clearing a swap.

ColdkeySwapReset event v385 → v472 #71

Emitted when root clears a coldkey swap announcement and any dispute, returning the account to normal.

ColdkeySwapTooEarly error v385 → v472 #66

The announcement exists and the hash matches, but its waiting period has not elapsed.

ColdkeySwapTooHeavy error v464 → v472 #164

The coldkey stakes through more hotkeys, or holds more stake positions, than one swap_coldkey call is priced to move.

CollateralDrainRatio storage v437 → v472

MAP ( netuid ) --> CollateralDrainRatio (k)

CollateralLocked event v437 → v472 #144

Miner collateral was staked and locked (at registration or via

CollateralLockShare storage v437 → v472

MAP ( netuid ) --> CollateralLockShare (p)

commit_crv3_mechanism_weights call v320 → v472 #117

Commits weights using CRV3 (commit-reveal v3) mechanism.

Emits: CRV3WeightsCommitted Modifies: CRV3WeightCommits, CRV3WeightCommitsV2 +1
ValidationWeights
commit_mechanism_weights call v320 → v472 #115

Commits weights using the standard mechanism.

Emits: WeightsCommitted Modifies: WeightCommits, LastTxBlock
ValidationWeights
commit_timelocked_mechanism_weights call v320 → v472 #118

Commits mechanism weights with timelock.

Emits: TimelockedWeightsCommitted Modifies: TimelockedWeightCommits, LastTxBlock
●●●●●○ Core usage
ValidationWeights
commit_timelocked_weights call v301 → v472 #113

Commits weights with a specific reveal round.

Emits: TimelockedWeightsCommitted Modifies: TimelockedWeightCommits, LastTxBlock
●●●●●○ Core usage
ValidationWeights
commit_weights call v151 → v472 #96

Commits a hash of weights for later reveal.

Emits: WeightsCommitted Modifies: WeightCommits, LastTxBlock
●●●○○○ Moderate usage
ValidationWeights
CommitRevealDisabled error v151 → v472 #54

Commit-reveal is disabled but you tried to use it.

Thrown by: commit_weights, commit_mechanism_weights +7
CommitRevealEnabled event v261 → v472 #102

Emitted when commit-reveal mode is toggled for a subnet.

ValidationAdminWeights
CommitRevealEnabled error v151 → v472 #53

This subnet requires commit-reveal for weights, but you called set_weights directly.

Thrown by: set_weights
CommitRevealPeriodsSet event v261 → v472 #101

Emitted when the commit-reveal period length is changed.

ValidationAdminWeights
CommitRevealVersionSet event v301 → v472 #107

Emitted when the required commit-reveal version is updated.

ValidationAdminWeights
CommitRevealWeightsEnabled storage v151 → v472

Whether commit-reveal weights is enabled per subnet.

ValidationAdminWeights
CommitRevealWeightsVersion storage v301 → v472

Current version of the commit-reveal weights protocol.

ValidationAdminWeights
CommittingWeightsTooFast error v205 → v472 #81

You're committing weights more frequently than allowed.

Thrown by: commit_weights, commit_mechanism_weights
Consensus storage v101 → v472

Consensus scores for neurons on a subnet.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
MiningValidationMetagraph
ConsensusByMechanism storage v446 → v472

The previous epoch's consensus vector, held per subnet mechanism.

CRV3WeightCommits storage v216 → v472

Commit-reveal v3 weight commits storage (deprecated, empty at v411).

Modified by: commit_crv3_mechanism_weights
●●●●●○ High usage
ValidationWeights
CRV3WeightCommitsV2 storage v297 → v472

Commit-reveal v3.2 weight commits storage (deprecated, empty at v411).

Modified by: commit_crv3_mechanism_weights
ValidationWeights
CRV3WeightsCommitted event v216 → v472 #85

Emitted when weights are committed using commit-reveal v3 protocol.

Emitted by: commit_crv3_mechanism_weights Modifies: CRV3WeightCommits, CRV3WeightCommitsV2 +1
●●●●○○ Significant usage
ValidationWeights
CRV3WeightsRevealed event v261 → v472 #100

Emitted when CRV3 committed weights are revealed.

Emitted by: reveal_weights Modifies: LastUpdate, WeightCommits +1
●●●●○○ Significant usage
ValidationWeights
CurrentDissolveCleanupStatus storage v432 → v472

Cursor for the in-progress subnet dissolution cleanup walk.

DecayingHotkeyLock storage v411 → v472

Total decaying (non-perpetual) lock per hotkey per subnet. DMAP (netuid, hotkey) → LockState.

DecayingLock storage v411 → v472

Marks an individual (coldkey, subnet) lock as decaying. DMAP (coldkey, netuid) → bool. Absence of an entry means the lock decays by default; presence with false means perpetual.

DecayingOwnerLock storage v411 → v472

Total decaying lock to the owner hotkey for a subnet. MAP (netuid) → LockState.

decrease_take call v149 → v472 #65

Decreases the delegate's commission rate.

Emits: TakeDecreased Modifies: Delegates, LastTxBlockDelegateTake
Validation
DefaultTakeSet event v101 → v472 #32

Emitted when the default delegate take rate is changed.

ValidationAdmin
DelegateAdded event v101 → v472 #31

Emitted when a hotkey becomes a delegate (validator accepting external stake).

Emitted by: become_delegate Modifies: Delegates
StakingValidation
Delegates storage v101 → v472

Delegation take for a hotkey, as PerU16 (parts per 65535).

Modified by: become_delegate, decrease_take +2
●●○○○○ Minimal usage
Validation
DelegateTakeTooHigh error v151 → v472 #50

The delegate take rate exceeds the maximum allowed.

Thrown by: increase_take
DelegateTakeTooLow error v151 → v472 #49

The delegate take rate is below the minimum allowed.

Thrown by: decrease_take
DelegateTxRateLimitExceeded error v151 → v472 #34

You're modifying delegate settings too frequently.

Thrown by: increase_take
Deprecated error v385 → v472 #128

Deprecated call.

Difficulty storage v101 → v472

POW difficulty for registration.

Modified by: register_network
SubnetsMiningRegistration
DifficultySet event v101 → v472 #12

Emitted when POW registration difficulty is changed.

●●●●○○ Significant usage
SubnetsAdminRegistration
disable_voting_power_tracking call v385 → v472 #130

Schedules disabling of voting power tracking for a subnet.

Emits: VotingPowerTrackingDisabled
DisabledTemporarily error v392 → v472 #135

Disabled temporarily.

dispute_coldkey_swap call v385 → v472 #127

Dispute a coldkey swap.

Emits: ColdkeySwapDisputed
dissolve_network call v133 → v472 #61

Removes a subnet from the network.

Emits: NetworkRemoved, DissolveNetworkScheduled +1 Modifies: NetworksAdded, SubnetOwner +2
Subnets
DissolveCleanupQueue storage v432 → v472

Netuids that have been removed but whose storage cleanup has not finished.

DissolveNetworkScheduled event v195 → v472 #81

Declared in the runtime but not emitted at v453. The call that produced it, schedule_dissolve_network, was removed at v306.

Emitted by: dissolve_network, schedule_dissolve_network Modifies: ColdkeySwapScheduled, NetworksAdded +2
Subnets
DissolveNetworkScheduleDuration storage v195 → v472

Block-count setting that no runtime path reads since v315. Reads 36000 at v454.

Admin
DissolveNetworkScheduleDurationSet event v195 → v472 #84

Emitted when dissolve network schedule duration is changed.

Emitted by: dissolve_network, schedule_dissolve_network Modifies: ColdkeySwapScheduled, NetworksAdded +2
SubnetsAdmin
Dividends storage v101 → v472

Dividend scores for neurons on a subnet.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
MiningValidationMetagraph
DuplicateChild error v195 → v472 #61

The same child hotkey appears multiple times in the list.

Thrown by: set_children
DuplicateUids error v101 → v472 #17

The caller is attempting to set weights with duplicate UIDs.

Thrown by: set_weights, set_mechanism_weights +1
DynamicTempoBlockedByCommitReveal error v423 → v472 #148

`trigger_epoch` is blocked because commit-reveal is enabled for this subnet: an out-of-band epoch would desync the CRv3 reveal window from the wall-clock Drand schedule and silently drop committed weights.

EMAPriceHalvingBlocks storage v252 → v472

Blocks for EMA price to halve per subnet.

SystemAdminAlpha
Emission storage v101 → v472

Emission amounts for neurons on a subnet.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
MiningValidationMetagraph +1
EmissionBarQuantile storage v440 → v472

q, the demand-mass fraction used to place the emission gate bar when EmissionBarRank is zero. ITEM, U64F64.

EmissionBarRank storage v441 → v472

Emission bar rank N. When non-zero, the gate bar θ is set to the Nth-largest positive demand share at each recompute.

AdminEmissionsSubnets
EmissionGateBar storage v440 → v472

θ, the demand-share threshold the Hill emission gate is centred on. ITEM, U64F64. Zero means not yet computed and disables the gate.

EmissionGateExponent storage v440 → v472

h, the steepness of the Hill emission gate. ITEM, U64F64. Governance-set.

enable_voting_power_tracking call v385 → v472 #129

Enables voting power tracking for a subnet.

Emits: VotingPowerTrackingEnabled
EpochDeferred event v423 → v472 #137

An epoch slot was deferred to the next block due to the per-block epoch cap.

EpochSkipped event v423 → v472 #138

Epoch execution skipped by `is_epoch_input_state_consistent` returned false or other errors.

EpochTriggerAlreadyPending error v423 → v472 #146

An epoch trigger is already pending for this subnet; wait for it to fire before triggering again.

EpochTriggered event v423 → v472 #136

Owner manually triggered an epoch for their subnet.

Emitted by: trigger_epoch
EvmKeyAssociated event v261 → v472 #99

Emitted when an EVM key is associated with a Substrate account.

Emitted by: associate_evm_key Modifies: AssociatedEvmAddress, LastTxBlock
SystemIdentity
EvmKeyAssociateRateLimitExceeded error v323 → v472 #118

Exceeded the rate limit for associating an EVM key.

Thrown by: associate_evm_key
EvmKeyAssociationLimitExceeded error v432 → v472 #119

The EVM address already has the maximum number of associated UIDs on this subnet.

ExpectedBeneficiaryOrigin error v290 → v472 #107

Expected beneficiary origin for this operation.

ExpiredWeightCommit error v205 → v472 #78

The weight commitment has expired before reveal.

Thrown by: reveal_weights, reveal_mechanism_weights +1
Faucet event v133 → v472 #57

Emitted when testnet faucet dispenses tokens.

Emitted by: faucet
MiningSystemRegistration
FaucetDisabled error v133 → v472 #40

The faucet is disabled on this network.

FirstEmissionBlockNumber storage v257 → v472

Block number of first emission for a subnet.

Modified by: start_call
●●○○○○ Minimal usage
SystemAdminEmissions
FirstEmissionBlockNumberAlreadySet error v257 → v472 #88

FirstEmissionBlockNumber is already set.

Thrown by: start_call
FirstEmissionBlockNumberSet event v257 → v472 #96

Emitted when the first emission block is set for a subnet.

Emitted by: start_call Modifies: FirstEmissionBlockNumber
SystemAdminEmissions
FlowEmaSmoothingFactor storage v334 → v472

EMA weight for the TAO-flow accumulators, as u64 / i64::MAX. Unread on the emission path since v421.

SystemAdminAlpha
FlowNormExponent storage v334 → v472

Power exponent p of the TAO-flow allocator. Present since v334; unread on the emission path since v421.

SystemAdminAlpha
HasMigrationRun storage v165 → v472

Tracks which migrations have been executed.

Admin
HotKeyAccountNotExists error v151 → v472 #5

The hotkey account does not exist.

Thrown by: try_associate_hotkey, set_children +1
HotKeyAlreadyDelegate error v151 → v472 #28

This hotkey is already registered as a delegate.

Thrown by: become_delegate
HotKeyAlreadyRegisteredInSubNet error v151 → v472 #21

This hotkey is already registered on the specified subnet.

Thrown by: register, burned_register +1
HotkeyLock storage v411 → v472

Total non-owner lock per hotkey per subnet. DMAP (subnet, hotkey) → LockState.

HotKeyNotRegisteredInNetwork error v151 → v472 #6

The hotkey is not registered in any subnet.

HotKeyNotRegisteredInSubNet error v151 → v472 #4

The hotkey you're trying to interact with is not registered on the specified subnet.

Thrown by: add_stake, add_stake_limit +32
HotkeyRoot storage v437 → v472

DMap ( netuid, hotkey ) --> root_hotkey | first hotkey in this subnet's

HotKeySetTxRateLimitExceeded error v151 → v472 #35

A transactor exceeded the rate limit for setting or swapping hotkey.

Thrown by: set_children
HotkeySuccessor storage v437 → v472

DMap ( netuid, old_hotkey ) --> new_hotkey | hotkey swap successor on a subnet.

HotkeySwapOnSubnetInterval constant v276 → v472

Blocks between allowed hotkey swaps on subnet.

HotKeySwapOnSubnetIntervalNotPassed error v276 → v472 #95

Not enough time has passed since the last hotkey swap on this subnet.

Thrown by: swap_hotkey
HotkeySwapped event v136 → v472 #67

Emitted when a hotkey is swapped to a new address.

Emitted by: swap_hotkey Modifies: Alpha, Axons +15
SystemIdentity
HotkeySwappedOnSubnet event v276 → v472 #103

Emitted for each subnet when a hotkey swap occurs.

Emitted by: swap_hotkey Modifies: Alpha, Axons +15
SystemIdentity
IdentitiesV2 storage v233 → v472

Identity metadata for coldkey accounts (v2).

Modified by: set_identity
●●○○○○ Minimal usage
SystemIdentity
ImmuneOwnerUidsLimit storage v306 → v472

Maximum UIDs a subnet owner can make immune from pruning.

SubnetsAdminMetagraph
ImmunityPeriod storage v101 → v472

Immunity period for new neurons (blocks).

Modified by: register_network
SubnetsAdminMetagraph
ImmunityPeriodSet event v101 → v472 #24

Emitted when neuron immunity period is changed.

SubnetsAdminMetagraph
Incentive storage v101 → v472

Incentive scores for neurons on a subnet.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
MiningValidationMetagraph
IncentiveAlphaEmittedToMiners event v315 → v472 #111

Emitted at end of epoch showing alpha distributed to miners by UID.

●●●○○○ Active usage
MiningEmissionsAlpha
IncorrectCommitRevealVersion error v301 → v472 #111

Incorrect commit-reveal version.

Thrown by: commit_timelocked_weights, commit_timelocked_mechanism_weights
IncorrectWeightVersionKey error v151 → v472 #30

A validator is attempting to set weights with incorrect weight version.

Thrown by: set_weights, set_mechanism_weights
increase_take call v149 → v472 #66

Increases the delegate's commission rate.

Emits: TakeIncreased Modifies: Delegates, LastTxBlockDelegateTake
Validation
InitialActivityCutoff constant v101 → v472

Initial blocks of inactivity before neuron is pruned.

InitialAdjustmentAlpha constant v126 → v472

Initial alpha parameter for difficulty adjustment.

InitialAdjustmentInterval constant v101 → v472

Initial blocks between difficulty adjustments.

InitialAlphaSigmoidSteepness constant v273 → v472

Initial steepness of alpha sigmoid curve.

InitialBondsMovingAverage constant v101 → v472

Initial moving average period for bond calculations.

InitialBondsPenalty constant v233 → v472

Initial penalty factor for bond calculations.

InitialBondsResetOn constant v273 → v472

Initial setting for bonds reset behavior.

InitialBurn constant v101 → v472

Initial TAO burn cost for registration.

InitialColdkeySwapAnnouncementDelay constant v385 → v472

Genesis default for the coldkey swap announcement delay, in blocks.

InitialColdkeySwapReannouncementDelay constant v385 → v472

Genesis default for the coldkey swap reannouncement delay, in blocks.

InitialDefaultChildKeyTake constant v195 → v472

Initial default take for child hotkeys.

InitialDefaultDelegateTake constant v195 → v472

Initial default commission rate for new delegates.

InitialDifficulty constant v101 → v472

Initial proof-of-work difficulty for registration.

InitialDissolveNetworkScheduleDuration constant v195 → v472

Initial duration before network dissolution executes.

InitialEmaPriceHalvingPeriod constant v252 → v472

Initial EMA price halving period in blocks.

InitialEmissionValue constant v101 → v472

Initial emission ratio for new subnets.

InitialImmunityPeriod constant v101 → v472

Initial immunity period for new neurons.

InitialIssuance constant v101 → v472

Initial TAO supply at genesis.

InitialKappa constant v101 → v472

Initial kappa parameter for consensus.

InitialMaxAllowedUids constant v101 → v472

Initial maximum neurons per subnet.

InitialMaxAllowedValidators constant v101 → v472

Initial maximum validators per subnet.

InitialMaxBurn constant v101 → v472

Initial maximum burn cost for registration.

InitialMaxChildKeyTake constant v195 → v472

Initial maximum child key take rate.

InitialMaxDifficulty constant v101 → v472

Initial maximum POW difficulty.

InitialMaxEpochsPerBlock constant v423 → v472

Initial per-block cap on subnet epochs executed in a single block_step.

InitialMaxRegistrationsPerBlock constant v101 → v472

Initial max registrations allowed per block.

InitialMinAllowedUids constant v320 → v472

Initial minimum UIDs required on subnet.

InitialMinAllowedWeights constant v101 → v472

Initial minimum number of weights a validator must set.

InitialMinBurn constant v101 → v472

Initial minimum burn cost for registration.

InitialMinChildKeyTake constant v195 → v472

Initial minimum child key take rate.

InitialMinDelegateTake constant v195 → v472

Initial minimum delegate commission rate.

InitialMinDifficulty constant v101 → v472

Initial minimum POW difficulty.

InitialMinStake constant v413 → v472

Initial minimum stake, in rao.

InitialMinTransfer constant v437 → v472

Initial minimum stake transfer amount.

InitialNetworkImmunityPeriod constant v133 → v472

Initial immunity period for new subnets (in blocks).

InitialNetworkLockReductionInterval constant v133 → v472

Initial blocks between lock cost reductions.

InitialNetworkMinLockCost constant v133 → v472

Initial minimum TAO required to lock for subnet creation.

InitialNetworkRateLimit constant v133 → v472

Initial blocks between allowed subnet creations.

InitialPruningScore constant v101 → v472

Initial pruning score assigned to new neurons.

InitialRAORecycledForRegistration constant v118 → v472

Default value seeding the per-subnet RAORecycledForRegistration storage map.

InitialRho constant v101 → v472

Initial rho parameter for emission formula.

InitialScalingLawPower constant v101 → v472

Initial power factor for scaling law calculations.

InitialServingRateLimit constant v101 → v472

Initial blocks between serving info updates.

InitialStartCallDelay constant v372 → v472

Initial delay before subnets can start emissions.

InitialSubnetOwnerCut constant v133 → v472

Initial percentage of emissions going to subnet owner.

InitialTaoWeight constant v233 → v472

Initial weight of TAO in pool calculations.

InitialTargetRegistrationsPerInterval constant v101 → v472

Target number of registrations per adjustment interval.

InitialTempo constant v101 → v472

Initial tempo (blocks between emissions) for new subnets.

InitialTxChildKeyTakeRateLimit constant v195 → v472

Initial rate limit for child key take changes.

InitialTxDelegateTakeRateLimit constant v149 → v472

Initial rate limit for delegate take changes.

InitialTxRateLimit constant v101 → v472

Initial blocks between allowed transactions for rate limiting.

InitialValidatorPruneLen constant v101 → v472

Initial number of validators considered for pruning.

InitialWeightsVersionKey constant v101 → v472

Initial version key required for setting weights.

InputLengthsUnequal error v205 → v472 #80

Attempted to batch reveal weights with mismatched vector input lengths.

Thrown by: batch_set_weights, batch_commit_weights +1
InsufficientAlphaBalance error v432 → v472 #152

The caller does not have enough Alpha stake for the operation.

InsufficientLiquidity error v233 → v472 #83

Not enough liquidity in the pool for this operation.

InsufficientStakeForLock error v411 → v472 #138

Insufficient stake on subnet to cover the lock amount.

InsufficientTaoBalance error v432 → v472 #98

The caller does not have enough TAO balance for the operation.

InvalidBatchLength error v464 → v472 #162

A per-subnet weight batch is empty or carries more items than there are networks.

InvalidChild error v195 → v472 #60

The child hotkey specified is not valid for this relationship.

Thrown by: set_children
InvalidChildkeyTake error v195 → v472 #71

The child key take rate is outside the allowed range.

Thrown by: set_childkey_take
InvalidDifficulty error v101 → v472 #25

The supplied PoW hash block does not meet the network difficulty.

Thrown by: register
InvalidIdentity error v195 → v472 #73

Invalid identity information provided.

Thrown by: register_network_with_identity, set_identity +1
InvalidIpAddress error v101 → v472 #2

An invalid IP address was passed to the serve function.

Thrown by: serve_axon, serve_axon_tls +1
InvalidIpType error v101 → v472 #1

The user is trying to serve an axon which is not of type 4 (IPv4) or 6 (IPv6).

Thrown by: serve_axon, serve_axon_tls +1
InvalidLeaseBeneficiary error v290 → v472 #99

Invalid lease beneficiary to register the leased network.

Thrown by: register_leased_network, terminate_lease
InvalidPort error v121 → v472 #3

An invalid port was passed to the serve function.

Thrown by: serve_axon, serve_axon_tls +1
InvalidRecoveredPublicKey error v261 → v472 #93

Recovered public key is invalid.

Thrown by: associate_evm_key
InvalidRevealCommitHashNotMatch error v151 → v472 #52

The revealed weights don't match the committed hash.

Thrown by: reveal_weights, reveal_mechanism_weights +1
InvalidRevealRound error v423 → v472 #112

Reveal round is older than the most recently stored DRAND round.

InvalidRootClaimThreshold error v334 → v472 #124

Invalid value of root claim threshold.

Thrown by: sudo_set_root_claim_threshold
InvalidSeal error v101 → v472 #26

The supplied PoW hash seal does not match the supplied work.

Thrown by: register
InvalidValue error v306 → v472 #115

Generic error for out-of-range parameter value.

InvalidVotingPowerEmaAlpha error v385 → v472 #127

Invalid voting power EMA alpha value (must be <= 10^18).

InvalidWorkBlock error v101 → v472 #24

The supplied PoW hash block is in the future or negative.

Thrown by: register
IsNetworkMember storage v101 → v472

Whether a hotkey is registered on a subnet.

Modified by: burned_register, register +2
●●●●○○ Medium usage
MiningRegistration
Kappa storage v101 → v472

Kappa parameter for consensus.

Modified by: register_network
SubnetsAdminMetagraph
KappaSet event v101 → v472 #19

Emitted when kappa parameter is changed.

SubnetsAdminMetagraph
KeepStakeBlockedByCollateral error v437 → v472 #96

`keep_stake` hotkey swap refused because the old hotkey still has standing miner collateral. Stake would stay on the old key while the UID moves, stranding the bond. Swap with `keep_stake=false` so collateral migrates with the UID (lineage maps track the rename).

Keys storage v101 → v472

Hotkey at a specific UID on a subnet.

Modified by: burned_register, register +2
●●●●○○ Medium usage
MiningMetagraphRegistration
KeySwapCost constant v162 → v472

Cost to swap a hotkey.

KeySwapOnSubnetCost constant v276 → v472

Cost to swap a hotkey on a specific subnet.

LargestLocked storage v233 → v472

Per-subnet u64 written only at genesis and removed on dissolution. Reads 0 on subnets 1, 3, 64 and 100 at v454.

System
LastAdjustmentBlock storage v101 → v472

Block of last difficulty/burn adjustment per subnet.

Subnets
LastColdkeyHotkeyStakeBlock storage v238 → v472

Block when stake was last added/removed for a coldkey-hotkey pair.

Staking
LastEpochBlock storage v423 → v472

Block at which the subnet last consumed an epoch slot, run or skipped.

LastHotkeyEmissionOnNetuid storage v233 → v472

Block of last emission received by a hotkey on a subnet.

MiningEmissions
LastHotkeySwapOnNetuid storage v276 → v472

Block of last hotkey swap on a subnet.

Modified by: swap_hotkey
SystemIdentity
LastMechansimStepBlock storage v101 → v472

Last block when emission mechanism stepped.

Runtime Hook Modified by runtime hooks, not user extrinsics
SystemEmissions
LastRateLimitedBlock storage v273 → v472

Block of last rate-limited operation by key type.

System
LastTxBlock storage v101 → v472

Block of last transaction for an account.

Modified by: associate_evm_key, batch_commit_weights +11
●●●●●○ High usage
System
LastTxBlockChildKeyTake storage v195 → v472

Block of last childkey take change for an account.

Modified by: set_childkey_take
Staking
LastTxBlockDelegateTake storage v149 → v472

Block of last delegate take change for an account.

Modified by: decrease_take, increase_take
Validation
LastUpdate storage v101 → v472

Block number of last weight update for a neuron.

Modified by: batch_reveal_weights, batch_set_weights +4
●●●●●● Ultra-High usage Calls + Hooks
ValidationMetagraph
LeaseCannotEndInThePast error v290 → v472 #100

Lease cannot end in the past.

Thrown by: register_leased_network
LeaseDividendsDistributionInterval constant v290 → v472

Blocks between lease dividend distributions.

LeaseDoesNotExist error v290 → v472 #102

The lease does not exist.

Thrown by: terminate_lease
LeaseHasNoEndBlock error v290 → v472 #103

The lease has no end block defined.

Thrown by: terminate_lease
LeaseHasNotEnded error v290 → v472 #104

The lease has not ended yet.

Thrown by: terminate_lease
LeaseNetuidNotFound error v290 → v472 #101

Couldn't find the lease netuid.

Thrown by: terminate_lease
LiquidAlphaConsensusMode storage v446 → v472

Which consensus vector liquid alpha uses when it prices bonds on a subnet.

LiquidAlphaConsensusModeSet event v446 → v472 #146

Emitted when a subnet's liquid-alpha consensus mode was updated.

LiquidAlphaDisabled error v156 → v472 #55

Liquid Alpha feature is disabled on this subnet.

LiquidAlphaOn storage v156 → v472

Whether Liquid Alpha is enabled per subnet.

SystemAdminAlpha
LiquidAlphaOn constant v156 → v472

Flag indicating if Liquid Alpha is enabled.

LoadedEmission storage v101 → v472

Preloaded emission data for a subnet.

SystemEmissions
Lock storage v411 → v472

Per-coldkey per-subnet per-hotkey lock state. DMAP (coldkey, subnet, hotkey) → LockState.

lock_stake call v411 → v472 #136

Locks alpha stake on a hotkey/subnet to build conviction. Locks decay over time unless set perpetual.

Emits: StakeLocked
LockHotkeyMismatch error v411 → v472 #137

Lock hotkey mismatch: existing lock is for a different hotkey.

LockIdOverFlow error v432 → v472 #150

The coldkey has already registered too many subnets

LockingColdkeys storage v423 → v472

NMAP ( netuid, hotkey, coldkey ) --> () | Reverse index for non-zero locks targeting this hotkey on this subnet.

LockMoved event v411 → v472 #134

Emitted when a coldkey moves an existing lock from one hotkey to another on the same subnet.

Emitted by: move_lock
MaturityRate storage v411 → v472

Decay timescale in blocks for lock conviction. ITEM, default ~90 days.

MaxActivityCutoffFactorMilli constant v423 → v472

Upper bound for the owner-set activity-cutoff factor, in per-mille.

MaxAllowedUids storage v101 → v472

Maximum neurons allowed on subnet.

Modified by: register_network
SubnetsAdminMetagraph
MaxAllowedUidsSet event v101 → v472 #10

Emitted when maximum neurons allowed on subnet is changed.

SubnetsAdminMetagraph
MaxAllowedValidators storage v101 → v472

Maximum validators on a subnet.

Modified by: register_network
ValidationAdminMetagraph
MaxAllowedValidatorsSet event v101 → v472 #28

Emitted when maximum validators allowed is changed.

SubnetsAdminMetagraph
MaxBurn storage v101 → v472

Maximum burn for registration.

Modified by: register_network
SubnetsAdminRegistration
MaxBurnLowerBound constant v315 → v472

Lower bound for maximum burn value.

MaxBurnSet event v101 → v472 #38

Emitted when maximum burn for registration is changed.

SubnetsAdminRegistration
MaxChildkeyTake storage v195 → v472

Maximum allowed child key take rate.

Modified by: sudo_set_max_childkey_take
StakingAdmin
MaxChildKeyTakeSet event v195 → v472 #48

Emitted when maximum child key take rate is changed.

Emitted by: sudo_set_max_childkey_take Modifies: MaxChildkeyTake
StakingAdmin
MaxDelegateTake storage v195 → v472

Maximum allowed delegate take rate.

ValidationAdmin
MaxDelegateTakeSet event v149 → v472 #68

Emitted when the maximum allowed delegate take is changed.

ValidationAdmin
MaxDifficulty storage v101 → v472

Maximum POW difficulty.

Modified by: register_network
SubnetsAdminRegistration
MaxDifficultySet event v101 → v472 #35

Emitted when maximum POW difficulty is changed.

SubnetsAdminRegistration
MaxEpochsPerBlock storage v423 → v472

Cap on how many subnet epochs may run in a single block.

MaxEpochsPerBlockSet event v423 → v472 #40

setting the per-block epoch cap (dynamic tempo throttle).

MaxImmuneUidsPercentage constant v320 → v472

Maximum percentage of UIDs that can be immune.

MaxMechanismCount storage v385 → v472

ITEM( max_mechanism_count )

MaxRegistrationsPerBlock storage v101 → v472

Maximum registrations allowed per block.

MiningAdminRegistration
MaxRegistrationsPerBlockSet event v101 → v472 #15

Emitted when maximum registrations per block is changed.

MiningAdminRegistration
MaxTempo constant v423 → v472

Upper bound for owner-set tempo, in blocks.

MaxWeightExceeded error v101 → v472 #27

Weight value exceeds the maximum limit (currently u16::MAX).

Thrown by: set_weights, set_mechanism_weights
MaxWeightLimitSet event v101 → v472 #11

Emitted when maximum weight limit is changed.

SubnetsAdminWeights
MaxWeightsLimit storage v101 → v472

Per-subnet u16 that no runtime path reads or writes since v334. Reads 65535 on subnet 1 at v454.

Modified by: register_network
SubnetsAdminWeights
MechanismCountCurrent storage v320 → v472

Current number of mechanisms active on a subnet.

Subnets
MechanismDoesNotExist error v233 → v472 #74

Subnet mechanism does not exist.

Thrown by: set_weights, set_mechanism_weights +8
MechanismEmissionSplit storage v320 → v472

Emission distribution ratios between mechanisms per subnet.

SubnetsEmissions
MinActivityCutoff storage v247 → v472

Minimum activity required for neurons to remain registered.

SubnetsAdminMetagraph
MinActivityCutoffFactorMilli constant v423 → v472

Lower bound for the owner-set activity-cutoff factor, in per-mille.

MinAllowedUids storage v320 → v472

Minimum UIDs a subnet must maintain.

SubnetsAdminMetagraph
MinAllowedUidsSet event v320 → v472 #112

Emitted when minimum allowed UIDs is changed.

SubnetsAdminMetagraph
MinAllowedWeights storage v101 → v472

Minimum weights a validator must set.

Modified by: register_network
SubnetsAdminWeights
MinAllowedWeightSet event v101 → v472 #20

Emitted when minimum required weights per validator is changed.

SubnetsAdminWeights
MinBurn storage v101 → v472

Minimum burn for registration.

Modified by: register_network
SubnetsAdminRegistration
MinBurnSet event v101 → v472 #39

Emitted when minimum burn for registration is changed.

SubnetsAdminRegistration
MinBurnUpperBound constant v315 → v472

Upper bound for minimum burn value.

MinChildkeyTake storage v195 → v472

Minimum allowed child key take rate.

Modified by: sudo_set_min_childkey_take
StakingAdmin
MinChildkeyTakePerSubnet storage v411 → v472

Per-subnet minimum child-key take floor. MAP (netuid) → u16.

MinChildKeyTakePerSubnetSet event v411 → v472 #47

Emitted when a subnet's minimum child-key take floor is updated.

MinChildKeyTakeSet event v195 → v472 #46

Emitted when minimum child key take rate is changed.

Emitted by: sudo_set_min_childkey_take Modifies: MinChildkeyTake
StakingAdmin
MinCollateralSet event v437 → v472 #145

A miner set the self-maintaining collateral floor for a hotkey.

MinDelegateTake storage v195 → v472

Minimum allowed delegate take rate.

ValidationAdmin
MinDelegateTakeSet event v149 → v472 #69

Emitted when the minimum allowed delegate take is changed.

ValidationAdmin
MinDifficulty storage v101 → v472

Minimum POW difficulty.

Modified by: register_network
SubnetsAdminRegistration
MinDifficultySet event v101 → v472 #34

Emitted when minimum POW difficulty is changed.

SubnetsAdminRegistration
MinerBurned storage v421 → v472

Fraction of the last epoch miner incentive withheld from miners because it was assigned to owner hotkeys.

MinerCollateral storage v437 → v472

Registration collateral state for a (netuid, hotkey, coldkey) stake position.

MinNonImmuneUids storage v365 → v472

Minimum non-immune UIDs required per subnet.

SubnetsAdminMetagraph
MinNonImmuneUidsSet event v365 → v472 #114

Emitted when minimum non-immune UIDs is changed.

SubnetsAdminMetagraph
MinTempo constant v423 → v472

Lower bound for owner-set tempo, in blocks.

move_lock call v411 → v472 #137

Moves an existing lock to a new destination hotkey on the same subnet, preserving locked mass but resetting conviction.

Emits: LockMoved
move_stake call v233 → v472 #85

Moves stake from one hotkey/subnet to another.

Emits: StakeMoved Modifies: Alpha, TotalHotkeyAlpha +5
●●●●●○ Core usage
StakingAlpha
move_stake_limit call v448 → v472 #149

Moves stake from one hotkey to another and, when the subnets differ, protects the move with a relative price limit.

NeedWaitingMoreBlocksToStarCall error v257 → v472 #89

Need to wait for more blocks to accept the start call extrinsic.

Thrown by: start_call
NetTaoFlowEnabled storage v411 → v472

Global toggle for net TAO flow accounting. ITEM, bool. Read only by dead code since v421.

NetworkAdded event v101 → v472 #0

Emitted when a new subnet is created on Bittensor.

Emitted by: register_network, register_network_with_identity +1 Modifies: ActivityCutoff, AdjustmentAlpha +32
SubnetsRegistration
NetworkDissolveAlreadyQueued error v432 → v472 #130

Dissolution was requested for a netuid that is already sitting in the cleanup queue from an earlier removal.

NetworkDissolveCleanupCompleted event v432 → v472 #126

Emitted when the phased cleanup walk for a dissolved subnet finishes and the subnet's storage is fully cleared.

NetworkImmunityPeriod storage v133 → v472

Immunity period for new subnets.

SubnetsAdmin
NetworkImmunityPeriodSet event v133 → v472 #60

Emitted when network immunity period is changed.

SubnetsAdmin
NetworkLastLockCost storage v133 → v472

Last subnet creation lock cost.

Modified by: register_network, register_network_with_identity
Subnets
NetworkLockCostReductionIntervalSet event v134 → v472 #64

Emitted when lock cost reduction interval is changed.

SubnetsAdmin
NetworkLockReductionInterval storage v133 → v472

Blocks between lock cost reductions.

SubnetsAdmin
NetworkMinLockCost storage v133 → v472

Minimum TAO lock to create subnet.

SubnetsAdmin
NetworkMinLockCostSet event v133 → v472 #62

Emitted when minimum subnet lock cost is changed.

SubnetsAdmin
NetworkPowRegistrationAllowed storage v136 → v472

Whether PoW registration is allowed per subnet.

SubnetsAdminRegistration
NetworkRateLimit storage v133 → v472

Blocks between allowed subnet creations.

SubnetsAdmin
NetworkRateLimitSet event v133 → v472 #59

Emitted when network rate limit is changed.

SubnetsAdmin
NetworkRegisteredAt storage v133 → v472

Block when subnet was registered.

Modified by: register_leased_network, register_network +1
SubnetsRegistration
NetworkRegistrationAllowed storage v121 → v472

Whether registration is allowed per subnet.

Modified by: register_network
SubnetsAdminRegistration
NetworkRegistrationCancelled event v472 New #153

Emitted when the queued subnet registration at the head of NetworkRegistrationQueue fails to settle, is refunded and is removed, without creating a subnet.

NetworkRegistrationEscrow storage v472 New

The escrow behind each subnet registration queued from v472: lock_id to (registrant coldkey, amount).

NetworkRegistrationLockId storage v432 → v472

MAP ( coldkey ) --> lock_id

NetworkRegistrationQueue storage v432 → v472

Subnet registrations that have been paid for but not yet assigned a netuid.

NetworkRegistrationQueued event v432 → v472 #141

Emitted when a subnet registration is accepted and deferred because no netuid slot is free yet.

NetworkRegistrationStartBlock storage v320 → v472

Block when network registration opens.

SubnetsRegistration
NetworkRemoved event v101 → v472 #1

Emitted when a subnet is removed from the network. From v432 this marks the start of cleanup, not its completion.

Emitted by: dissolve_network, root_dissolve_network Modifies: ColdkeySwapScheduled, NetworksAdded +2
Subnets
NetworksAdded storage v101 → v472

Whether a subnet with given netuid exists.

Modified by: dissolve_network, register_leased_network +3
Subnets
NetworkTxRateLimitExceeded error v151 → v472 #33

Network creation is rate limited and you're creating too fast.

Thrown by: register_network, register_network_with_identity +1
NeuronCertificates storage v205 → v472

TLS/SSL certificates for neurons.

Modified by: serve_axon_tls, swap_hotkey
MiningIdentity
NeuronNoValidatorPermit error v151 → v472 #15

The caller is attempting to set non-self weights without being a permitted validator.

Thrown by: set_weights
NeuronRegistered event v101 → v472 #7

Emitted when a new neuron (miner or validator) joins a subnet.

Emitted by: register, burned_register +1 Modifies: Active, BlockAtRegistration +19
●●●○○○ Active usage
MiningRegistration
NewColdKeyIsHotkey error v195 → v472 #70

The destination coldkey address is already used as a hotkey.

Thrown by: swap_coldkey
NewHotKeyIsSameWithOld error v151 → v472 #22

The new hotkey address is the same as the old hotkey.

Thrown by: swap_hotkey
NewHotKeyNotCleanForRootSwap error v401 → v472 #23

The new hotkey has outstanding root claimable or non-zero root stake, so the root rate-book cannot be merged without misallocating dividends.

NextStakeJobId storage v273 → v472

Unused counter left from the aggregated-unstake job queue. Reads 0.

Staking
NextSubnetLeaseId storage v290 → v472

Next ID for subnet lease creation.

Modified by: register_leased_network
Subnets
NoExistingLock error v411 → v472 #139

No existing lock found for the given coldkey and subnet.

NominatorMinRequiredStake storage v146 → v472

Minimum stake required for nominators.

Validation
NonAssociatedColdKey error v101 → v472 #7

The coldkey you're using is not associated with this hotkey for staking operations.

Thrown by: add_stake, add_stake_limit +19
NoNeuronIdAvailable error v149 → v472 #48

No neuron ID (UID) is available for registration.

NotEnoughAlphaOutToRecycle error v257 → v472 #90

There's not enough alpha in circulation to recycle.

Thrown by: recycle_alpha
NotEnoughBalanceToPaySwapColdKey error v156 → v472 #59

Insufficient balance to pay the coldkey swap fee.

Thrown by: swap_coldkey
NotEnoughBalanceToPaySwapHotKey error v151 → v472 #45

Insufficient balance to pay the hotkey swap fee.

Thrown by: swap_hotkey
NotEnoughBalanceToStake error v101 → v472 #12

Your coldkey doesn't have enough free TAO to complete the staking operation.

Thrown by: add_stake, add_stake_limit +7
NotEnoughStake error v233 → v472 #8

The caller does not have enough stake to perform this action.

Thrown by: move_stake, transfer_stake +4
NotEnoughStakeToSetChildkeys error v216 → v472 #11

The parent hotkey needs more stake to set child keys.

Thrown by: set_children
NotEnoughStakeToSetWeights error v142 → v472 #10

Your hotkey doesn't have enough stake to set weights on this subnet.

Thrown by: set_weights, set_mechanism_weights +5
NotEnoughStakeToWithdraw error v151 → v472 #9

You're trying to unstake more TAO than you have staked to this hotkey.

Thrown by: remove_stake, remove_stake_limit +5
NotRootSubnet error v151 → v472 #46

Netuid does not match for setting root network weights.

Thrown by: root_register
NotSubnetOwner error v133 → v472 #41

You're not the owner of this subnet.

Thrown by: dissolve_network, set_subnet_identity +2
NoWeightsCommitFound error v151 → v472 #51

You're trying to reveal weights, but no commit was found.

Thrown by: reveal_weights, reveal_mechanism_weights +1
NumStakingColdkeys storage v334 → v472

Total count of unique coldkeys with stake.

Modified by: add_stake, add_stake_limit +5
●●●●●● Ultra-High usage
Staking
Overflow error v290 → v472 #105

An arithmetic overflow occurred.

OwnedHotkeys storage v156 → v472

List of hotkeys owned by a coldkey.

Modified by: add_stake, add_stake_limit +3
●●●●●○ High usage
Staking
Owner storage v101 → v472

Coldkey owner of a hotkey.

Modified by: swap_coldkey, swap_hotkey +1
●●○○○○ Minimal usage
Subnets
OwnerCutAutoLockEnabled storage v411 → v472

Per-subnet flag controlling whether owner cut auto-locks into OwnerLock. MAP (netuid) → bool, default true.

OwnerCutEnabled storage v411 → v472

Per-subnet flag controlling whether the owner cut is paid. MAP (netuid) → bool.

OwnerHyperparamRateLimit storage v320 → v472

Rate limit for owner hyperparameter changes in epochs.

SubnetsAdmin
OwnerHyperparamRateLimitSet event v320 → v472 #45

Emitted when subnet owner hyperparameter rate limit is changed.

SubnetsAdmin
OwnerLock storage v411 → v472

Total perpetual lock attributed to the owner hotkey for a subnet. MAP (netuid) → LockState.

ParentKeys storage v195 → v472

Parent hotkeys for a child hotkey on a subnet.

Modified by: set_children, swap_hotkey
●●●○○○ Low usage
Staking
PendingBasketDeposits storage v441 → v472

Double map holding queued sub-threshold dividend credits awaiting deposit into a basket.

StakingEmissions
PendingBasketFlushCursor storage v441 → v472

Round-robin cursor of the per-block pending-basket-deposit flush over PendingBasketDeposits.

StakingSystem
PendingChildKeyCooldown storage v277 → v472

Cooldown period for pending childkey operations.

Modified by: set_pending_childkey_cooldown
Staking
PendingChildKeys storage v216 → v472

Scheduled child key changes awaiting execution.

Modified by: set_children
●●●○○○ Low usage
Staking
PendingEpochAt storage v423 → v472

Block at which a manually triggered or deferred epoch should fire; 0 means none pending.

PendingOwnerCut storage v233 → v472

Owner cut of alpha emission per subnet, accumulated per block and paid at the epoch.

SubnetsEmissions
PendingRootAlphaDivs storage v334 → v472

Root share of alpha emission per subnet, accumulated per block and drained at the epoch.

Modified by: claim_root
●●○○○○ Minimal usage
StakingAlphaEmissions
PendingServerEmission storage v343 → v472

Pending miner (server) emissions per subnet — accumulates, reset at tempo.

MiningEmissions
PendingValidatorEmission storage v343 → v472

Pending validator emissions per subnet — accumulates, reset at tempo.

ValidationEmissions
PerpetualLockUpdated event v411 → v472 #140

Emitted when a coldkey's perpetual-lock flag flips on or off for a specific subnet.

PowRegistrationAllowed event v136 → v472 #52

Emitted when proof-of-work registration is toggled for a subnet.

MiningAdminRegistration
POWRegistrationsThisInterval storage v101 → v472

POW registrations in current interval.

Modified by: register
MiningRegistration
Prometheus storage v101 → v472

Prometheus endpoint info for neurons.

Modified by: serve_prometheus, swap_hotkey
MiningIdentity
PrometheusServed event v101 → v472 #30

Emitted when a neuron updates their Prometheus metrics endpoint.

Emitted by: serve_prometheus Modifies: LastTxBlock, Prometheus
●●○○○○ Moderate usage
MiningIdentity
ProportionOverflow error v195 → v472 #62

Proportion overflow when setting children.

RAORecycledForRegistration storage v118 → v472

RAO recycled from registration burns per subnet.

Modified by: recycle_alpha
MiningAdminRegistration
RAORecycledForRegistrationSet event v118 → v472 #54

Emitted when the RAO recycled amount for registration is changed.

●●●○○○ Active usage
MiningAdminRegistration
recycle_alpha call v257 → v472 #101

Recycles alpha tokens back to subnet pool.

Emits: AlphaRecycled Modifies: Alpha, TotalHotkeyAlpha +3
StakingAlpha
RecycleOrBurn storage v320 → v472

Per-subnet choice of whether miner incentive withheld from owner hotkeys is recycled or burned.

SystemAdminAlpha
register call v101 → v472 #6

Registers a neuron using proof-of-work solution.

Emits: NeuronRegistered, BulkNeuronsRegistered Modifies: Uids, Keys +16
●●●●○○ Active usage
MiningRegistration
register_leased_network call v290 → v472 #110

Creates a new subnet under lease terms.

Emits: NetworkAdded, SubnetLeaseCreated Modifies: NetworksAdded, SubnetOwner +6
SubnetsRegistration
register_limit call v401 → v472 #134

User register a new subnetwork via burning token, but only if the

register_network call v133 → v472 #59

Creates a new subnet on the Bittensor network.

Emits: NetworkAdded Modifies: NetworksAdded, SubnetOwner +26
●●●●○○ Active usage
SubnetsRegistration
register_network_with_identity call v195 → v472 #79

Creates a new subnet with identity metadata.

Emits: NetworkAdded Modifies: NetworksAdded, SubnetOwner +7
●●●●○○ Active usage
SubnetsRegistrationIdentity
RegisteredSubnetCounter storage v401 → v472

MAP ( netuid ) --> registered_subnet_counter

RegistrationAllowed event v121 → v472 #51

Emitted when registration is enabled or disabled for a subnet.

MiningAdminRegistration
RegistrationNotPermittedOnRootSubnet error v151 → v472 #42

Operation is not permitted on the root subnet.

Thrown by: register, burned_register +1
RegistrationPerIntervalSet event v101 → v472 #14

Emitted when target registrations per interval is changed.

MiningAdminRegistration
RegistrationPriceLimitExceeded error v401 → v472 #136

Registration Price Limit Exceeded

RegistrationsThisBlock storage v101 → v472

Registrations in current block.

Modified by: burned_register, register
●●●●○○ Medium usage
MiningRegistration
RegistrationsThisInterval storage v101 → v472

Registrations in current adjustment interval.

Modified by: burned_register, register
●●●●○○ Medium usage
MiningRegistration
RejectLockedAlphaUpdated event v421 → v472 #142

A coldkey's reject locked alpha account flag was updated.

remove_stake call v101 → v472 #3

Withdraws staked TAO from a hotkey back to the coldkey.

Emits: StakeRemoved, AggregatedStakeRemoved +1 Modifies: TotalStake, Alpha +7
●●●●●○ Core usage
StakingAlpha
remove_stake_full_limit call v290 → v472 #103

Removes all stake from a subnet with optional price limit.

Emits: StakeRemoved Modifies: TotalStake, Alpha +7
●●●●○○ Active usage
StakingAlpha
remove_stake_limit call v233 → v472 #89

Removes stake with a price limit for slippage protection.

Emits: StakeRemoved Modifies: TotalStake, Alpha +7
●●●●●○ Core usage
StakingAlpha
reset_coldkey_swap call v385 → v472 #128

Reset a coldkey swap by clearing the announcement and dispute status.

reveal_mechanism_weights call v320 → v472 #116

Reveals weights committed via mechanism commit.

Emits: WeightsSet, WeightsRevealed Modifies: Weights, LastUpdate +1
ValidationWeights
reveal_weights call v151 → v472 #97

Reveals previously committed weights.

Emits: WeightsSet, WeightsRevealed +2 Modifies: Weights, LastUpdate +1
●●●●○○ Active usage
ValidationWeights
RevealPeriodEpochs storage v205 → v472

Epochs allowed for weight reveal after commit.

ValidationAdminWeights
RevealPeriodTooLarge error v306 → v472 #113

The reveal period is too large.

RevealPeriodTooSmall error v306 → v472 #114

The reveal period is too small.

RevealTooEarly error v205 → v472 #79

You're trying to reveal weights before the reveal period starts.

Thrown by: reveal_weights, reveal_mechanism_weights +1
Rho storage v101 → v472

Rho parameter for emissions.

Modified by: register_network
SubnetsAdminMetagraph
RhoSet event v101 → v472 #17

Emitted when rho parameter is changed.

SubnetsAdminMetagraph
root_dissolve_network call v320 → v472 #120

Dissolves a network using root authority.

Emits: NetworkRemoved Modifies: NetworksAdded, SubnetOwner +1
SubnetsAdmin
root_register call v133 → v472 #62

Registers a validator on the root network (subnet 0).

Emits: NeuronRegistered Modifies: Uids, Keys +4
●●●○○○ Moderate usage
ValidationRegistration
RootAlphaDividendsPerSubnet storage v361 → v472

Root-weighted alpha dividend per hotkey per subnet at the last epoch, net of the validator take.

StakingAlphaEmissions
RootClaimable storage v334 → v472

LEGACY per-subnet root claimable rates per hotkey, BTreeMap<NetUid, I96F32>. Superseded by BasketRate at v441; no longer written by the coinbase.

StakingEmissions
RootClaimableThreshold storage v334 → v472

Minimum TAO value for a root dividend deposit or claim to proceed. MAP (netuid) → I64F64, but only the netuid 0 entry is consulted.

Modified by: sudo_set_root_claim_threshold
StakingAdminEmissions
RootClaimed event v334 → v472 #115

Emitted when a coldkey redeems its accrued root basket entitlement; carries the total TAO realized and staked back to root.

Emitted by: claim_root, claim_root_with_hotkey Modifies: BasketClaimed, BasketRedeemedTao +3
●●●●○○ Significant usage
StakingEmissions
RootClaimed storage v334 → v472

LEGACY per-subnet claimed watermark per (netuid, hotkey, coldkey). Superseded by BasketClaimed at v441; no longer written by claims.

Modified by: claim_root
●●○○○○ Minimal usage
StakingEmissions
RootClaimTooHeavy error v448 → v472 #159

A coldkey-wide claim_root would process more work than the pre-dispatch weight envelope allows. Claim one validator at a time with claim_root_with_hotkey instead.

RootNetworkDoesNotExist error v151 → v472 #0

The root network (netuid 0) doesn't exist or isn't accessible.

Thrown by: root_register
RootProp storage v365 → v472

Per-subnet root proportion as computed in the last block: TaoWeight-scaled root TAO over that plus the subnet alpha issuance.

StakingEmissions
RootStakeLocked error v441 → v472 #156

Root stake is still inside its hold window and cannot leave root yet.

RootStakeUnlockInterval storage v441 → v472

Minimum number of blocks root (netuid 0) stake must be held before it can leave root.

StakingAdmin
RootWeightCapExceeded error v450 → v472 #160

Through v459: one destination in your set_root_weights vector took a larger share of the summed weight than the concentration cap allowed. From v464 the variant stays declared but nothing raises it: set_root_weights and RootWeightsCap were removed, and the concentration floor is enforced on swap_basket buys as BasketConcentrationCapExceeded instead.

RootWeightSettingDisabled error v441 → v472 #158

Through v459: set_root_weights was switched off network-wide, so no validator could set a basket distribution vector. From v464 the variant stays declared but nothing raises it: set_root_weights, RootWeightSettingEnabled and the toggle call were removed, and basket composition changes only through swap_basket.

Thrown by: set_root_weights
RootWeightsSet event v441 → v472 #6

Emitted when a root validator stores its basket distribution vector; carries the validator's root-subnet uid.

Emitted by: set_root_weights Modifies: Weights
StakingValidationWeights +1
SameAutoStakeHotkeyAlreadySet error v326 → v472 #120

Same auto stake hotkey is already set.

SameNetuid error v273 → v472 #97

Invalid netuid duplication.

Thrown by: move_stake, swap_stake +1
ScalingLawPower storage v101 → v472

Scaling law exponent per subnet.

SubnetsAdminMetagraph
ScalingLawPowerSet event v101 → v472 #22

Emitted when scaling law power parameter is changed.

SubnetsAdminMetagraph
schedule_swap_coldkey call v195 → v472 #73

Schedules a coldkey swap for future execution.

Emits: ColdkeySwapScheduled Modifies: ColdkeySwapScheduled, LastTxBlock
SystemIdentity
serve_axon call v101 → v472 #4

Registers axon server endpoint for a neuron.

Emits: AxonServed Modifies: Axons, LastTxBlock
●●●●●● Dominant usage
MiningIdentity
serve_axon_tls call v205 → v472 #40

Registers TLS-enabled axon server endpoint.

Emits: AxonServed Modifies: Axons, NeuronCertificates +1
●●●○○○ Moderate usage
MiningIdentity
serve_prometheus call v101 → v472 #5

Registers Prometheus metrics endpoint.

Emits: PrometheusServed Modifies: Prometheus, LastTxBlock
●●●●●○ Core usage
MiningIdentity
ServingRateLimit storage v101 → v472

Blocks between allowed serving updates.

SubnetsAdminIdentity
ServingRateLimitExceeded error v101 → v472 #31

An axon or prometheus serving exceeded the rate limit for a registered neuron.

Thrown by: serve_axon, serve_axon_tls +1
ServingRateLimitSet event v101 → v472 #36

Emitted when serving rate limit is changed.

SubnetsAdminIdentity
set_activity_cutoff_factor call v423 → v472 #140

Deprecated compatibility entry point retained for call-index stability.

set_auto_parent_delegation_enabled call v401 → v472 #135

--- Allows a root validator to toggle auto parent delegation

set_childkey_take call v195 → v472 #75

Sets the take rate for a child hotkey.

Emits: ChildKeyTakeSet Modifies: ChildkeyTake, LastTxBlockChildKeyTake
Staking
set_children call v195 → v472 #67

Sets child hotkeys for stake distribution.

Emits: SetChildren, SetChildrenScheduled Modifies: ChildKeys, ParentKeys +2
●●●○○○ Moderate usage
Staking
set_coldkey_auto_stake_hotkey call v315 → v472 #114

Sets the auto-stake destination for a coldkey.

Emits: AutoStakeAdded, AutoStakeDestinationSet Modifies: AutoStakeDestination, AutoStakeDestinationColdkeys
Staking
set_identity call v195 → v472 #68

Sets on-chain identity for a hotkey.

Emits: ChainIdentitySet Modifies: IdentitiesV2, LastTxBlock
SystemIdentity
set_mechanism_weights call v320 → v472 #119

Directly sets mechanism weights without commit-reveal.

Emits: WeightsSet Modifies: Weights, LastUpdate
●●●●○○ Active usage
ValidationWeights
set_min_collateral call v437 → v472 #145

Sets the self-maintaining collateral floor for the signer's hotkey

set_pending_childkey_cooldown call v277 → v472 #109

Sets the cooldown period for pending child key changes.

Modifies: PendingChildKeyCooldown
StakingAdmin
set_perpetual_lock call v411 → v472 #138

Toggles whether the caller's individual lock on a subnet is perpetual (never decays) or returns to normal decay.

set_reject_locked_alpha call v421 → v472 #142

Sets or clears whether the caller rejects incoming locked alpha.

set_subnet_identity call v195 → v472 #78

Sets identity metadata for a subnet.

Emits: SubnetIdentitySet Modifies: SubnetIdentitiesV3
SubnetsIdentity
set_tempo call v423 → v472 #139

Deprecated compatibility entry point retained for call-index stability.

set_weights call v101 → v472 #0

Sets validator weights for neurons on a subnet.

Emits: WeightsSet Modifies: Weights, LastUpdate
●●●●●● Dominant usage
ValidationWeights
SetChildren event v195 → v472 #77

Emitted when child hotkeys are set for a parent hotkey.

Emitted by: set_children Modifies: ChildKeys, LastTxBlock +2
●●●○○○ Active usage
Staking
SetChildrenScheduled event v216 → v472 #76

Emitted when a child hotkey change is scheduled for future execution.

Emitted by: set_children Modifies: ChildKeys, LastTxBlock +2
●●●○○○ Active usage
Staking
SettingWeightsTooFast error v101 → v472 #29

You're setting weights more frequently than the rate limit allows.

Thrown by: set_weights, set_mechanism_weights +2
SharePoolDenominatorReconciled event v464 → v472 #150

Emitted when a share pool's denominator was rewritten to the sum of its live share rows.

SlippageTooHigh error v233 → v472 #84

The price impact of your trade exceeds the allowed slippage.

Thrown by: add_stake_limit, remove_stake_limit +4
stake_into_basket call v441 → v472 #147

Deposits TAO from free balance directly into a validator's basket for fund shares. Gated from runtime v443 through v448, where every submission failed with CallDisabled. Open again from v450.

Emits: BasketStakedIn Modifies: BasketShares, BasketClaimed +1
StakingEmissions
StakeAdded event v101 → v472 #2

Emitted after stake is successfully transferred from coldkey to hotkey.

Emitted by: add_stake, add_stake_limit Modifies: Alpha, NumStakingColdkeys +8
●●●●●○ Dominant usage
StakingAlpha
StakeAndHotkeyTransferred event v437 → v472 #143

Stake has been transferred from one coldkey to another, landing on a

Emitted by: transfer_stake_and_hotkey
StakeLocked event v411 → v472 #132

Emitted when a coldkey locks alpha stake on a hotkey/subnet.

Emitted by: lock_stake
StakeMoved event v233 → v472 #4

Emitted when stake is moved between hotkeys or subnets without unstaking to TAO.

Emitted by: move_stake Modifies: Alpha, SubnetAlphaIn +5
●●●●○○ Significant usage
StakingAlpha
StakeRemoved event v101 → v472 #3

Emitted after stake is successfully withdrawn from hotkey to coldkey.

Emitted by: remove_stake, remove_stake_limit +3 Modifies: Alpha, NumStakingColdkeys +7
●●●●●○ Dominant usage
StakingAlpha
StakeSwapped event v233 → v472 #93

Emitted when stake is swapped between subnets for the same coldkey-hotkey pair.

Emitted by: swap_stake, swap_stake_limit Modifies: Alpha, SubnetAlphaIn +5
●●●●○○ Significant usage
StakingAlpha
StakeThreshold storage v216 → v472

Minimum stake required to set weights.

Staking
StakeThresholdSet event v216 → v472 #55

Emitted when the minimum stake threshold for validators is updated.

StakingAdmin
StakeTooLowForRoot error v133 → v472 #43

Retired. Root admission is burn-based and no longer stake-gated, so the runtime does not raise this error.

Thrown by: add_stake, remove_stake +1
StakeTransferred event v233 → v472 #92

Emitted when stake is transferred from one coldkey to another.

Emitted by: transfer_stake Modifies: Alpha, StakingColdkeys +6
●●●○○○ Active usage
StakingAlpha
StakeUnavailable error v411 → v472 #75

Trying to unstake or re-lock the locked amount.

StakeUnlocked event v411 → v472 #133

Emitted when locked alpha decays out or is released, becoming liquid again.

StakeWeight storage v195 → v472

Stake-based weights per UID per subnet.

Staking
StakingColdkeys storage v334 → v472

Reverse index mapping coldkey to its position.

Modified by: add_stake, add_stake_limit +7
●●●●●● Ultra-High usage
Staking
StakingColdkeysByIndex storage v334 → v472

Index mapping for iterating staking coldkeys.

Staking
StakingHotkeys storage v159 → v472

List of hotkeys a coldkey has staked to.

Modified by: add_stake, add_stake_limit +7
●●●●●● Ultra-High usage
Staking
StakingRateLimitExceeded error v217 → v472 #36

A transactor exceeded the rate limit for staking.

Thrown by: add_stake, add_stake_limit +1
start_call call v257 → v472 #92

Starts subnet operations/emissions.

Emits: FirstEmissionBlockNumberSet, StartCallDelaySet Modifies: FirstEmissionBlockNumber
System
StartCallDelay storage v372 → v472

Delay before subnet can call start.

Admin
StartCallDelaySet event v372 → v472 #61

Emitted when start call delay is changed.

Emitted by: start_call Modifies: FirstEmissionBlockNumber
Admin
StartCallNotReady error v432 → v472 #151

Need to wait more blocks to do the start call.

SubnetAlphaIn storage v233 → v472

Alpha tokens in the subnet liquidity pool.

Modified by: add_stake, add_stake_limit +4
●●●●●○ High usage
SubnetsAlpha
SubnetAlphaInEmission storage v233 → v472

Alpha added to the pool reserve as price-active liquidity in the last block. MAP (netuid), overwritten every block.

SubnetsAlphaEmissions
SubnetAlphaOut storage v233 → v472

Alpha tokens distributed to stakers.

Modified by: move_stake, recycle_alpha +8
●●●●●○ High usage
SubnetsAlpha
SubnetAlphaOutEmission storage v233 → v472

Alpha minted for participants in the last block, before the owner cut. MAP (netuid), overwritten every block.

SubnetsAlphaEmissions
SubnetBuybackRateLimitExceeded error v432 → v472 #129

Subnet buyback exceeded the operation rate limit

SubnetEmaProtocolFlow storage v411 → v472

EMA of protocol TAO flow per subnet, as (last block, I64F64). Frozen since v421.

SubnetEmaTaoFlow storage v334 → v472

EMA of user TAO flow per subnet, as (last block, I64F64). Frozen since v421.

SubnetsAlpha
SubnetEmissionEnabled storage v411 → v472

Per-subnet switch for TAO-side emission. MAP (netuid) → bool, default true. False sets the subnet TAO share to zero and renormalises the rest.

SubnetEpochIndex storage v423 → v472

Monotonic count of epoch slots consumed by a subnet.

SubnetExcessTao storage v411 → v472

TAO from this block's subnet emission that could not be injected as liquidity and was used to buy alpha on the pool instead. MAP (netuid) → TaoBalance, overwritten every block.

SubnetFastMovingPrice storage v464 → v472

Fast EMA of a subnet spot price, the trading anchor for swap_basket.

SubnetIdentitiesV3 storage v290 → v472

Identity metadata for subnets (v3).

Modified by: register_network_with_identity, set_subnet_identity
●●○○○○ Minimal usage
SubnetsIdentity
SubnetIdentityRemoved event v195 → v472 #80

Emitted when a subnet's identity metadata is removed.

SubnetsIdentity
SubnetIdentitySet event v195 → v472 #79

Emitted when a subnet's identity metadata is set or updated.

Emitted by: set_subnet_identity Modifies: SubnetIdentitiesV3
SubnetsIdentity
SubnetLeaseCreated event v290 → v472 #104

Emitted when a new subnet lease is created.

Emitted by: register_leased_network Modifies: NetworkRegisteredAt, NetworksAdded +6
Subnets
SubnetLeaseDividendsDistributed event v361 → v472 #124

Emitted when lease dividends are distributed to stakeholders.

SubnetsStakingEmissions
SubnetLeaseDividendSkipped event v464 → v472 #149

Emitted when a lease contributor's dividend slice could not be transferred this interval.

SubnetLeases storage v290 → v472

Active subnet leases.

Modified by: register_leased_network, terminate_lease
Subnets
SubnetLeaseShares storage v290 → v472

Share ownership in subnet leases.

Modified by: register_leased_network
Subnets
SubnetLeaseTerminated event v290 → v472 #105

Emitted when a subnet lease is terminated.

Emitted by: terminate_lease Modifies: SubnetLeases, SubnetOwner +1
Subnets
SubnetLeaseUnpaidDividends storage v464 → v472

Lease dividend alpha owed to a contributor that could not be transferred yet.

SubnetLimit storage v133 → v472

Maximum number of subnets allowed on the network.

SubnetsAdmin
SubnetLimitReached error v320 → v472 #116

The maximum number of subnets has been reached.

Thrown by: register_network, register_network_with_identity +1
SubnetLimitSet event v134 → v472 #63

Emitted when the maximum number of subnets is changed.

SubnetsAdmin
SubnetLocked storage v133 → v472

TAO locked for a subnet.

Modified by: register_network, register_network_with_identity
Subnets
SubnetMechanism storage v233 → v472

Consensus mechanism type per subnet.

Modified by: register_network, register_network_with_identity
Subnets
SubnetMovingAlpha storage v233 → v472

Moving alpha smoothing factor for all subnets.

SubnetsAlpha
SubnetMovingPrice storage v233 → v472

Moving average price for subnet alpha.

Modified by: move_stake, swap_stake +1
●●●●●○ High usage
SubnetsAlpha
SubnetNotExists error v233 → v472 #76

The specified subnet (netuid) doesn't exist.

Thrown by: add_stake, add_stake_limit +18
SubnetOwner storage v133 → v472

Owner account for a subnet.

Modified by: dissolve_network, register_leased_network +5
Subnets
SubnetOwnerChanged event v411 → v472 #139

Emitted when subnet ownership transfers to a new coldkey because conviction shifted the lead.

SubnetOwnerCut storage v133 → v472

Owner cut fraction from emissions, encoded as u16. To get the fraction: value / u16::MAX (i.e. value / 65535). NOT basis points (10000) or percent (100).

SubnetsEmissions
SubnetOwnerCutSet event v133 → v472 #58

Emitted when subnet owner emission cut is changed.

SubnetsEmissions
SubnetOwnerHotkey storage v233 → v472

Hotkey associated with subnet owner.

Modified by: terminate_lease
Subnets
SubnetOwnerHotkeySet event v252 → v472 #95

Emitted when a subnet's owner hotkey is changed.

Subnets
SubnetProtocolAlpha storage v413 → v472

Cumulative alpha the protocol bought with excess emission TAO on a subnet. MAP (netuid) → AlphaBalance.

SubnetProtocolFlow storage v411 → v472

Signed running sum of protocol TAO into and out of a subnet pool (emission injections and chain buys in, root sells out). MAP (netuid) → i64. Never reset since v421.

SubNetRegistrationDisabled error v151 → v472 #37

Registration is disabled on this subnet.

Thrown by: register, burned_register
SubnetRootSellTao storage v411 → v472

TAO taken out of a subnet pool by root dividend sells during the current block. MAP (netuid) → TaoBalance, cleared at the start of every run_coinbase.

SubnetTAO storage v233 → v472

TAO in the subnet liquidity pool.

Modified by: add_stake, add_stake_limit +9
●●●●●○ High usage
SubnetsAlpha
SubnetTaoFlow storage v334 → v472

Signed running sum of user TAO swapped into and out of a subnet pool. Written by swaps, never reset since v421.

SubnetsAlpha
SubnetTaoInEmission storage v233 → v472

Price-active TAO added to a subnet pool reserve in the LAST block. Overwritten every block.

SubnetsEmissions
SubnetUidToLeaseId storage v290 → v472

Map subnet UIDs to lease IDs.

Modified by: register_leased_network
Subnets
SubnetVolume storage v233 → v472

TAO swapped through a subnet pool since its current registration.

SubnetsAlpha
SubnetworkN storage v101 → v472

Number of registered neurons on a subnet.

Modified by: burned_register, register +1
●●●●○○ Medium usage Calls + Hooks
SubnetsMetagraph
SubtensorPalletId constant v411 → v472

PalletId used to derive per-subnet sovereign account IDs (b"subtensr").

SubtokenDisabled error v273 → v472 #94

SubToken feature is currently disabled.

Thrown by: swap_basket, swap_basket_many
SubtokenEnabled storage v273 → v472

Whether subtoken trading is enabled per subnet.

SubnetsAlpha
Sudid event v123 → v472 #50

Emitted when a sudo operation is executed.

Admin
sudo_set_max_childkey_take call v195 → v472 #77

Sets maximum child key take rate (admin).

Emits: MaxChildKeyTakeSet Modifies: MaxChildkeyTake
Admin
sudo_set_min_childkey_take call v195 → v472 #76

Sets minimum child key take rate (admin).

Emits: MinChildKeyTakeSet Modifies: MinChildkeyTake
Admin
sudo_set_root_claim_threshold call v334 → v472 #124

Sets threshold for root claims (admin).

Modifies: RootClaimableThreshold
AdminEmissions
sudo_set_tx_childkey_take_rate_limit call v195 → v472 #69

Sets rate limit for child key take changes (admin).

Emits: TxChildKeyTakeRateLimitSet Modifies: TxChildkeyTakeRateLimit
Admin
sudo_set_voting_power_ema_alpha call v385 → v472 #131

Sets the EMA alpha value for voting power calculation on a subnet.

swap_basket call v464 → v472 #150

Rebalances a root validator's beta basket: sells alpha of one holding for TAO and buys another holding with it, inside protocol price, turnover, liquidity and concentration bounds.

Emits: BasketSwapped Modifies: BasketTradeBucket, BasketLiquidityUsed
swap_basket_many call v470 → v472 New in v470 #151

Rebalances several legs of one root validator beta basket in a single all-or-nothing call: each leg sells alpha of one holding and buys another, under the same bounds as swap_basket.

Emits: BasketSwapped Modifies: BasketTradeBucket, BasketLiquidityUsed
swap_coldkey call v156 → v472 #71

Swaps coldkey to a new address (immediate).

Emits: ColdkeySwapped, AllBalanceUnstakedAndTransferredToNewColdkey Modifies: Owner, OwnedHotkeys +6
●●○○○○ Low usage
SystemIdentity
swap_coldkey_announced call v385 → v472 #126

Performs a coldkey swap if an announcement has been made.

swap_hotkey call v136 → v472 #70

Swaps hotkey to a new address.

Emits: HotkeySwapped, HotkeySwappedOnSubnet Modifies: Owner, OwnedHotkeys +15
MiningIdentity
swap_hotkey_v2 call v391 → v472 #72

---- The extrinsic for user to change its hotkey in subnet or all subnets. This extrinsic is

swap_stake call v233 → v472 #87

Swaps stake between subnets for the same coldkey-hotkey pair.

Emits: StakeSwapped Modifies: Alpha, TotalHotkeyAlpha +5
●●●○○○ Moderate usage
StakingAlpha
swap_stake_limit call v233 → v472 #90

Swaps stake between subnets with price limit protection.

Emits: StakeSwapped Modifies: Alpha, TotalHotkeyAlpha +5
●●●○○○ Moderate usage
StakingAlpha
SymbolAlreadyInUse error v290 → v472 #110

The symbol is already in use.

Thrown by: register_network_with_identity, update_symbol
SymbolDoesNotExist error v290 → v472 #109

The symbol does not exist.

Thrown by: update_symbol
SymbolUpdated event v290 → v472 #106

Emitted when a subnet's token symbol is updated.

Emitted by: update_symbol Modifies: TokenSymbol
SubnetsAlpha
TakeDecreased event v149 → v472 #65

Emitted when a delegate decreases their commission rate.

Emitted by: decrease_take Modifies: Delegates, LastTxBlockDelegateTake
Validation
TakeIncreased event v149 → v472 #66

Emitted when a delegate increases their commission rate.

Emitted by: increase_take Modifies: Delegates, LastTxBlockDelegateTake
Validation
TaoFlowCutoff storage v334 → v472

Lower-limit floor for the TAO-flow allocator. Unread on the emission path since v421.

SystemAdminAlpha
TaoInRefundDeploymentBlock storage v415 → v472

ITEM( TaoInRefundDeploymentBlock )

TaoWeight storage v233 → v472

Global TAO weight in economics.

SystemAdmin
TargetRegistrationsPerInterval storage v101 → v472

Target registrations per adjustment interval.

Modified by: register_network
SubnetsAdminRegistration
Tempo storage v101 → v472

Emission interval for a subnet (blocks).

Modified by: register_network
SubnetsAdminEmissions
TempoOutOfBounds error v423 → v472 #144

The supplied tempo is outside the allowed range.

TempoSet event v121 → v472 #53

Emitted when a subnet's tempo (emission interval) is changed.

SubnetsAdminEmissions
terminate_lease call v290 → v472 #111

Terminates a subnet lease early.

Emits: SubnetLeaseTerminated Modifies: SubnetLeases, SubnetOwner +1
Subnets
TimelockedWeightCommits storage v306 → v472

Timelocked weight commits for commit-reveal — canonical at v411.

Modified by: commit_timelocked_mechanism_weights, commit_timelocked_weights
●●●●●○ High usage
ValidationWeights
TimelockedWeightsCommitted event v306 → v472 #108

Emitted when weights are committed with a specific reveal round.

Emitted by: commit_timelocked_weights, commit_timelocked_mechanism_weights Modifies: LastTxBlock, TimelockedWeightCommits
●●●●○○ Significant usage
ValidationWeights
TimelockedWeightsRevealed event v306 → v472 #109

Emitted when timelocked weights are revealed after their round.

Emitted by: reveal_weights Modifies: LastUpdate, WeightCommits +1
●●●●○○ Significant usage
ValidationWeights
TokenSymbol storage v233 → v472

Token symbol for subnet alpha tokens.

Modified by: register_network_with_identity, update_symbol
SubnetsAlpha
TooManyChildren error v195 → v472 #63

You've exceeded the maximum number of child hotkeys (5).

Thrown by: set_children
TooManyRegistrationsThisBlock error v101 → v472 #20

The registration rate limit for this block has been exceeded.

Thrown by: register, burned_register
TooManyRegistrationsThisInterval error v111 → v472 #38

The number of registration attempts exceeded the allowed number in the interval.

Thrown by: register, burned_register
TooManyStakingHotkeys error v464 → v472 #163

Adding this hotkey would push the coldkey's StakingHotkeys list past its cap.

TooManyUIDsPerMechanism error v385 → v472 #125

The maximum allowed UIDs times mechanism count should not exceed 256.

TooManyUnrevealedCommits error v205 → v472 #77

You have too many pending weight commits awaiting reveal.

Thrown by: commit_weights, commit_mechanism_weights +4
TotalAlphaStaked storage v448 → v472

Total alpha staked across every hotkey on a subnet.

TotalHotkeyAlpha storage v233 → v472

Total alpha stake delegated to a hotkey.

Modified by: add_stake, add_stake_limit +13
●●●●●● Ultra-High usage
StakingAlpha
TotalHotkeyAlphaLastEpoch storage v261 → v472

TotalHotkeyAlpha snapshot taken when AlphaDividendsPerSubnet was written, per hotkey per subnet.

StakingAlpha
TotalHotkeyShares storage v233 → v472

Legacy total shares per (hotkey, netuid), stored as FixedU128 { bits }. Superseded by TotalHotkeySharesV2 at v401.

Modified by: add_stake, add_stake_limit +13
●●●●●● Ultra-High usage
StakingAlpha
TotalHotkeySharesV2 storage v401 → v472

V2 total shares per (hotkey, netuid), stored as SafeFloat { mantissa, exponent }. Supersedes TotalHotkeyShares at v401.

TotalIssuance storage v101 → v472

Total TAO in circulation.

Modified by: burn_alpha, burned_register
Runtime Hook Modified by runtime hooks, not user extrinsics
SystemEmissions
TotalNetworks storage v101 → v472

Total number of subnets on the network.

Modified by: dissolve_network, register_leased_network +3
Subnets
TotalStake storage v101 → v472

Total TAO staked across all hotkeys.

Modified by: add_stake, add_stake_limit +5
●●●●●● Ultra-High usage
Staking
TotalVotingPower storage v445 → v472

Sum of every validator voting-power entry on a subnet.

TransactionFeePaidWithAlpha event v401 → v472 #128

Emitted alongside TransactionFeePaid when a call's fee was paid by selling the payer's alpha instead of debiting free TAO.

TransactionKeyLastBlock storage v195 → v472

Last block for rate-limited transaction by key.

System
TransactorAccountShouldBeHotKey error v151 → v472 #39

The hotkey is required to be the origin (signer).

transfer_stake call v233 → v472 #86

Transfers stake from one coldkey to another on the same hotkey.

Emits: StakeTransferred Modifies: Alpha, TotalHotkeyAlpha +6
●●●●○○ Active usage
StakingAlpha
transfer_stake_and_hotkey call v437 → v472 #143

Transfers a specified amount of stake from one coldkey to another, landing it

Emits: StakeAndHotkeyTransferred
TransferDisallowed error v233 → v472 #85

Subnet disallows transfer.

TransferToggle event v233 → v472 #94

Emitted when transfer functionality is toggled.

Admin
TransferToggle storage v233 → v472

Whether alpha transfers are enabled per subnet.

Admin
trigger_epoch call v423 → v472 #141

Owner-side `trigger_epoch`. Schedules an epoch to fire after `AdminFreezeWindow`

Emits: EpochTriggered
TrimmingWouldExceedMaxImmunePercentage error v323 → v472 #122

Trimming would exceed the max immune neurons percentage.

try_associate_hotkey call v244 → v472 #91

Attempts to associate a hotkey with a coldkey.

Modifies: Owner, OwnedHotkeys
MiningIdentity
TxChildkeyTakeRateLimit storage v195 → v472

Rate limit for childkey take changes.

Modified by: sudo_set_tx_childkey_take_rate_limit
StakingAdmin
TxChildkeyTakeRateLimitExceeded error v195 → v472 #72

You're changing child key take too frequently.

Thrown by: set_childkey_take
TxChildKeyTakeRateLimitSet event v195 → v472 #43

Emitted when child key take rate limit is changed.

Emitted by: sudo_set_tx_childkey_take_rate_limit Modifies: TxChildkeyTakeRateLimit
Admin
TxDelegateTakeRateLimit storage v149 → v472

Rate limit for delegate take changes.

ValidationAdmin
TxDelegateTakeRateLimitSet event v149 → v472 #42

Emitted when delegate take rate limit is changed.

Admin
TxRateLimit storage v101 → v472

General transaction rate limit.

SystemAdmin
TxRateLimitExceeded error v101 → v472 #64

You're sending transactions too frequently.

Thrown by: add_stake, add_stake_limit +12
TxRateLimitSet event v101 → v472 #41

Emitted when general transaction rate limit is changed.

Admin
UidMapCouldNotBeCleared error v323 → v472 #121

The UID map for the subnet could not be cleared.

Uids storage v101 → v472

UID assigned to a hotkey on a subnet.

Modified by: burned_register, register +2
●●●●○○ Medium usage
MiningMetagraphRegistration
UidsLengthExceedUidsInSubNet error v151 → v472 #32

The caller is attempting to set weights with more UIDs than allowed.

Thrown by: set_weights, set_mechanism_weights +1
UidVecContainInvalidOne error v151 → v472 #18

The caller is attempting to set weight to at least one UID that does not exist.

Thrown by: set_weights, set_mechanism_weights +1
UnableToRecoverPublicKey error v261 → v472 #92

Public key cannot be recovered from the signature.

Thrown by: associate_evm_key
UnlockAmountTooHigh error v411 → v472 #142

Trying to unlock more than locked

UnlockRate storage v411 → v472

Decay timescale in blocks for the locked mass itself. ITEM.

unstake_all call v233 → v472 #83

Removes all stake from a hotkey back to the coldkey.

Emits: StakeRemoved, AggregatedUnstakeAllSucceeded +3 Modifies: TotalStake, Alpha +7
●●●●●○ Core usage
StakingAlpha
unstake_all_alpha call v233 → v472 #84

Removes all alpha stake from a hotkey back to the coldkey.

Emits: StakeRemoved, AggregatedUnstakeAllAlphaSucceeded +1 Modifies: TotalStake, Alpha +6
●●●●○○ Active usage
StakingAlpha
update_symbol call v290 → v472 #112

Updates the token symbol for a subnet.

Emits: SymbolUpdated Modifies: TokenSymbol
SubnetsAlpha
UsedWork storage v101 → v472

Every PoW work blob accepted by registration, mapped to the block it was submitted at. Write-only.

MiningRegistration
ValidatorPermit storage v101 → v472

Whether a neuron has validator permit.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
ValidationMetagraph
ValidatorPruneLen storage v101 → v472

Per-subnet u64 that no runtime path reads since v216. Reads 1 on subnet 1 at v454.

SubnetsAdminMetagraph
ValidatorPruneLenSet event v101 → v472 #21

Emitted when validator prune length is changed.

SubnetsAdminMetagraph
ValidatorTrust storage v101 → v472

Validator-specific trust scores.

Modified by: burned_register, register
●●●●○○ Medium usage Calls + Hooks
ValidationMetagraph
VotingPower storage v385 → v472

DMAP ( netuid, hotkey ) --> voting_power | EMA of stake for voting

VotingPowerDisableAtBlock storage v385 → v472

MAP ( netuid ) --> block_number | Block at which voting power tracking will be disabled.

VotingPowerEmaAlpha storage v385 → v472

MAP ( netuid ) --> u64 | EMA alpha value for voting power calculation.

VotingPowerEmaAlphaSet event v385 → v472 #123

Voting power EMA alpha has been set for a subnet.

VotingPowerTrackingDisabled event v385 → v472 #122

Voting power tracking has been fully disabled and entries cleared.

Emitted by: disable_voting_power_tracking
VotingPowerTrackingDisableScheduled event v385 → v472 #121

Voting power tracking has been scheduled for disabling.

VotingPowerTrackingEnabled event v385 → v472 #120

Voting power tracking has been enabled for a subnet.

Emitted by: enable_voting_power_tracking
VotingPowerTrackingEnabled storage v385 → v472

MAP ( netuid ) --> bool | Whether voting power tracking is enabled for this subnet.

VotingPowerTrackingNotEnabled error v385 → v472 #126

Voting power tracking is not enabled for this subnet.

WaitingForDissolvedSubnetCleanup error v432 → v472 #143

A reserved error for a subnet registration that cannot proceed until a dissolving subnet releases its netuid slot. It is declared in the runtime and is not returned by any dispatch as of v453.

WeightCommits storage v151 → v472

Committed weight hashes awaiting reveal.

Modified by: batch_commit_weights, batch_reveal_weights +4
●●●●●○ High usage
ValidationWeights
Weights storage v101 → v472

Weight matrix set by validators on a subnet.

Modified by: batch_reveal_weights, batch_set_weights +5
●●●●●● Ultra-High usage Calls + Hooks
ValidationWeightsMetagraph
WeightsBatchRevealed event v205 → v472 #88

Emitted when multiple weight commits are revealed in a batch.

Emitted by: batch_reveal_weights Modifies: LastUpdate, WeightCommits +1
ValidationWeights
WeightsCommitted event v205 → v472 #86

Emitted when a validator commits a hash of their weights for later reveal.

Emitted by: commit_weights, commit_mechanism_weights +1 Modifies: LastTxBlock, WeightCommits
●●○○○○ Moderate usage
ValidationWeights
WeightsRevealed event v205 → v472 #87

Emitted when a validator reveals previously committed weights.

Emitted by: reveal_weights, reveal_mechanism_weights +1 Modifies: LastUpdate, WeightCommits +1
●●○○○○ Moderate usage
ValidationWeights
WeightsSet event v101 → v472 #5

Emitted when a validator submits their evaluation weights for miners.

Emitted by: set_weights, set_mechanism_weights +3 Modifies: LastUpdate, WeightCommits +1
●●●●●○ Dominant usage
ValidationWeights
WeightsSetRateLimit storage v101 → v472

Rate limit for weight setting per subnet.

Modified by: register_network
ValidationAdminWeights
WeightsSetRateLimitSet event v101 → v472 #23

Emitted when the rate limit for setting weights is changed.

ValidationAdminWeights
WeightsVersionKey storage v101 → v472

Required version key for setting weights.

Modified by: register_network
ValidationWeights
WeightsVersionKeyRateLimit storage v252 → v472

Rate limit for weights version key changes.

ValidationAdminWeights
WeightsVersionKeySet event v101 → v472 #33

Emitted when the required weights version key is updated.

ValidationAdminWeights
WeightVecLengthIsLow error v151 → v472 #19

The dispatch is attempting to set weights on chain with fewer elements than allowed.

Thrown by: set_weights, set_mechanism_weights +1
WeightVecNotEqualSize error v101 → v472 #16

The caller is attempting to set weight keys and values but these vectors have different size.

Thrown by: set_weights, set_mechanism_weights +1
Yuma3On storage v273 → v472

Whether Yuma3 consensus is enabled per subnet.

SystemAdminMetagraph
Yuma3On constant v385 → v472

Flag indicating if Yuma3 consensus is enabled.

ZeroBalanceAfterWithdrawn error v151 → v472 #14

Unsuccessfully withdraw, balance could be zero after withdrawal.