mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
b10af1ed31
Refs. #3522. The core problem is the same as for groups/features: we can't allow empty trusts when they're unmarshalled from JSON. But unlike others we can't easily differentiate missing any value with other cases because the default value for WildPermissionDescs is a valid thing. Adding an additional field makes it invalid and we can build around it. Other options are implementing custom UnmarshalJSON for Manifest (too much for this) or making Trusts a pointer (an option, but can fail in too many ways). Signed-off-by: Roman Khimov <roman@nspcc.ru> |
||
---|---|---|
.. | ||
binding | ||
callflag | ||
context | ||
manifest | ||
nef | ||
rpcbinding | ||
testdata | ||
trigger | ||
zkpbinding | ||
builder.go | ||
builder_test.go | ||
contract.go | ||
contract_test.go | ||
doc.go | ||
doc_test.go | ||
entry.go | ||
param_type.go | ||
param_type_test.go | ||
parameter.go | ||
parameter_test.go |