bynk.event.unknown_annotation
Error An event declaration carried an @-annotation other than @schema — event annotations are a closed set.
The only annotation an event accepts is @schema(N), which asserts its schema version. Names like @indexed belong to agent state and mean nothing on an event, so a stray or misspelt one would be silently ignored if it were not refused. Remove the annotation, or use @schema with a positive integer.
Example
event Paid @indexed = { id: String } // ✗ not an event annotation
event Paid @schema(1) = { id: String } // ✓In the Book
See also
- Every code in its category, Events, on the diagnostic index.
bynk explain bynk.event.unknown_annotationshows the same from the installed toolchain, without a network.