MetaMask / MetaMask/metamask-extension

PersistenceError: Data error: storage.local does not contain vault data

Open
#40,084 0 comments 0 reactions 0 assignees View on GitHub
external-contributor INVALID-ISSUE-TEMPLATE team-extension-platform
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

Sentry Issue: [METAMASK-YH6J](https://metamask.sentry.io/issues/7230912827/?referrer=github_integration)

```
Error: Corruption: block checksum mismatch
at (node_modules/webextension-polyfill/dist/browser-polyfill.js:788:1)

PersistenceError: Data error: storage.local does not contain vault data
at new PersistenceError (app/scripts/lib/stores/persistence-manager.ts:77:5)
at (app/scripts/lib/stores/persistence-manager.ts:714:21)
```

Contributor guide

Open the contributing guide

Research direction

Start in app/scripts/lib/stores/persistence-manager.ts around lines 77 and 714, then trace the storage.local access shown in the error. Compare the persistence failure with the block checksum mismatch from browser-polyfill.js:788. Done means identifying the corruption path and confirming a fix prevents or handles the missing vault data error.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
databases
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.