Closed sitetester closed 11 months ago
It should return correct error message, e.g. transaction not found for given ID
transaction not found for given ID
CLI fails with error upon non existing transaction ID
EXAMPLE transaction:get eab06c6a22e88bca7150e0347a7d976acd070cb9284423e6eabecd657acc1263
$ ./bin/run transaction:get eab06c6a22e88bca7150e0347a7d976acd070cb9284423e6eabecd657acc1263 Error: Invalid request at Object.convertRPCError (~/Projects/lisk-sdk/elements/lisk-api-client/src/utils.ts:19:2) at IPCChannel._listenToRPCResponse (~/Projects/lisk-sdk/elements/lisk-api-client/src/ipc_channel.ts:147:39) $
Note: Also check for non existing block ID block:get xxx
Note:
block:get xxx
V6
Closing this issue for no activity
Expected behavior
It should return correct error message, e.g.
transaction not found for given ID
Actual behavior
CLI fails with error upon non existing transaction ID
Steps to reproduce
EXAMPLE transaction:get eab06c6a22e88bca7150e0347a7d976acd070cb9284423e6eabecd657acc1263
$ ./bin/run transaction:get eab06c6a22e88bca7150e0347a7d976acd070cb9284423e6eabecd657acc1263 Error: Invalid request at Object.convertRPCError (~/Projects/lisk-sdk/elements/lisk-api-client/src/utils.ts:19:2) at IPCChannel._listenToRPCResponse (~/Projects/lisk-sdk/elements/lisk-api-client/src/ipc_channel.ts:147:39) $
Note:
Also check for non existing block IDblock:get xxx
Which version(s) does this affect? (Environment, OS, etc...)
V6