CodeNotFound

Error v334 → current 29.8

No code exists with the specified code hash.

Encountered by: developers

Why This Error Exists

You're trying to instantiate from code that doesn't exist. Upload it first.

From Chain Metadata

No code could be found at the supplied code hash.

What This Means

No code exists with the specified code hash.

Common Causes

  • Wrong code_hash
  • Code was removed
  • Code was never uploaded

How to Fix

  • Verify the code_hash is correct
  • Upload the code first using upload_code
  • Check CodeInfoOf for code existence

Storage to Check

Runtime Info

Pallet Index
29
Error Index
8
Error Code
29.8
Runtime Version
v393