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

Fix issue where @metamask/polling-controller was mistakenly omitted from @metamask/assets-controller dependencies #1831

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

adonesky1
Copy link
Contributor

Fix issue where @metamask/polling-controller was mistakenly omitted from @metamask/assets-controller dependencies

…rom @metamask/assets-controller dependencies
@adonesky1 adonesky1 requested a review from a team as a code owner October 12, 2023 14:54
adonesky1 referenced this pull request Oct 12, 2023
…PollingController` (#1763)

Resolves: MetaMask/MetaMask-planning#1032

Integrates new `PollingController` abstraction into the
`TokenListController`, implements the `executePoll` method and
parameterizes the `fetchTokenList` method by `networkClientId` such that
tokenLists can be fetched and cached for different networks via
concurrent polling sessions.

**A note:** As is our current controller refactor strategy, these
changes are additive, backwards compatible and coexist alongside the
existing globally selected network pattern. Once we fully adopt this
polling pattern we should no longer access the root `tokenList` state
but rather access from the cache with a chainId selector.
@adonesky1 adonesky1 mentioned this pull request Oct 12, 2023
@adonesky1 adonesky1 merged commit 2fe9fc7 into main Oct 12, 2023
107 checks passed
@adonesky1 adonesky1 deleted the fix-missing-pollingcontroller-dep branch October 12, 2023 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants