When calling GetBakerList on a node v3.0.2 (the version currently running on mainnet) where the call isn't valid, the resulting error message isn't helpful:
$ stack run concordium-client -- --grpc-ip=service.internal.mainnet.concordium.software raw GetBakerList
gRPC error: not enough bytes
If pointing at testnet (which is running v4.0.11), the call is valid:
$ stack run concordium-client -- --grpc-ip=service.internal.testnet.concordium.com raw GetBakerList
[
0,
1,
2,
...
]
Steps to Reproduce
Call concordium-client raw GetBakerList against a pre-4.x.x node.
Expected Result
A message saying that the call isn't valid because the node version is too old.
Actual Result
A low-level gRPC error.
Versions
Software Version: 4.0.3-0 (current tip of main; commit 8693a16e9b9ec1d100151e5139d8f3f4e6a8f285).
Bug Description
When calling
GetBakerList
on a node v3.0.2 (the version currently running on mainnet) where the call isn't valid, the resulting error message isn't helpful:If pointing at testnet (which is running v4.0.11), the call is valid:
Steps to Reproduce
Call
concordium-client raw GetBakerList
against a pre-4.x.x node.Expected Result
A message saying that the call isn't valid because the node version is too old.
Actual Result
A low-level gRPC error.
Versions
4.0.3-0
(current tip ofmain
; commit8693a16e9b9ec1d100151e5139d8f3f4e6a8f285
).┆Issue is synchronized with this Jira Task by Unito