MetaMask / MetaMask/snaps

[Bug] Snap state and installation is deleted when rejecting an installation request for the same snap.

Open
#1,525 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type-bug
Dominant language
TypeScript
Stars
853
Forks
662
Avg merge
2d 8h
Merged PRs (30d)
8

Description

Replication:

  1. Install a snap from a locally served snap.
  2. Save state using manageState
  3. Request to install the same snap but reject it.
  4. The installed snap and the snap's state is now gone.

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

Reproduce the sequence with a locally served snap: install it, save state with manageState, then reject a second installation request for the same snap. Trace the installation-request rejection path and the state cleanup it triggers. Done means rejecting the duplicate request leaves the installed snap and its saved state intact.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.