neoneo-go/pkg/core
Anna Shaleva 842feb2533 core: adjust System.Contract.Update interop
Part of #1055.

We should check contract scripthash against the one provided in manifest
and manifest groups. We shouldn't put on stack anything after return.
And ofcourse, we mast not destroy the old contract at the end, as
`contractDestroy` removes all storage items associated with the
old contract ID (which equals to the new contract ID). We just remove
old contract state - it's enough.
2020-07-17 12:33:44 +03:00
..
block block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
blockchainer consensus: use GetNextBlockValidators where appropriate 2020-07-11 19:54:50 +03:00
dao dao: combine GetNextContractID and PutNextContractID 2020-06-24 10:22:21 +03:00
interop core: implement Secp256k1 Verify and CheckMultisig interops 2020-07-14 16:21:34 +03:00
mempool transaction: drop old attributes 2020-07-10 20:40:27 +03:00
native core: implement Secp256k1 Verify and CheckMultisig interops 2020-07-14 16:21:34 +03:00
state core: use big.Int to store NEP5 balances 2020-07-09 13:26:39 +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 transaction: drop old attributes 2020-07-10 20:40:27 +03:00
blockchain.go Merge pull request #1177 from nspcc-dev/no-free-vm-runs 2020-07-14 08:42:13 +03:00
blockchain_test.go core: use big.Int to store NEP5 balances 2020-07-09 13:26:39 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
gas_price.go *: switch from fixed8 to int64 2020-06-29 21:39:27 +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 vm: zero GAS means no GAS, use fee data to properly limit execution 2020-07-14 08:37:29 +03:00
interop_neo.go core: adjust System.Contract.Update interop 2020-07-17 12:33:44 +03:00
interop_neo_test.go core: rename Neo.Crypto.Verify to Neo.Crypto.VerifyWithECDsaSecp256r1 2020-07-14 16:19:12 +03:00
interop_system.go core: adjust System.Blockchain.GetContract interop 2020-07-17 09:28:52 +03:00
interop_system_test.go core: adjust System.Contract.Update interop 2020-07-17 12:33:44 +03:00
interops.go core: implement Secp256k1 Verify and CheckMultisig interops 2020-07-14 16:21:34 +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 core/tests: extend native contract test 2020-06-18 22:44:10 +03:00
native_policy_test.go vm: zero GAS means no GAS, use fee data to properly limit execution 2020-07-14 08:37:29 +03:00
opcode_price.go *: switch from fixed8 to int64 2020-06-29 21:39:27 +03:00
prometheus.go core: refactor out MemPool 2020-01-16 10:16:24 +03:00
util.go core: fix CalculateNetworkFee() for multisig contracts 2020-07-13 18:05:46 +03:00
util_test.go core: rename Neo.Crypto.CheckMultisig to Neo.Crypto.CheckMultisigWithECDsaSecp256r1 2020-07-14 16:19:12 +03:00