Concordium / concordium-client

A command line client to interact with the concordium-node
Apache License 2.0
8 stars 6 forks source link

Extend warning message if commission rates are wrong #148

Open mh-concordium opened 2 years ago

mh-concordium commented 2 years ago

Description Id user sends transaction with the wrong commission rates, we just inform the user that the rates are wrong. It would be nice to either show the exact ranges or if its easier, point to how it is possible to look for the correct rates. Concordium client consensus show-chain-parameters

Steps to Reproduce Add baker with wrong commission rate.

Expected Result Option 1: Show the exact range in the warning message. Option 2: Show the command that shows the rates. consensus show-chain-parameters

Actual Result We are just informing the user that commission rate is wrong.

Versions

┆Issue is synchronized with this Jira Task by Unito

abizjak commented 2 years ago

Option 1 is preferred if it is not significantly more time consuming to do than option 2.