Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 5f1c9ae

Browse files
committed
add minimum_backing_votes staging runtime api
Companion for paritytech/polkadot#7577 Signed-off-by: alindima <[email protected]>
1 parent 5299ada commit 5f1c9ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

client/relay-chain-minimal-node/src/blockchain_rpc_client.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,10 @@ impl RuntimeApiSubsystemClient for BlockChainRpcClient {
338338
.await?)
339339
}
340340

341+
async fn minimum_backing_votes(&self, at: Hash) -> Result<u32, ApiError> {
342+
Ok(self.rpc_client.minimum_backing_votes(at).await?)
343+
}
344+
341345
async fn staging_async_backing_params(&self, at: Hash) -> Result<AsyncBackingParams, ApiError> {
342346
Ok(self.rpc_client.parachain_host_staging_async_backing_params(at).await?)
343347
}

0 commit comments

Comments
 (0)