Skip to main content

E1101 — Non-deterministic actor code

What happened

Non-deterministic actor code.

Why it happened

The actor code uses a banned import, API, or large integer literal that would break consensus determinism. Common triggers: asyncio.gather, import random, import time, ctypes, integer literals exceeding 1,234 digits.

How to fix

Remove the flagged construct. Use cowboy_sdk.pvm_random instead of random, cowboy_sdk.pvm_time instead of time, and sequential awaits instead of asyncio.gather. See the PVM Compatibility Rules documentation for the full list.

Receipt example


All Error Codes

View the complete error code reference