neo-go/pkg/util
Roman Khimov aab18c3083 stackitem: introduce Convertible interface
We have a lot of native contract types that are converted to stack items
before serialization, then deserialized as stack items and converted back to
regular structures. stackitem.Convertible allows to remove a lot of repetitive
io.Serializable code.

This also introduces to/from converter in testserdes which unfortunately
required to change util tests to avoid circular references.
2021-07-19 15:42:42 +03:00
..
bitfield *: remove dead code 2021-05-12 18:13:14 +03:00
array.go util: fix a bug with not copying slice of len=1 in ArrayReverse 2020-02-06 12:15:35 +03:00
array_test.go util: fix a bug with not copying slice of len=1 in ArrayReverse 2020-02-06 12:15:35 +03:00
uint160.go util: fixed typo in method description 2020-05-20 23:26:51 +03:00
uint160_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
uint256.go *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
uint256_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00