LiskArchive / lisk-sdk

🔩 Lisk software development kit
https://lisk.com
Apache License 2.0
2.72k stars 456 forks source link

CLI fails with error upon non existing transaction ID #7480

Closed sitetester closed 11 months ago

sitetester commented 2 years ago

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 ID block:get xxx

Which version(s) does this affect? (Environment, OS, etc...)

V6

shuse2 commented 11 months ago

Closing this issue for no activity