Errors/Chain errors

RootWeightCapExceeded

A chain-side capacity limit was hit; reduce the size or count of the request

View as Markdown

One destination in the set_root_weights vector takes a larger share of the basket than the RootWeightsCap hyperparameter allows (share = weight / sum of weights; the cap is u16-normalized, so 4096 means 1/16). Spread the vector across more destinations — at the launch cap of 1/16 a basket needs at least 16 — or lower the largest entries. Query RootWeightsCap[0] for the live cap. Not enforced while the chain has fewer subnets than the cap demands.

Declared by the SubtensorModule pallet; it classifies to the semantic code limit_exceeded.

Declared at pallets/subtensor/src/macros/errors.rs#L374.

Remediation

A chain-side capacity limit was hit; reduce the size or count of the request

The same explanation is available in the terminal: btcli explain RootWeightCapExceeded.