UpgradedToTripleRefCount

Storage Plain v101 → current

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 { 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 UpgradedToTripleRefCount storage (no keys - plain value)
const result = await api.query
  [stringCamelCase("System")]
  [stringCamelCase("UpgradedToTripleRefCount")]();
console.log("UpgradedToTripleRefCount:", result.toHuman());

Runtime Info

Pallet
System
Storage Kind
Plain
First Version
v101
Current Version
v393