MetaMask / MetaMask/snaps

Allow snaps to specify a limitation for `manageState`

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

Description

We currently chose 100MB as the default limitations for the `manageState` JSON blob.

We should allow snaps to specify their own requested limit for this.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by searching for the manageState implementation and the 100MB default, then trace how snap configuration is validated and applied. Done means a snap can request its own manageState limit and that the requested limit is enforced with appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.