MetaMask / MetaMask/snaps

Big Snap source code fails to load

Open
#723 4 comments 0 reactions 0 assignees View on GitHub
type-research
Dominant language
TypeScript
Stars
853
Forks
662
Avg merge
2d 8h
Merged PRs (30d)
8

Description

Snaps that are big enough (eg >1mb) fail to load, are stuck at installing.

Theory - window.postMessage stuck when sending code to i frame

CC @piotr-roslaniec

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reproducing installation with a Snap larger than 1 MB, then trace the window.postMessage path that sends source code to the iframe. Done means large Snaps finish installing and loading rather than remaining stuck.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.