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

polkadot.js api not receiving messages from chain.subscribeFinalizedHeads #1139

Closed
3 tasks done
edwardmack opened this issue Oct 16, 2020 · 0 comments · Fixed by #1140
Closed
3 tasks done

polkadot.js api not receiving messages from chain.subscribeFinalizedHeads #1139

edwardmack opened this issue Oct 16, 2020 · 0 comments · Fixed by #1140
Assignees

Comments

@edwardmack
Copy link
Member

Expected Behavior

  • polkadot.js api rpc.chain.subscribeFinalizedHeads should get message when a block is finalized.

Current Behavior

  • No response is received from polkadot.js api rpc.chain.subscribeFinalizedHeads when a block is finalized.

Possible Solution

Steps to Reproduce

  1. example call:
...
 await api.rpc.chain.subscribeFinalizedHeads((lastFin) => {
                console.log(`${chain}: last finalized block #${lastFin.number} has hash ${lastFin.hash}`)       
});
...

Specification

  • go version:
  • gossamer version:
  • gossamer commit tag:
  • gossamer commit hash:
  • operating system:
  • additional links:

Checklist

  • I have read CODE_OF_CONDUCT and CONTRIBUTING
  • I have provided as much information as possible and necessary
  • I am planning to submit a pull request to fix this issue myself
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 a pull request may close this issue.

1 participant