This call was removed in v306

This call is no longer available in the current runtime. Existed from v216 to v306. Shown here for historical reference.

commit_crv3_weights

Call Removed v216 → v306 (removed) #99

---- Used to commit encrypted commit-reveal v3 weight values to later be revealed.

Click items to navigate. Pan and zoom to explore.

From Chain Metadata

- Used to commit encrypted commit-reveal v3 weight values to later be revealed.

Input Parameters

#NameTypeDescription
0
netuid
u16 Subnet/network identifier (0-65535)
1
commit
BoundedVec commit (BoundedVec)
2
reveal_round
u64 reveal_round (u64)

Permissions

Origin
Signed
Required Role

Permission data inferred from metadata. May be incomplete.

Possible Errors

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 });

// Build commit_crv3_weights call
const netuid = 1;
const commit = 0 as any /* BoundedVec */;
const reveal_round = 0;

const call = api.tx[stringCamelCase("SubtensorModule")][stringCamelCase("commit_crv3_weights")](
  netuid,
  commit,
  reveal_round
);

Runtime Info

View Source
Pallet Index
7
Call Index
99
First Version
v216
Removed In
v306