Skip to content

Conversation

@legobeat
Copy link
Contributor

@legobeat legobeat commented May 28, 2024

The constructor option is narrowly typed to the class PollingBlockTracker, which adds considerable ergonomic friction (only the exact same class instance will pass typing) for no apparent reason.

This widens the interface to allow any BlockTracker. This is not a breaking change.


Related

Blocked by

@legobeat legobeat force-pushed the type-blocktracker branch from 3911153 to 2bc0810 Compare May 28, 2024 08:00
@legobeat legobeat marked this pull request as ready for review May 28, 2024 08:00
@legobeat legobeat requested a review from a team as a code owner May 28, 2024 08:00
@legobeat legobeat requested review from Mrtenz and mcmire May 28, 2024 08:00
@legobeat legobeat merged commit 47f1a83 into MetaMask:main May 28, 2024
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