This constant was removed in v127
This constant is no longer available in the current runtime. Existed from v101 to v127. Shown here for historical reference.
Runtime configuration value.
Current Value
60Use Cases
- Genesis configuration
- Default value initialization
Value History
| Version | Block | Change | Value |
|---|---|---|---|
| v101 | #1 | Added | 60 |
| v133 | #1,404,224 | Removed | 60 |
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 InitialValidatorEpochsPerReset constant
const value = api.consts[stringCamelCase("SubtensorModule")][stringCamelCase("InitialValidatorEpochsPerReset")];
console.log("InitialValidatorEpochsPerReset:", value.toHuman());Type Information
- Type
- u16
- Byte Size
- 2 bytes
- Encoding
- fixed
- Raw Hex
- 0x3c00
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v101
- Latest Version
- v127
- Removed In
- v127