reconnecting rpc: ensure poll order to avoid outdated subscription ID on reconnect
Open
@pkhry is already working on this.
Since May 24, 2024.
- Dominant language
- Rust
- Stars
- 489
- Forks
- 293
- Avg merge
- 18h 35m
- Merged PRs (30d)
- 3
Description
Originally posted by @lexnv in https://github.com/paritytech/subxt/pull/1505#discussion_r1584924860
TLDR, when a re-connection occurs the poll order of "pending futures" should wait until chainHead__follow returns then fetch the updated subscription ID.
Currently we have a hack to retry these a calls a few times.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.