neo-go/cli/smartcontract/testdata/invalid6/invalid.yml
Anna Shaleva 865bd6c9cc compiler: compare emitted event params if --guess-eventtypes enabled
In this case emitted event parameters should match from invocation to
invocation. It's an error otherwise (and if the type is not Any).

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-05-31 15:53:43 +03:00

6 lines
No EOL
109 B
YAML

name: Test undeclared event
events:
- name: SomeEvent
parameters:
- name: p1
type: String