Roman Khimov
|
49438798b5
|
manifest: deduplicate duplicate-checking code
Signed-off-by: Roman Khimov <roman@nspcc.ru>
|
2024-08-27 08:24:52 +03:00 |
|
Roman Khimov
|
7f1690a840
|
manifest: use slices.SortFunc, deduplicate PermissionDesc code
Simplify Less and Equals, fix Equals as well for PermissionWildcard (it was
reporting false erroneously).
Signed-off-by: Roman Khimov <roman@nspcc.ru>
|
2024-08-27 08:24:52 +03:00 |
|
Roman Khimov
|
de665b5567
|
*: use slices.Sort() where appropriate
It's always faster for simple types.
Signed-off-by: Roman Khimov <roman@nspcc.ru>
|
2024-08-27 08:24:52 +03:00 |
|
Anna Shaleva
|
15732580eb
|
smartcontract: improve manifest validness errors
It should be clear from error what's wrong with ABI
(specify bad method/event/parameter identifier).
|
2022-08-22 14:59:28 +03:00 |
|
Elizaveta Chichindaeva
|
28908aa3cf
|
[#2442] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
|
2022-05-04 19:48:27 +03:00 |
|
Anna Shaleva
|
50fc9bf766
|
smartcontract: use permission descriptors for manifest's trusts
|
2021-05-05 17:40:10 +03:00 |
|
Roman Khimov
|
284476c070
|
manifest: add Permission and Permissions validity checks
Refs. #1699.
|
2021-02-09 22:31:26 +03:00 |
|
Roman Khimov
|
15ed905757
|
manifest: add validity checks for Parameter
Refs. #1699.
|
2021-02-09 22:31:26 +03:00 |
|
Roman Khimov
|
f0c3066ef6
|
manifest: add method validity check
Refs. #1699.
|
2021-02-09 22:31:26 +03:00 |
|
Roman Khimov
|
f3c761e4c2
|
manifest: move Parameter into a file of its own
|
2021-02-09 22:31:26 +03:00 |
|