Improve Events error message + more tests

This commit is contained in:
Hans Svensson
2019-02-25 21:53:52 +01:00
parent 202a06a580
commit 7b474e439c
3 changed files with 7 additions and 3 deletions
+1
View File
@@ -8,6 +8,7 @@ contract Events =
| Event2(alias_string, indexed alias_address)
| BadEvent1(string, string)
| BadEvent2(indexed int, indexed int, indexed int, indexed address)
| BadEvent3(address, int)
function f1(x : int, y : string) =
Chain.event(Event1(x, x+1, y))