neo-go
neo-go copied to clipboard
Add `stackitem.Convertible` support to `unwrap` package
The interface may look like:
func Convertible(expected stackitem.Convertible, r *result.Invoke, err error) (stackitem.Convertible, error)
Ref. https://github.com/nspcc-dev/neofs-node/pull/2523#discussion_r1301955952.
Likely we can handle this with generics more easily now.
Also may be useful to add support for https://github.com/nspcc-dev/neo-go/issues/3285.