neo-go/pkg/smartcontract
Roman Khimov 22c6ab4de9 smartcontract: process slices via reflection in NewParameterFromValue
Pros:
 * less code
 * handles more types
Cons:
 * slow

This code is not likely to be on the hot path and it is exactly the one used
by actors for making calls of various kinds. Supporting more types is more
important here than raw speed.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-11-18 15:20:39 +03:00
..
binding *: use slices.Sort() where appropriate 2024-08-27 08:24:52 +03:00
callflag *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00
context *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00
manifest *: fix linter exhaustive errors 2024-09-26 13:29:03 +03:00
nef compiler: perform NEF size check on serialization 2023-11-20 15:14:05 +03:00
rpcbinding *: fix linter exhaustive errors 2024-09-26 13:29:03 +03:00
testdata cli: add filebytes parameter type 2021-02-19 10:52:45 +03:00
trigger [#2442] English Check 2022-05-04 19:48:27 +03:00
zkpbinding *: improve for loop syntax 2024-08-30 21:45:18 +03:00
builder.go vm: allow to emit convertible 2023-05-17 12:47:31 +03:00
builder_test.go smartcontract: add Len to Builder 2022-09-14 10:25:10 +03:00
contract.go *: use slices package for sorting and searching 2024-08-27 12:29:44 +03:00
contract_test.go *: improve for loop syntax 2024-08-30 21:45:18 +03:00
doc.go smartcontract: improve package documentation 2022-08-01 21:31:23 +03:00
doc_test.go ci: fix lint issues (fix #2948) 2023-03-29 11:19:23 +08:00
entry.go smartcontract: Add CreateCallAndPrefetchIteratorScript() 2023-12-29 10:49:53 +03:00
param_type.go *: fix linter exhaustive errors 2024-09-26 13:29:03 +03:00
param_type_test.go smartcontract: disallow Null and non-utf8 String 2023-08-18 16:41:33 +03:00
parameter.go smartcontract: process slices via reflection in NewParameterFromValue 2024-11-18 15:20:39 +03:00
parameter_test.go smartcontract: extend slice types accepted by NewParameterFromValue 2024-09-11 17:08:01 +03:00