neo-go/pkg/smartcontract/manifest
Roman Khimov a50723ff72 *: use cmp.Or where appropriate
It's slightly less efficient (all comparisons are always made), but for
strings/ints it's negligible performance difference, while the code looks a
tiny bit better.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-08-30 17:00:11 +03:00
..
standard *: use require.ErrorIs instead of require.True(t, error.Is()) 2023-05-04 17:03:47 +03:00
abi.go *: use cmp.Or where appropriate 2024-08-30 17:00:11 +03:00
abi_test.go manifest: add duplicate events/methods checks to ABI 2021-02-09 22:31:26 +03:00
container.go *: use slices.Index/slices.Contains where appropriate 2024-08-27 08:24:52 +03:00
container_test.go smartcontrct: take care of manifest permission descriptor wildcardness 2024-08-05 16:05:59 +03:00
event.go smartcontract: improve invalid notification error text 2023-08-18 12:02:43 +03:00
event_test.go runtime: check notifications against ABI 2022-10-04 17:52:38 +03:00
group.go manifest: deduplicate duplicate-checking code 2024-08-27 08:24:52 +03:00
group_test.go manifest: disallow null groups, fix #3522 2024-07-26 11:22:44 +03:00
manifest.go manifest: deduplicate duplicate-checking code 2024-08-27 08:24:52 +03:00
manifest_test.go manifest: deduplicate test logic a bit with slices.Concat 2024-08-30 17:00:11 +03:00
method.go manifest: add method validity check 2021-02-09 22:31:26 +03:00
method_test.go manifest: add method validity check 2021-02-09 22:31:26 +03:00
parameter.go manifest: deduplicate duplicate-checking code 2024-08-27 08:24:52 +03:00
parameter_test.go manifest: add validity checks for Parameter 2021-02-09 22:31:26 +03:00
permission.go manifest: deduplicate duplicate-checking code 2024-08-27 08:24:52 +03:00
permission_test.go *: replace interface{} with any keyword 2023-04-04 13:22:42 +03:00