neo-go/pkg
Anna Shaleva 80f71a4e6e compiler: do not enforce variadic event args check on ellipsis usage
In case of ellipsis usage compiler defines argument type as ArrayT
(which is correct, because it's a natural representation of the last
argument, it represents the array of interface{}).
Here goes the problem:
```
=== RUN   TestEventWarnings/variadic_event_args_via_ellipsis
    compiler_test.go:251:
        	Error Trace:	compiler_test.go:251
        	Error:      	Received unexpected error:
        	            	event 'Event' should have 'Integer' as type of 1 parameter, got: Array
        	Test:       	TestEventWarnings/variadic_event_args_via_ellipsis
```

Parsing the last argument in this case is a separate complicated problem
due to the fact that we need to grab types of elements of []interface{} inside the
fully qualified ast node which may looks like:
```
runtime.Notify("Event", (append([]interface{}{1, 2}, (([]interface{}{someVar, 4}))...))...)
```

Temporary solution is to exclude such notifications from analysis until we're
able to properly resolve element types of []interface{}.
2022-09-30 08:42:48 +03:00
..
compiler compiler: do not enforce variadic event args check on ellipsis usage 2022-09-30 08:42:48 +03:00
config cli: also check new ApplicationConfiguration for consistency 2022-07-27 12:30:08 +03:00
consensus *: always close the wallet after use 2022-09-02 14:44:32 +03:00
core native: add some tests for stdlib's atoi 2022-09-19 16:18:53 +03:00
crypto keys: check length first, then do things in WIFDecode 2022-09-02 14:44:32 +03:00
encoding fixedn: add a test for empty string 2022-08-19 21:52:43 +03:00
interop interop: refactor address.FromHash160 code 2022-09-27 15:32:57 +03:00
io [#2442] English Check 2022-05-04 19:48:27 +03:00
neorpc golangci: add predeclared linter 2022-09-02 18:36:26 +03:00
neotest wallet: provide (*Account).SignHashable API 2022-09-02 14:44:01 +03:00
network golangci: enable errorlint and fix everything it found 2022-09-02 18:36:23 +03:00
rpcclient rpcclient: simplify historic API 2022-09-09 13:41:45 +03:00
services stateroot: fix panic on shutdown 2022-09-13 13:18:13 +03:00
smartcontract smartcontract: add Len to Builder 2022-09-14 10:25:10 +03:00
util slice: add Clean microfunction 2022-09-02 14:44:32 +03:00
vm vm: adjust emit.AppCall comment 2022-09-21 17:25:45 +03:00
wallet wallet: add some warnings to Decrypt and PrivateKey docs 2022-09-02 14:44:18 +03:00