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

Commit

Permalink
add minimum_backing_votes staging runtime api
Browse files Browse the repository at this point in the history
Companion for paritytech/polkadot#7577

Signed-off-by: alindima <[email protected]>
  • Loading branch information
alindima committed Aug 23, 2023
1 parent 5299ada commit 5f1c9ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/relay-chain-minimal-node/src/blockchain_rpc_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,10 @@ impl RuntimeApiSubsystemClient for BlockChainRpcClient {
.await?)
}

async fn minimum_backing_votes(&self, at: Hash) -> Result<u32, ApiError> {
Ok(self.rpc_client.minimum_backing_votes(at).await?)
}

async fn staging_async_backing_params(&self, at: Hash) -> Result<AsyncBackingParams, ApiError> {
Ok(self.rpc_client.parachain_host_staging_async_backing_params(at).await?)
}
Expand Down

0 comments on commit 5f1c9ae

Please sign in to comment.