InitialBondsPenalty

Constant Re-added v233 → v252, v257 → current u16

Affects bond value penalties.

Current Value

65535
Relevant for: validatorssubnet ownersanalytics

The Big Picture

Bonds can be penalized for various reasons - disagreeing with consensus, late weight submission, or other protocol violations. This constant sets the initial penalty severity. Higher penalties discourage deviation from consensus; lower penalties allow more exploration and disagreement without severe punishment.

Why This Matters

As a validator, know the penalty for diverging from consensus. High penalty means you should be conservative; low penalty means you have more room to experiment with weights.

Example

With BondsPenalty of 0.1, validators who disagree with consensus have their bonds reduced by 10%. If you set weights very different from other validators, your bond accumulation slows, reducing your emission share over time.

Common Questions

What triggers bond penalties?
Primarily disagreeing with consensus weights. If your weights are outliers compared to other validators, you accumulate bonds more slowly.
Can penalties be avoided?
Set weights similar to other validators. But this creates tension - you want to reward good miners, even if others disagree. It's a balance.

From Chain Metadata

Initial bonds penalty.

Use Cases

  • Bond calculations
  • Consensus

Value History

VersionBlockChangeValue
v233#4,920,350Added0
v257#5,228,683Changed0 → 65535

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 InitialBondsPenalty constant
const value = api.consts[stringCamelCase("SubtensorModule")][stringCamelCase("InitialBondsPenalty")];
console.log("InitialBondsPenalty:", value.toHuman());

Type Information

Type
u16
Byte Size
2 bytes
Encoding
fixed
Raw Hex
0xffff

Version History

v233 block 4,920,350 Added
v257 block 5,228,683 Re-added Current

Runtime Info

Pallet
SubtensorModule
First Version
v233
Latest Version
v233
Current Runtime
v393