Sign Message should handle non-string payloads

Open
#2,639 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
frontend

Research direction

Start at the Sign Message view and reproduce the failure with a Uint32Array payload, using the linked Sentry alert for the error context. The work is complete when non-string input no longer causes an unhandled parsing error and the user receives a useful explanation of what went wrong.

Written by the indexing model from the issue text.

Description

bug

In Sign Message, if a user passes uint32array, the app throws an error because it's unable to parse it. This view should be able to sanitize non-string inputs and give the user a useful message to let them know what went wrong.

Related Sentry alert: https://stellarorg.sentry.io/issues/7164546048/?referrer=slack&notification_uuid=04bbeb8a-c6a6-4348-86ed-ac87fd557d53&alert_rule_id=15034055&alert_type=issue

Dominant language
TypeScript
Stars
122
Forks
62
Avg merge
4d 19h
Merged PRs (30d)
41

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stellar/freighter

All issues in stellar/freighter

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.