MetaMask / MetaMask/metamask-mobile

Error: Origin is required

Open
#10,026 0 comments 0 reactions 0 assignees View on GitHub
team-transactions
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

Sentry Issue: [METAMASK-MOBILE-2G5T](https://metamask.sentry.io/issues/5495508160/?referrer=github_integration)

```
Error: Origin is required
at r (ses.cjs:7676:17)
at _addApprovalRequest (app/util/smart-transactions/smart-publish-hook.ts:321:28)
at SmartTransactionHook#submit (app/util/smart-transactions/smart-publish-hook.ts:182:13)
...
(11 additional frame(s) were not displayed)
```

Contributor guide

Open the contributing guide

Research direction

Start in app/util/smart-transactions/smart-publish-hook.ts at _addApprovalRequest (line 321) and SmartTransactionHook#submit (line 182), then trace the Sentry stack for the missing Origin error. Reproduce the reported smart transaction submission flow and define done as preventing or correctly handling the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.