# CommitRevealDisabled (/docs/errors/chain/CommitRevealDisabled)

A weight commit or reveal was submitted on a subnet where commit-reveal is turned off. Check the `commit_reveal_weights_enabled` hyperparameter for the netuid (`btcli sudo get --netuid <n>`); use plain `set_weights` instead when it is disabled.

Declared by the `SubtensorModule` pallet; it classifies to the semantic code [`disabled`](/docs/errors/disabled).

Declared at [`pallets/subtensor/src/macros/errors.rs#L133`](/code/pallets/subtensor/src/macros/errors.rs#L133).

## Remediation [#remediation]

Commit-reveal is off on this subnet; use plain set\_weights — check with `btcli sudo get --netuid N`

The same explanation is available in the terminal: `btcli explain CommitRevealDisabled`.
