Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: eth-block-tracker@^8.0.0 -> @metamask/eth-block-tracker@^9.0.2 #303

Merged
merged 9 commits into from
May 23, 2024

Conversation

legobeat
Copy link
Contributor

The package eth-block-tracker has been renamed to @metamask/eth-block-tracker.

This upgrades to the latest v9, which contains no breaking changes beyond the rename.

Also contains a bugfix for an issue with multiple redundant polling loops.

https://github.com/MetaMask/eth-block-tracker/blob/main/CHANGELOG.md

Related

@legobeat legobeat added the dependencies Pull requests that update a dependency file label May 23, 2024
Copy link

socket-security bot commented May 23, 2024

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@metamask/eth-block-tracker@9.0.1 None 0 0 B

View full report↗︎

@legobeat

This comment was marked as resolved.

@legobeat legobeat changed the title deps: eth-block-tracker@^8.0.0 -> @metamask/eth-block-tracker@^9.0.1 deps: eth-block-tracker@^8.0.0 -> @metamask/eth-block-tracker@^9.0.2 May 23, 2024
@legobeat legobeat marked this pull request as ready for review May 23, 2024 23:10
@legobeat legobeat requested a review from a team as a code owner May 23, 2024 23:10
@legobeat legobeat requested a review from Gudahtt May 23, 2024 23:11
@@ -145,7 +145,6 @@ export function buildStubForBlockNumberRequest(
return {
request: {
method: 'eth_blockNumber',
params: [],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, with v9.0.2 we should be able to restore this. Though I'm not sure whether it matters

Copy link
Contributor Author

@legobeat legobeat May 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. It looks like it shouldn't matter but I'm better safe than sorry here so putting it back here as well so we don't have some subtle regression not break tests down the line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least it's good to see it work fine with both variants after 9.0.2

Gudahtt
Gudahtt previously approved these changes May 23, 2024
Copy link
Member

@Gudahtt Gudahtt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@legobeat legobeat merged commit 1e1e6a0 into MetaMask:main May 23, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants