neo-go/pkg/vm/stackitem
Roman Khimov 233307aca5 stackitem: completely drop MaxArraySize
Turns out C# VM doesn't have it since preview2, so our limiting of
MaxArraySize in incompatible with it. Removing this limit shouldn't be a
problem with the reference counter we have, both APPEND and SETITEM add things
to reference counter and we can't exceed MaxStackSize. PACK on the other hand
can't get more than MaxStackSize-1 of input elements.

Unify NEWSTRUCT with NEWARRAY* and use better integer checks at the same time.

Multisig limit is still 1024.
2021-07-19 15:42:42 +03:00
..
item.go stackitem: completely drop MaxArraySize 2021-07-19 15:42:42 +03:00
item_test.go stackitem: limit EQUAL for deeply nested structs 2021-07-19 15:42:42 +03:00
json.go stackitem: access value of Array/Struct directly 2021-07-12 14:40:21 +03:00
json_test.go stackitem/test: improve coverage for serialization 2021-07-13 11:06:19 +03:00
serialization.go stackitem: completely drop MaxArraySize 2021-07-19 15:42:42 +03:00
serialization_test.go stackitem: completely drop MaxArraySize 2021-07-19 15:42:42 +03:00
type.go stackitem: rework error handling 2021-07-07 00:18:00 +03:00
type_test.go stackitem: allow to convert type from string 2020-07-31 16:07:16 +03:00