neo-go/pkg/core
Anna Shaleva 58ab3b5ad1 core: get native nep17 balance from contract storage
Not from DAO's items with storage.STNEP17Balances prefix, because
changes are reflected there only after notifications processing. And
this happens only after the transaction script is executed, but there
might be cases when we need to get the balance that was updated
earlier during the same transaction processing.

Affects storage dumps.
2021-04-01 18:37:44 +03:00
..
block block: drop Network from the Header 2021-03-26 13:45:18 +03:00
blockchainer rpc: add CalculateNetworkFee RPC method 2021-03-26 19:14:46 +03:00
chaindump block: drop Network from the Header 2021-03-26 13:45:18 +03:00
dao dao: drop network from DAO 2021-03-26 13:45:18 +03:00
fee core/fee: alter opcode prices 2021-03-11 15:44:09 +03:00
interop core: pop all args from stack before validation checks in Notify 2021-03-31 19:01:05 +03:00
mempool transaction: drop Network from Transaction 2021-03-26 13:45:18 +03:00
mpt mpt: change MaxKeyLength for LeafNode 2021-04-01 10:20:16 +03:00
native core: get native nep17 balance from contract storage 2021-04-01 18:37:44 +03:00
state state: fix MPTRoot JSONization 2021-03-26 13:45:18 +03:00
stateroot stateroot: reject validated root if it doesn't match local one 2021-03-27 00:33:11 +03:00
storage core: move StorageItem-related constants to storage pkg 2021-04-01 10:17:08 +03:00
test_data change block/tx/extensible signing process, fix #1741 2021-03-12 11:27:50 +03:00
transaction transaction: drop Network from Transaction 2021-03-26 13:45:18 +03:00
blockchain.go stateroot: try to fix MPT caching/updating 2021-03-27 00:33:11 +03:00
blockchain_test.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
helper_test.go rpc: add NNS-connected transactions to the test chain 2021-03-26 20:44:32 +03:00
interop_neo.go dao: use raw state.StorageItem instead of pointer 2021-03-09 12:11:25 +03:00
interop_neo_test.go dao: drop network from DAO 2021-03-26 13:45:18 +03:00
interop_system.go core: move StorageItem-related constants to storage pkg 2021-04-01 10:17:08 +03:00
interop_system_test.go core: move StorageItem-related constants to storage pkg 2021-04-01 10:17:08 +03:00
interops.go core: fix storage.Delete price 2021-03-19 18:57:00 +03:00
interops_test.go dao: drop network from DAO 2021-03-26 13:45:18 +03:00
native_contract_test.go dao: drop network from DAO 2021-03-26 13:45:18 +03:00
native_designate_test.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
native_ledger_test.go *: upgrade tests to use T.Cleanup() 2021-03-01 17:08:00 +03:00
native_management_test.go stateroot: try to fix MPT caching/updating 2021-03-27 00:33:11 +03:00
native_name_service_test.go core: move NNS record types to a separate package 2021-03-26 20:44:32 +03:00
native_neo_test.go transaction: drop Network from Transaction 2021-03-26 13:45:18 +03:00
native_notary_test.go transaction: drop Network from Transaction 2021-03-26 13:45:18 +03:00
native_oracle_test.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
native_policy_test.go native: allow to set candidate register price 2021-03-11 10:12:30 +03:00
notary_test.go payload: drop Network from P2PNotaryRequest 2021-03-26 13:45:18 +03:00
oracle_test.go core: move native node roles to a separate pkg 2021-03-23 13:56:34 +03:00
prometheus.go stateroot: move state-root related logic to core/stateroot 2021-03-09 13:48:29 +03:00
stateroot_test.go state: fix MPTRoot JSONization 2021-03-26 13:45:18 +03:00
util.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
util_test.go change block/tx/extensible signing process, fix #1741 2021-03-12 11:27:50 +03:00