CodeInfoNotFound

Error v334 → current 29.9

No code info could be found at the supplied code hash.

Encountered by: developers

Why This Error Exists

Code info tracks metadata about uploaded WASM. Without it, instantiation fails.

From Chain Metadata

No code info could be found at the supplied code hash.

What This Means

No code info could be found at the supplied code hash.

Common Causes

  • Code was never uploaded
  • Code was removed after all contracts using it terminated
  • Incorrect code hash provided

How to Fix

  • Verify the code hash is correct
  • Upload the code first with upload_code
  • Check Contracts.CodeInfoOf storage for the hash

Storage to Check

Runtime Info

Pallet Index
29
Error Index
9
Error Code
29.9
Runtime Version
v393