neo-go/pkg/core
Anna Shaleva 4ebac5a069 core: fix bug in nep5 notifications handling
Native contracts deployment creates `Transfer` notifications and adds
them into interop context. However, these notifications were not stored
for two reasons:
1. typo in `Transfer` (so these notifications were not recognised during
processing of the invocation tx in (*Blockchain).storeBlock(...) method)
2. these notifications have `from` adress setted to null, so conversion
to []byte fails. Same thing could happen with `to`.

Related C# issue: https://github.com/neo-project/neo/issues/1646

For now, made both `transfer` and `Transfer` valid.
2020-05-20 23:16:04 +03:00
..
block core: add txes duplication check on block.DecodeBinary 2020-04-27 18:00:01 +03:00
blockchainer core: switch to the new voting system (via native NEO contract) 2020-04-27 16:06:50 +03:00
dao core: switch to the new voting system (via native NEO contract) 2020-04-27 16:06:50 +03:00
interop core: implement System.Contract.Call interop 2020-05-07 14:39:06 +03:00
mempool *: drop miner transaction 2020-04-27 17:57:37 +03:00
native native: save native contract state on deploy 2020-05-07 14:03:14 +03:00
state util: implement Serializable interface over Uint160 2020-05-04 11:49:14 +03:00
storage core/native: move NextValidators storage to NEO contract 2020-04-27 12:30:39 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction core: add cosigners field to transaction 2020-05-04 11:53:31 +03:00
blockchain.go core: fix bug in nep5 notifications handling 2020-05-20 23:16:04 +03:00
blockchain_test.go *: drop miner transaction 2020-04-27 17:57:37 +03:00
gas_price.go vm,compiler: replace APPCALL with System.Contract.Call 2020-05-07 14:52:03 +03:00
gas_price_test.go core: use opcodes instead of raw bytes in tests 2020-04-23 10:37:01 +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: remove unused function from tests 2020-05-06 16:00:16 +03:00
interop_neo.go vm: hide GetContextScriptHash() method 2020-05-04 11:53:31 +03:00
interop_neo_test.go core: change block.ConsensusData to neo3 format 2020-04-27 17:57:37 +03:00
interop_system.go core: implement System.Contract.Call interop 2020-05-07 14:39:06 +03:00
interops.go vm,compiler: replace APPCALL with System.Contract.Call 2020-05-07 14:52:03 +03:00
interops_test.go core: change block.ConsensusData to neo3 format 2020-04-27 17:57:37 +03:00
native_contract_test.go core: implement System.Contract.Call interop 2020-05-07 14:39:06 +03:00
prometheus.go core: refactor out MemPool 2020-01-16 10:16:24 +03:00
spent_coin.go core: move (un)SpentCoin structs into the state package 2020-03-11 12:22:52 +03:00
util.go *: drop miner transaction 2020-04-27 17:57:37 +03:00
util_test.go vm: move RET and SYSCALL opcodes 2020-05-07 13:23:05 +03:00