MetaMask / metamask-extension

:globe_with_meridians: :electric_plug: The MetaMask browser extension enables browsing Ethereum blockchain enabled websites
https://metamask.io
Other
11.52k stars 4.7k forks source link

Refactor the transaction controller so that the global provider and block tracker are retrieved dynamically #24370

Open pedronfigueiredo opened 2 weeks ago

pedronfigueiredo commented 2 weeks ago

As part of the work to Delay network controller provider initialization 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 for this work has already been created by @matthewwalsh0. It needs rebasing and testing but it's otherwise mostly complete.