Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Filter out certain Snaps fields in Engine redux slice #10191

Closed
wants to merge 1 commit into from

Conversation

FrederikBolding
Copy link
Member

Description

This PR adds logic to filter out certain Snaps fields in the Engine redux slice. The SnapController contains multiple very large fields that aren't required to be surfaced in the UI and therefore doesn't need to be put into the Redux slice.

This is an attempt at mirroring the extension implementation: https://github.com/MetaMask/metamask-extension/blob/df81e73bfc8ad13ee1cbe12e15709d254723e944/app/scripts/metamask-controller.js#L2911-L2919

@FrederikBolding FrederikBolding added the team-snaps-platform Snaps Platform team label Jul 1, 2024
@metamaskbot metamaskbot added the INVALID-PR-TEMPLATE PR's body doesn't match template label Jul 1, 2024
Copy link

sonarcloud bot commented Jul 1, 2024

@FrederikBolding FrederikBolding deleted the fb/filter-out-snaps-fields-from-redux branch July 1, 2024 23:03
@github-actions github-actions bot locked and limited conversation to collaborators Jul 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
INVALID-PR-TEMPLATE PR's body doesn't match template team-snaps-platform Snaps Platform team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants