[cli_wallet] Account creation with too long name doesn't cause error, but truncates name
Description
When account creation with too long name is requested (e.g. too-long-account-name
) then wallet sends request to create account with truncated name (e.g. too-long-account
, note that -name
suffix is missing).
How to reproduce
I wrote test which reproduces that issue and tests correct behavior. Is available on branch: origin/pbatko/reproduce-issue-278.
Other notes
- More tests should be written to cover other methods of accounts creation then
create_account
, likecreate_account_delegated
,create_account_with_keys
and so on... - Error description proposed in test can be modified. It's only a suggestion.