DelegateDependencyAlreadyExists

Error v334 → current 29.34

The contract already depends on the given delegate dependency.

Encountered by: developers

Why This Error Exists

Each delegate dependency only needs to be locked once per contract.

From Chain Metadata

The contract already depends on the given delegate dependency.

What This Means

The contract already depends on the given delegate dependency.

Common Causes

  • Trying to add a dependency that was already locked
  • Duplicate lock_delegate_dependency call

How to Fix

  • Check if dependency is already registered
  • Skip adding if already present

Storage to Check

Runtime Info

Pallet Index
29
Error Index
34
Error Code
29.34
Runtime Version
v393