Indeterministic

Error v334 → current 29.29

The code contains non-deterministic operations.

Encountered by: developers

Why This Error Exists

Contract code must be deterministic - same inputs = same outputs. Remove non-deterministic operations.

From Chain Metadata

An indeterministic code was used in a context where this is not permitted.

What This Means

The code contains non-deterministic operations.

Common Causes

  • Floating-point arithmetic in code
  • Non-deterministic instructions
  • Host functions not available in deterministic mode

How to Fix

  • Remove floating-point operations
  • Use fixed-point math instead
  • Ensure code is fully deterministic

Runtime Info

Pallet Index
29
Error Index
29
Error Code
29.29
Runtime Version
v393