neo-go/pkg/core/state
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
..
contract.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
contract_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
deposit.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
deposit_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
mpt_root.go state: fix MPTRoot JSONization 2021-03-26 13:45:18 +03:00
mpt_root_test.go state: fix MPTRoot JSONization 2021-03-26 13:45:18 +03:00
native_state.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
nep17.go dao: do not look up new NEP17 batch 2021-02-26 14:08:51 +03:00
nep17_test.go pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
notification_event.go state/result: save/return real JSONization errors 2021-07-07 00:42:36 +03:00
notification_event_test.go state: move nil check down to stackitem JSON processing 2021-07-07 00:38:19 +03:00
oracle.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
oracle_test.go stackitem: introduce Convertible interface 2021-07-19 15:42:42 +03:00
storage_item.go dao: serialize state.StorageItem as raw bytes 2021-03-09 12:11:26 +03:00
validator.go core: switch to the new voting system (via native NEO contract) 2020-04-27 16:06:50 +03:00