This storage item was removed in v265
This storage item is no longer available in the current runtime. Existed from v101 to v265. Shown here for historical reference.
NeuronsToPruneAtNextEpoch
Storage Removed Map v101 → v265 (removed)NeuronsToPruneAtNextEpoch storage from SubtensorModule pallet .
Purpose & Usage
Purpose
Stores chain state data.
Common Query Patterns
- Query by key
- Iterate all entries
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | key1 | u16 | key1 (u16) |
Stored Value
value (u16)
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 NeuronsToPruneAtNextEpoch storage
const key1 = 0;
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("NeuronsToPruneAtNextEpoch")](
key1
);
console.log("NeuronsToPruneAtNextEpoch:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v101
- Removed In
- v265