CRV3WeightCommitsV2

Storage Map v297 → v411 Changed in v411

Commit-reveal v3.2 weight commits storage (deprecated, empty at v411).

Explore chain
Queried by: developers

The Big Picture

Deprecated storage for commit-reveal v3.2. Superseded by TimelockedWeightCommits. Empty at v411 — middle link in the CRV3WeightCommits → CRV3WeightCommitsV2 → TimelockedWeightCommits chain.

Use Cases

  • Access legacy commit data (empty at v411)
  • Migration tooling

From Chain Metadata

MAP (netuid, epoch) → VecDeque<(who, commit_block, ciphertext, reveal_round)> DEPRECATED for TimelockedWeightCommits

Purpose & Usage

Purpose

Intermediate storage in the CRV3 migration chain. Value shape added `commit_block` vs the legacy CRV3WeightCommits, and was itself superseded by TimelockedWeightCommits. Empty at v411 (0 entries).

Common Query Patterns

  • Query by (netuid, epoch) — returns empty Vec at v411
  • See TimelockedWeightCommits for current data

Query Keys

#NameTypeDescription
1
netuid netuid
raw: key1
u16 key1 (u16)
2
epoch
raw: key2
u64 key2 (u64)

Stored Value

Value in RAO (÷10⁹ for TAO)

Relationships

Related Storages

Related Events

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 CRV3WeightCommitsV2 storage
const key1 = 0;
const key2 = 0n;

const result = await api.query.SubtensorModule.CRV3WeightCommitsV2.getValue(key1, key2);
console.log("CRV3WeightCommitsV2:", result);

Version History

v297 block 6,067,943 Added
v303–v305 · runtime versions skipped on chain (never deployed)
v306 block 6,321,411 Internal re-bind
v316–v319 · runtime versions skipped on chain (never deployed)
v320 block 6,523,566 Internal re-bind
v327–v333 · runtime versions skipped on chain (never deployed)
v334 block 6,811,690 Internal re-bind
v353–v360 · runtime versions skipped on chain (never deployed)
v361 block 7,063,679 Internal re-bind
v363–v364 · runtime versions skipped on chain (never deployed)
v365 block 7,135,419 Internal re-bind
v386–v390 · runtime versions skipped on chain (never deployed)
v391 block 7,782,857 Internal re-bind
v394–v400 · runtime versions skipped on chain (never deployed)
v401 block 8,036,576 Internal re-bind
v403–v410 · runtime versions skipped on chain (never deployed)
v411 block 8,283,784 Internal re-bind Current

Runtime Info

View Source
Pallet
SubtensorModule
Storage Kind
Map
First Version
v297
Current Version
v411
Population
sparse-by-structure (~0 entries)