MetaMask / MetaMask/metamask-extension
Refactor the transaction controller so that the global provider and block tracker are retrieved dynamically
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13.2k
- Forks
- 5.6k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 451
Description
As part of the work to [Delay network controller provider initialization](https://github.com/MetaMask/metamask-extension/pull/23005) in order to avoid requests to 3rd party APIs before user onboarding is complete, we need to refactor the transaction controller so that the global provider and block tracker are retrieved dynamically.
[A PR](https://github.com/MetaMask/core/pull/4004) for this work has already been created by @matthewwalsh0. It needs rebasing and testing but it's otherwise mostly complete.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing work in MetaMask/core pull request #4004, which covers dynamically retrieving the transaction controller's global provider and block tracker. Rebase the PR, run the relevant tests, and confirm that provider initialization is delayed as intended without breaking transaction handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 15/100