Errors/Chain errors
LeaseCannotEndInThePast
Check the argument values against the operation schema
The end_block supplied when registering a leased network is not after the current block. Check the current chain height and pass an end_block in the future, or omit it for a perpetual lease.
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 LeaseCannotEndInThePast.