# 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).

## Remediation [#remediation]

This call or feature is switched off on this network

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