Errors/Chain errors
DelegateDependencyAlreadyExists
The object or state already exists; treat the goal as met or pick a different target
The contract called lock_delegate_dependency for a code hash it has already locked. Check the contract's recorded delegate dependencies before adding, and unlock the old entry first if replacing it.
Declared by the Contracts pallet; it classifies to the semantic code already_exists.
Remediation
The object or state already exists; treat the goal as met or pick a different target
The same explanation is available in the terminal: btcli explain DelegateDependencyAlreadyExists.