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-unkn0wnandparity-processbot authored and GitHub committed 2023-02-15 12:10:00 +00:00
1 parent d12a8a8c69
commit f2deedfa00
3 files changed
+288 -259

No files matched your search

@@ -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,