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

newBlockHeaders subscription is broken #8916

Closed
anxolin opened this issue Jul 3, 2020 · 1 comment · Fixed by #8921
Closed

newBlockHeaders subscription is broken #8916

anxolin opened this issue Jul 3, 2020 · 1 comment · Fixed by #8921
Labels
area-provider Relating to the provider module. type-bug

Comments

@anxolin
Copy link

anxolin commented Jul 3, 2020

Describe the bug
Issue subscribing to the block headers event (newBlockHeaders) after updating to Metamask 8
https://web3js.readthedocs.io/en/v1.2.9/web3-eth-subscribe.html#subscribe-newblockheaders

To Reproduce (REQUIRED)

  1. Install Metamask for Firefox v8.0.1
  2. Go to https://codepen.io/anxolin/pen/RwrxOrK?editors=1111
  3. Press connect
  4. Press subscribe

Expected behavior
I expect to be notified on every block, like the in the following output.

This output it's taken from the codepen above, using Metamask for Chrome v7.7.9

Screenshot at Jul 03 22-11-50

Screenshots
I don't receive the event notification.

This is the output in Metamask for Firefox v8.0.1:
Screenshot at Jul 03 22-12-30

Browser details (please complete the following information):

  • OS: MacOS
  • Hardware Wallet: N/A
  • Browser: Firefox
  • MetaMask Version: 8.0.1

Additional context (Error Messages, etc.)
N/A

@alfetopito
Copy link

Adding that I see the same behaviour on Firefox 78.0.1 (64-bits) on Linux with Metamask 8.0.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-provider Relating to the provider module. type-bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants