| title | CollateralDrainRatioOutOfBounds |
|---|---|
| description | Check the argument values against the operation schema |
{/* GENERATED by scripts/generate.py from the SDK registries — do not edit. */}
sudo_set_collateral_drain_ratio was given a value that is zero, negative, or above MaxCollateralDrainRatio (10). The drain ratio must be strictly positive — with no other exit path for miner collateral, a ratio of zero would make locked collateral permanently unrecoverable. Pass a drain_ratio in the range (0, 10].
Declared by the AdminUtils pallet; it classifies to the semantic code invalid_argument.
Declared at pallets/admin-utils/src/lib.rs#L187.
Check the argument values against the operation schema
The same explanation is available in the terminal: btcli explain CollateralDrainRatioOutOfBounds.