Current Value
falseRelevant for: validatorssubnet ownersdevelopers
The Big Picture
Bonds accumulate over time, representing trust between validators and miners. This constant controls whether and when bonds reset. Periodic resets prevent entrenched positions and give new participants a chance. Without resets, early participants would have permanent advantages from accumulated bonds.
Why This Matters
If bonds reset frequently, past performance matters less. If bonds never reset, historical trust is paramount. Your validator strategy should match the reset policy.
Example
If BondsResetOn triggers on epoch boundaries, all bond values reset to initial state at each epoch. A validator's accumulated trust is wiped, and everyone starts fresh. This helps newcomers compete with established validators.
Common Questions
- When should bonds be reset?
- It depends on subnet goals. Competitive subnets might reset frequently; stable subnets might never reset. Check subnet hyperparameters.
- Does reset affect emissions immediately?
- Yes, if bonds reset, the distribution of emissions changes immediately based on current weights rather than accumulated trust.
From Chain Metadata
Initial bonds reset.
Use Cases
- Bond management
- Epoch transitions
Code Examples
import { ApiPromise, WsProvider } from "@polkadot/api";
import { stringCamelCase } from "@polkadot/util";
const provider = new WsProvider("wss://entrypoint-finney.opentensor.ai:443");
const api = await ApiPromise.create({ provider });
// Query InitialBondsResetOn constant
const value = api.consts[stringCamelCase("SubtensorModule")][stringCamelCase("InitialBondsResetOn")];
console.log("InitialBondsResetOn:", value.toHuman());Type Information
- Type
- bool
- Byte Size
- 1 bytes
- Encoding
- fixed
- Raw Hex
- 0x00
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v273
- Latest Version
- v273
- Current Runtime
- v393