Errors/Chain errors

LeaseHasNoEndBlock

Check the argument values against the operation schema

View as Markdown

The lease being terminated is perpetual (its end_block is None), so it can never be ended this way. Check the lease's end_block field in SubnetLeases for the given lease id.

Declared by the SubtensorModule pallet; it classifies to the semantic code invalid_argument.

Remediation

Check the argument values against the operation schema

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