neoneo-go/pkg/core
Evgenii Stratonikov 65d147c890 core/test: simplify tests for policy contract
Most of the methods are just get/set with some boundaries.
This simplifies writing tests for new methods.
Also add missing test regarding cache behaviour for current methods
when value is set and read in the same block.
2020-12-16 13:55:40 +03:00
..
block pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
blockchainer native: allow to modify StoragePrice in the policy contract 2020-12-16 13:55:40 +03:00
chaindump blockchainer: allow to dump/restore chain 2020-11-24 16:43:11 +03:00
dao native: move contract deployment to management contract 2020-12-14 15:23:46 +03:00
fee core: redefine opcode prices 2020-12-16 13:55:39 +03:00
interop core: redefine opcode prices 2020-12-16 13:55:39 +03:00
mempool core: redefine opcode prices 2020-12-16 13:55:39 +03:00
mpt pkg: move internal/ package to the root directory 2020-11-24 16:39:56 +03:00
native native: allow to modify StoragePrice in the policy contract 2020-12-16 13:55:40 +03:00
state native: fix contract hashes 2020-12-15 12:58:04 +03:00
storage native: move contract deployment to management contract 2020-12-14 15:23:46 +03:00
test_data block: update binary test data 2020-08-18 14:52:30 +03:00
transaction util: move Fixed8 to encoding/fixedn package 2020-12-09 11:18:18 +03:00
blockchain.go native: allow to modify StoragePrice in the policy contract 2020-12-16 13:55:40 +03:00
blockchain_test.go core: redefine opcode prices 2020-12-16 13:55:39 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
gas_price.go core: redefine opcode prices 2020-12-16 13:55:39 +03:00
helper_test.go native: allow to modify ExecFeeFactor in the policy contract 2020-12-16 13:55:40 +03:00
interop_neo.go native: move contract deployment to management contract 2020-12-14 15:23:46 +03:00
interop_neo_test.go native: move contract deployment to management contract 2020-12-14 15:23:46 +03:00
interop_system.go native: allow to modify StoragePrice in the policy contract 2020-12-16 13:55:40 +03:00
interop_system_test.go native: move contract deployment to management contract 2020-12-14 15:23:46 +03:00
interops.go core: redefine opcode prices 2020-12-16 13:55:39 +03:00
interops_test.go core: allow to use state root in header 2020-11-20 17:16:32 +03:00
native_contract_test.go core: redefine opcode prices 2020-12-16 13:55:39 +03:00
native_designate_test.go native: drop OnPersistEnd 2020-12-14 15:24:15 +03:00
native_management_test.go native: move contract deployment to management contract 2020-12-14 15:23:46 +03:00
native_neo_test.go native: fix NEP17.Transfer cost 2020-12-15 12:04:10 +03:00
native_notary_test.go network: add notary request payload 2020-12-10 18:17:31 +03:00
native_oracle_test.go native: drop OnPersistEnd 2020-12-14 15:24:15 +03:00
native_policy_test.go core/test: simplify tests for policy contract 2020-12-16 13:55:40 +03:00
prometheus.go core: add state height to prometheus metrics 2020-07-30 12:42:15 +03:00
util.go native: drop Neo.Native.Deploy, move contract init to management contract 2020-12-14 13:33:41 +03:00
util_test.go native: drop Neo.Native.Deploy, move contract init to management contract 2020-12-14 13:33:41 +03:00