Fix method registry initialization (#8200)
The method registry was being initialized with the global variable `ethereumProvider` before that variable was set. As a result, the method registry was falling back to an internally constructed provider that used the wrong provider URL (an obsolete Infura API). This was resulting in an error with the message "Project ID not found". The method registry is now initialized lazily, when it's first needed. This should be well after the initialization of `ethereumProvider`, which occurs during the UI initialization.feature/default_network_editable
parent
e3b68579ca
commit
91f6dfc6e0
Loading…
Reference in new issue