Open ebma opened 6 months ago
@ebma is this still relevant? should we get it estimated?
This unfortunately is blocked by yet another upgrade of our polkadot dependencies. We can probably only really work on this once we bump our dependencies to Polkadot v1.6.0, ie the next one after the upgrade to v1.1.0. @prayagd do we already have a ticket for the v1.6.0 upgrade? If so, let's indicate as a Zenhub dependency that this ticket is blocked by that.
@prayagd do we already have a ticket for the v1.6.0 upgrade? If so, let's indicate as a Zenhub dependency that this ticket is blocked by that.
No we dont will create this
Blocker added
Hey team! Please add your planning poker estimate with Zenhub @ebma @gianfra-t @TorstenStueber
Context
Sometimes, it happens that the underlying RPC client used by Subxt disconnects (e.g. due to network issues). In this case, the client throws an error that is not easy to detect in subxt, see https://github.com/paritytech/subxt/issues/1190.
This makes our client stuck in an infinite retry loop.
TODO
This PR adds a new experimental implementation of an RPC client that automatically reconnects. This implementation is only available in subxt v0.35 or later. I tried bumping the subxt dependencies we use in Spacewalk to that version but I encountered conflicts because our Polkadot dependencies are too outdated.
reconnecting-rpc-client
feature of subxt.