BondsPenaltySet
Event Re-added v233 → v265, v273 → v277, v290 → current #25Emitted when bonds penalty parameter is changed.
View events on chainThe Big Picture
Bonds represent validator-miner relationships built over time through consistent weighting. The penalty parameter affects how bonds are penalized under certain conditions (like disagreeing with consensus). Higher penalties mean faster bond erosion when things go wrong; lower penalties are more forgiving. This shapes the long-term relationship dynamics on the subnet.
Why This Matters
Bond penalties affect how quickly your validator-miner relationships degrade under adverse conditions. High penalties mean mistakes are costly to your bonds. Low penalties mean relationships are more resilient. Understanding this helps you evaluate the risk/reward of your strategy.
Example Scenario
Subnet 6 had mild bond penalties, letting poor validators coast on historical bonds. They increase the penalty to enforce better behavior. BondsPenaltySet fires. Validators who start setting bad weights will see their bonds erode faster - no more coasting on reputation.
Common Questions
- What triggers bond penalties?
- Typically disagreement with consensus, setting outlier weights, or other misbehavior. The specific triggers depend on the subnet's consensus rules.
- Can I recover from bond penalties?
- Yes, by consistently setting weights that align with consensus. Bonds can rebuild over time. Penalties erode bonds; good behavior rebuilds them.
- How do bond penalties affect my rewards?
- Lower bonds mean less dividends from the miners you've bonded with. Penalties indirectly hurt your earnings by degrading your relationships.
Use Cases
- Track bond penalty policies on subnets
- Understand validator-miner relationship dynamics
- Monitor consensus mechanism tuning
- Build bond analysis tools
How to Use This Event
- → Monitor bond penalty changes affecting your position
- → Track consensus mechanism tuning across subnets
- → Build bond risk analysis tools
From Chain Metadata
bonds penalty is set for a subnet.
Triggers
Preconditions
- Caller has admin/sudo privileges
Effects
Postconditions
- BondsPenalty updated
Side Effects
- Affects penalties in bond calculations
Event Data
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 });
// Subscribe to BondsPenaltySet events
api.query.system.events((events) => {
events
.filter(({ event }) =>
event.section === stringCamelCase("SubtensorModule") &&
event.method === "BondsPenaltySet"
)
.forEach(({ event }) => {
console.log("BondsPenaltySet:", event.data.toHuman());
});
});Version History
Runtime Info
View Source- Pallet Index
- 7
- Event Index
- 25
- First Version
- v233
- Current Version
- v393