RandomSubjectTooLong

Error v334 → current 29.16

The subject provided for random number generation is too long.

Encountered by: developers

Why This Error Exists

Random subjects have size limits. Use a shorter subject.

From Chain Metadata

The subject passed to `seal_random` exceeds the limit.

What This Means

The subject provided for random number generation is too long.

Common Causes

  • Subject string exceeds maximum length

How to Fix

  • Shorten the random subject
  • Check maximum length in documentation

Runtime Info

Pallet Index
29
Error Index
16
Error Code
29.16
Runtime Version
v393