MetaMask / MetaMask/metamask-extension

UI <=> Background - Remove direct invocations of callBackgroundMethod and submitRequestToBackground from actions.ts file

Open
#18,073 1 comment 0 reactions 0 assignees View on GitHub
team-extension-platform
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

### **Epic: Define deeper boundaries between background and redux state**
https://github.com/MetaMask/metamask-extension/issues/18054

### **Tasks:**
- Audit actions.ts file and anywhere where the submitRequestToBackground or callBackgroundMethod functions are invoked directly inside a larger action, separate those calls into specific methods and place them in the appropriate location such that there are no direct invocations of these two methods in the actions file.

Contributor guide

Open the contributing guide

Research direction

Start by auditing actions.ts for direct invocations of submitRequestToBackground and callBackgroundMethod, then read the linked epic for the intended UI/background boundary. Done means those methods are no longer invoked directly in actions.ts and the calls have been separated into appropriate methods or locations.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.