MetaMask / MetaMask/metamask-mobile

Error: The address: ** is not imported

Open
#17,124 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

team-accounts-framework
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

Sentry Issue: METAMASK-MOBILE-3WNQ

Error: The address: ** is not imported
  at getAddressAccountType (/app/util/address/index.ts:440:18)
  at getAnalyticsParams (/app/components/Views/confirmations/hooks/signatures/useSignatureMetrics.ts:44:40)
  at anonymous (/app/components/Views/confirmations/hooks/signatures/useSignatureMetrics.ts:79:30)
  at useSignatureMetrics (/app/components/Views/confirmations/hooks/signatures/useSignatureMetrics.ts:75:34)
  at useConfirmActions (/app/components/Views/confirmations/hooks/useConfirmActions.ts:24:58)
...
(25 additional frame(s) were not displayed)

Contributor guide

Open the contributing guide

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.

Research direction

Start at getAddressAccountType in app/util/address/index.ts around line 440, then trace its use through getAnalyticsParams and useSignatureMetrics in app/components/Views/confirmations/hooks/signatures/useSignatureMetrics.ts. Reproduce or inspect the Sentry path to determine why an address is not imported during confirmation handling. Done means the reported error path is resolved and the affected confirmation flow no longer produces this exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.