CRV3WeightCommitsV2
Storage Map v297 → currentCommit-reveal v3.2 weight commits storage (deprecated).
Explore chainQueried by: developers
The Big Picture
Deprecated storage for commit-reveal v3.2. Superseded by TimelockedWeightCommits. Kept for historical data access and migration purposes.
Use Cases
- Access legacy commit data
- Migration tooling
From Chain Metadata
MAP (netuid, epoch) → VecDeque<(who, commit_block, ciphertext, reveal_round)> Stores a queue of v3 commits for an account on a given netuid.
Purpose & Usage
Purpose
Legacy storage for v3.2 commit-reveal weight submissions.
Common Query Patterns
- Query by (netuid, epoch)
Query Keys
Stored Value
Value in RAO (÷10⁹ for TAO)
Relationships
Modified By
Related Events
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 CRV3WeightCommitsV2 storage
const key1 = 0;
const key2 = 0;
const result = await api.query
[stringCamelCase("SubtensorModule")]
[stringCamelCase("CRV3WeightCommitsV2")](
key1,
key2
);
console.log("CRV3WeightCommitsV2:", result.toHuman());Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v297
- Current Version
- v393