mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 12:11:02 +00:00
Companion for paritytech/polkadot#6744: Retire OldV1SessionInfo (#2213)
* Adjust commands
* Use `NetworkWorker::next_action()` instead of `poll()`
* rustfmt
* minor: fix mutability
* Move imports
* Replace `NetworkWorker::next_action()` with `run()`
* Import fix
* Make `NetworkWorker::run` consume self
* Retire `OldV1SessionInfo`
* update lockfile for {"polkadot", "substrate"}
* update lockfile for {"substrate", "polkadot"}
* update lockfile for {"substrate", "polkadot"}
* Make stuff compile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Piotr Mikołajczyk <piomiko41@gmail.com>
Co-authored-by: Dmitry Markin <dmitry@markin.tech>
Co-authored-by: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
@@ -253,14 +253,6 @@ impl RuntimeApiSubsystemClient for BlockChainRpcClient {
|
||||
Ok(self.rpc_client.parachain_host_session_info(at, index).await?)
|
||||
}
|
||||
|
||||
async fn session_info_before_version_2(
|
||||
&self,
|
||||
at: Hash,
|
||||
index: polkadot_primitives::SessionIndex,
|
||||
) -> Result<Option<polkadot_primitives::OldV1SessionInfo>, sp_api::ApiError> {
|
||||
Ok(self.rpc_client.parachain_host_session_info_before_version_2(at, index).await?)
|
||||
}
|
||||
|
||||
async fn session_executor_params(
|
||||
&self,
|
||||
at: Hash,
|
||||
|
||||
@@ -108,7 +108,7 @@ pub(crate) fn build_collator_network(
|
||||
return
|
||||
}
|
||||
|
||||
network_worker.await
|
||||
network_worker.run().await;
|
||||
});
|
||||
|
||||
let network_starter = NetworkStarter::new(network_start_tx);
|
||||
|
||||
Reference in New Issue
Block a user