Skip to content
This repository was archived by the owner on Oct 16, 2025. It is now read-only.

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

Merged
legobeat merged 9 commits intoMetaMask:mainfrom
legobeat:deps-eth-block-tracker-9
May 23, 2024
Merged

deps: eth-block-tracker@^8.0.0 -> @metamask/eth-block-tracker@^9.0.2#303
legobeat merged 9 commits intoMetaMask:mainfrom
legobeat:deps-eth-block-tracker-9

Conversation

@legobeat
Copy link
Copy Markdown
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
@socket-security
Copy link
Copy Markdown

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 legobeat force-pushed the deps-eth-block-tracker-9 branch from 0d476b8 to 74f629e Compare May 23, 2024 04:02
@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
return {
request: {
method: 'eth_blockNumber',
params: [],
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants