neo-go/pkg/core
Roman Khimov 1081791c68 core: fix contract manifest unpacking in System.Contract.Create
It's just JSON, io.Serializable is only used for DB storage where the length
should be obtained from the stream. Fixes:

2020-06-18T22:14:10.571+0300    WARN    contract invocation failed      {"tx": "1ffd475a9c246495d6206cb80a9a78e9d14a433ded60cd37aa87d897655606e1", "block": 25893, "error": "error encountered at instruction 3696 (SYSCALL): failed to invoke syscall: invalid character ':' after top-level value"}
2020-06-18 22:38:34 +03:00
..
block block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
blockchainer rpc: update RPC server invoke* calls 2020-06-11 19:34:13 +03:00
dao block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
interop core,native: persist native contract via VM 2020-06-18 15:32:27 +03:00
mempool block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
native native: optimize GAS onPersist for empty blocks 2020-06-18 21:51:29 +03:00
state state: initialize PublicKey before decoding into it, fix #1061 2020-06-18 21:59:58 +03:00
storage core: provide monotonically increasing ID for contracts 2020-06-11 10:45:25 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
blockchain.go core: prevent panic on forced exit 2020-06-18 21:35:17 +03:00
blockchain_test.go core: save application logs for native persist 2020-06-18 15:32:27 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
gas_price.go core: store precise gas price in interop descriptions 2020-06-15 12:02:28 +03:00
header_hash_list.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
helper_test.go core: fix contract manifest unpacking in System.Contract.Create 2020-06-18 22:38:34 +03:00
interop_neo.go core: fix contract manifest unpacking in System.Contract.Create 2020-06-18 22:38:34 +03:00
interop_neo_test.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
interop_system.go core: implement System.Runtime.GetInvocationCounter syscall 2020-06-17 11:24:11 +03:00
interop_system_test.go core: implement System.Runtime.GetInvocationCounter syscall 2020-06-17 11:24:11 +03:00
interops.go core: implement System.Runtime.GetInvocationCounter syscall 2020-06-17 11:24:11 +03:00
interops_test.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
native_contract_test.go native: take into account native contract method prices 2020-06-18 15:32:27 +03:00
opcode_price.go core: add SystemFee and NetworkFee to transaction 2020-05-20 23:26:48 +03:00
prometheus.go core: refactor out MemPool 2020-01-16 10:16:24 +03:00
util.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
util_test.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00