Skip to content

[Bug]: register domain with no --name silently registers a random label #294

Description

@filip-parity

Component

Other

Priority

P3

What happened?

dotns register domain with no --name silently generates a random label and immediately starts the commit-reveal, spending the commit fee and (if left alone) the full registration price on a throwaway name. Reproduced with 0.9.0: a bare register domain invocation generated 90or4t8ufyo22 and went straight to submitting the commitment, no prompt.

Expected behavior

A missing --name should either be an error or require explicit confirmation before spending; random-label generation can stay behind a flag for test tooling.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions