# CommitRevealEnabled (/docs/errors/chain/CommitRevealEnabled)

Plain `set_weights` was called on a subnet where commit-reveal is enabled, which requires the commit/reveal flow instead. Check the `commit_reveal_weights_enabled` hyperparameter for the netuid and switch to `commit_weights`/`reveal_weights`.

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

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

## Remediation [#remediation]

This subnet requires commit-reveal weights; use the commit/reveal path (btcli weights auto-selects it) instead of plain set\_weights — check with `btcli sudo get --netuid N`

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