neo-go/pkg
Roman Khimov 7287c01bd0 rpc/server: rework submitblock empty test
The original intention here was to check for server reaction in presence of
validation errors (response.ErrValidationFailed) and it was very easy to make
validation fail for block without transactions in Neo 2. But in Neo 3
transactionless blocks are perfectly valid (see
29d321b5e1) which broke this test even though we
didn't see it until websocket addition (which required
8cec6694ae to make this test work initially).

So make a valid block and then spoil its verification script.
2020-05-06 14:20:35 +03:00
..
compiler compiler: add ability to generate .abi.json file 2020-05-04 08:37:39 +03:00
config transaction: drop Enrollment and State types 2020-04-27 16:06:58 +03:00
consensus Merge pull request #911 from nspcc-dev/feature/convert 2020-04-28 18:08:36 +03:00
core vm: hide GetContextScriptHash() method 2020-05-04 11:53:31 +03:00
crypto core/native: move NextValidators storage to NEO contract 2020-04-27 12:30:39 +03:00
encoding *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
internal testchain: implement Sign function 2020-04-23 17:09:09 +03:00
interop vm: remove crypto-related opcodes 2020-04-29 19:16:38 +03:00
io *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
network *: drop miner transaction 2020-04-27 17:57:37 +03:00
rpc rpc/server: rework submitblock empty test 2020-05-06 14:20:35 +03:00
smartcontract rpc, smartcontract: move contract metadata to smartcontract package 2020-05-04 08:37:39 +03:00
util util: implement Serializable interface over Uint160 2020-05-04 11:49:14 +03:00
vm vm: hide GetContextScriptHash() method 2020-05-04 11:53:31 +03:00
wallet vm: implement new PUSH opcodes 2020-04-23 10:52:28 +03:00