MetaMask / MetaMask/metamask-mobile

[Sentry] Error: No metadata found for 'disabledRpcMethodPreferences'

Open
#15,896 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-sentry regression-prod-7.46.1 Sev3-low team-core-platform type-bug
Dominant language
TypeScript
Stars
3k
Forks
1.7k
Avg merge
1d 14h
Merged PRs (30d)
669

Description

What is this about?

[!IMPORTANT]
See https://github.com/MetaMask/core/issues/5545

Sentry error event: No metadata found for 'disabledRpcMethodPreferences'

Error: No metadata found for 'disabledRpcMethodPreferences'
  at anonymous(app:///index.android.bundle:1:9222185)
  at reduce(native)
  at deriveStateFromMetadata(app:///index.android.bundle:1:9222088)
  at getPersistentState(app:///index.android.bundle:1:9222023)
  at anonymous(app:///index.android.bundle:1:9218971)
  at _in(app:///index.android.bundle:1:9127435)
  at anonymous(app:///index.android.bundle:1:9121961)
  at reduce(native)
  at processNextKey(app:///index.android.bundle:1:9121828)
  at apply(native)
  at anonymous(app:///index.android.bundle:1:461022)
  at _callTimer(app:///index.android.bundle:1:460119)
  at callTimers(app:///index.android.bundle:1:461924)
  at apply(native)
  at __callFunction(app:///index.android.bundle:1:347004)
  at anonymous(app:///index.android.bundle:1:345336)
  at __guard(app:///index.android.bundle:1:346291)
  at callFunctionReturnFlushedQueue(app:///index.android.bundle:1:345294)

Scenario

No response

Design

No response

Technical Details

No response

Threat Modeling Framework

No response

Acceptance Criteria

No response

Stakeholder review needed before the work gets merged
  • Engineering (needed in most cases)
  • Design
  • Product
  • QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
  • Security
  • Legal
  • Marketing
  • Management (please specify)
  • Other (please specify)
References

No response

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 with the linked MetaMask Core issue 5545 and the Sentry event, then trace the reported deriveStateFromMetadata call involving disabledRpcMethodPreferences. Confirm the cause and define a reproducible check that the missing-metadata error no longer appears in the mobile app.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
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.