Disabled validators runtime API (#1257)

Exposes disabled validators list via a runtime API.

---------

Co-authored-by: ordian <noreply@reusable.software>
Co-authored-by: ordian <write@reusable.software>
This commit is contained in:
authored and GitHub committed 2023-10-12 15:01:07 +02:00
1 parent f0e6d2ad52
commit 7aace06b3d
13 files changed
+115 -8

No files matched your search

@@ -597,6 +597,14 @@ impl RelayChainRpcClient {
.await
}
pub async fn parachain_host_disabled_validators(
&self,
at: RelayHash,
) -> Result<Vec<ValidatorIndex>, RelayChainError> {
self.call_remote_runtime_function("ParachainHost_disabled_validators", at, None::<()>)
.await
}
#[allow(missing_docs)]
pub async fn parachain_host_async_backing_params(
&self,