neoneo-go/pkg/core
Roman Khimov e6e8761d35 core: fix contract's state migration and don't swallow errors
Fixes difference in state changes at mainnet's block 2442790 because contract
migration in b4eb2dc35226e6520ee4e09a56197dff91547b50a7f57edc82930fc18c75dffc
doesn't actually transfer the storage state, it only deletes the old one.

And add an error check just in case.
2020-03-16 11:52:09 +03:00
..
block *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
mempool *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
state core: store NEP5Transfers in batches 2020-03-12 14:51:12 +03:00
storage core: store NEP5 balances separately 2020-03-12 12:58:28 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction Merge pull request #706 from nspcc-dev/feature/transfer 2020-03-05 12:28:01 +03:00
blockchain.go core: store NEP5Transfers in batches 2020-03-12 14:51:12 +03:00
blockchain_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
blockchainer.go core: store NEP5 balances separately 2020-03-12 12:58:28 +03:00
cacheddao.go core: cache NEP5Transfers in cached DAO 2020-03-12 17:16:11 +03:00
cacheddao_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
dao.go core: store NEP5Transfers in batches 2020-03-12 14:51:12 +03:00
dao_test.go core/state: merge spent and unspent coins state, use it to store more things 2020-03-11 12:40:02 +03:00
gas_price.go cli: make gas parameter to deployment add gas to the base price 2020-03-11 20:34:36 +03:00
gas_price_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +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 rpc: implement submitblock RPC 2020-03-06 12:03:08 +03:00
interop_neo.go core: fix contract's state migration and don't swallow errors 2020-03-16 11:52:09 +03:00
interop_neo_test.go core: fix wrong endian used in interop functions 2020-03-05 19:44:09 +03:00
interop_system.go core: fix wrong endian used in interop functions 2020-03-05 19:44:09 +03:00
interops.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
interops_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +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
uint32.go *: goimports 2019-12-17 14:51:28 +03:00
util.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
util_test.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00