UpgradedToTripleRefCount

Storage Plain v101 → v411

Migration flag for triple reference count upgrade.

Explore chain
Queried by: validatorsdevelopers

The Big Picture

Internal migration tracking.

Use Cases

  • Migration tracking

From Chain Metadata

True if we have upgraded so that AccountInfo contains three types of `RefCount`. False (default) if not.

Purpose & Usage

Purpose

Track whether a specific migration has run.

Common Query Patterns

  • Single value query

Stored Value

value (bool)

Code Examples

import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443

const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);

// Query UpgradedToTripleRefCount storage (no keys - plain value)
const result = await api.query.System.UpgradedToTripleRefCount.getValue();
console.log("UpgradedToTripleRefCount:", result);

Version History

v101 block 1 Added
v120 block 315,568 Internal re-bind
v121 block 518,345 Internal re-bind
v123 block 720,235 Internal re-bind
v149 block 3,014,339 Internal re-bind
v151 block 3,157,274 Internal re-bind Current

Runtime Info

Pallet
System
Storage Kind
Plain
First Version
v101
Current Version
v411