MetaMask / MetaMask/core

TokenListController: Refactor

Open
#1,610 0 comments 0 reactions 0 assignees View on GitHub
team-assets team-wallet-framework wf-controller-tech-debt
Dominant language
TypeScript
Stars
413
Forks
308
Avg merge
1d 4h
Merged PRs (30d)
253

Description

The `fetchTokenList` method seems to be complex. We should split this method up, extracting logic to separate files, so that it is easier to understand and test.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate TokenListController and its fetchTokenList method, then inspect nearby tests and callers to understand the current behavior. The work is done when the method's logic is separated into understandable, testable files without changing its behavior, with the relevant tests still passing.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.