E0039: Emit, raise, or runtime keyword needed
You called one of:
- an
eventwithoutemit, or - an
effectwithoutraise, or - a runtime function without
runtime.
These functions have external side-effects and need the right keyword at their call site to acknowledge this.
How to fix
Use the appropriate keyword when calling events, effects, and runtime functions:
emit my_event();
let result = raise my_effect();
let height = runtime blockHeight();