companion for paritytech/polkadot#6161 (#2151)

* Add an RPC call to request `ExecutorParams`

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: parity-processbot <>
This commit is contained in:
s0me0ne-unkn0wn
2023-02-15 13:10:00 +01:00
committed by GitHub
parent d12a8a8c69
commit f2deedfa00
3 changed files with 288 additions and 259 deletions
@@ -261,6 +261,17 @@ impl RuntimeApiSubsystemClient for BlockChainRpcClient {
Ok(self.rpc_client.parachain_host_session_info_before_version_2(at, index).await?)
}
async fn session_executor_params(
&self,
at: Hash,
session_index: polkadot_primitives::SessionIndex,
) -> Result<Option<polkadot_primitives::vstaging::ExecutorParams>, sp_api::ApiError> {
Ok(self
.rpc_client
.parachain_host_session_executor_params(at, session_index)
.await?)
}
async fn submit_pvf_check_statement(
&self,
at: Hash,