This constant was removed in v247

This constant is no longer available in the current runtime. Existed from v133 to v247. Shown here for historical reference.

InitialSubnetLimit

Constant Removed v133 → v247 (removed) u16

Runtime configuration value.

Current Value

12

Use Cases

  • Genesis configuration
  • Default value initialization
  • Validation checks
  • Capacity limits

Value History

VersionBlockChangeValue
v133#1,404,224Added12
v252#5,163,656Removed12

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

Type Information

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

Runtime Info

Pallet
SubtensorModule
First Version
v133
Latest Version
v247
Removed In
v247