Skip to content

CLI auto-generates invalid account name #678

@r0kh0r

Description

@r0kh0r

When creating a wallet via the CLI on testnet, the process fails after setting a password with the following error:

Error: malformed account name 'account-1': identifier must start with a lower-case letter or number and only contain lower-case letters, numbers and _

I did not provide the account name manually. It appears to be auto-generated by the CLI. Since account-1 contains a dash, it violates the identifier rules enforced by the system.

As a workaround, explicitly providing a name works:

oasis wallet create testwallet

Suggested behavior, better experience:
CLI should auto-generate valid account names. Default names should always conform to the identifier rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions