Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signing fails if user doesn't have a verifying key set. #222

Open
johnnymatthews opened this issue Aug 29, 2024 · 0 comments
Open

Signing fails if user doesn't have a verifying key set. #222

johnnymatthews opened this issue Aug 29, 2024 · 0 comments

Comments

@johnnymatthews
Copy link
Contributor

This is a super silly issue, and you can feel free to close it as won't fix, but here's the situation.

  1. User installs CLI.
  2. Creates account.
  3. Funds that account.
  4. Doesn't register the account.
  5. Attempts to sign a message.
  6. Gets this error after entering the message:
verifying key: undefined
Cannot read properties of undefined (reading 'startsWith')

Here's the full terminal output:

? Select Action Sign
? What would you like to do? Sign With Adapter
2024-08-29 10:44:20        REGISTRY: Unknown signed extensions ValidateConfirmRegistered found, treating them as no-effect
2024-08-29 10:44:20        API/INIT: RPC methods not decorated: chainSpec_v1_chainName, chainSpec_v1_genesisHash, chainSpec_v1_properties
? Please choose how you would like to input your message to sign: Text Input
? Enter the message you wish to sign (this will open your default editor): Received
msg to be signed: Sup fam.

verifying key: undefined
Cannot read properties of undefined (reading 'startsWith')
? Return to main menu? (Y/n)

Adding a catch to the start of the Signing workflow to see if there's a valid verifying key somewhere could fix this. But again, super low priority issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant