Skip to content

NetworkController API normalization: implement getProviderAndBlockTracker #1018

Description

@Gudahtt

We should replace the network controller provider property with the getProviderAndBlockTracker method, similar to what the extension uses. This method would return a proxied provider and block tracker. These would both refer to the current selected network at all times, with controllers using network events to know when a network switch has happened.

This is part of a larger effort to normalize the API of both network controllers, to make them easier to merge.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions