pub async fn commit_weights<S>(
client: &OnlineClient<PolkadotConfig>,
signer: &S,
params: CommitRevealParams,
) -> Result<ExtrinsicResponse<[u8; 32]>, BittensorError>where
S: Signer<PolkadotConfig>,Expand description
Commit weights hash for the commit-reveal scheme
In the commit-reveal scheme, validators first commit a hash of their weights, then reveal the actual weights later.