From 6584e4abb8a8758bcdee75c606755afdfc06fc9c Mon Sep 17 00:00:00 2001 From: Sophia Gold Date: Wed, 15 Nov 2023 14:37:35 -0500 Subject: [PATCH] Enable async backing on Kusama --- relay/kusama/src/lib.rs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/relay/kusama/src/lib.rs b/relay/kusama/src/lib.rs index 9fa89596cf..5688c26d57 100644 --- a/relay/kusama/src/lib.rs +++ b/relay/kusama/src/lib.rs @@ -1912,6 +1912,7 @@ sp_api::impl_runtime_apis! { } } + #[api_version(7)] impl primitives::runtime_api::ParachainHost for Runtime { fn validators() -> Vec { parachains_runtime_api_impl::validators::() @@ -2042,6 +2043,18 @@ sp_api::impl_runtime_apis! { key_ownership_proof, ) } + + fn minimum_backing_votes() -> u32 { + parachains_runtime_api_impl::minimum_backing_votes::() + } + + fn para_backing_state(para_id: ParaId) -> Option { + parachains_runtime_api_impl::backing_state::(para_id) + } + + fn async_backing_params() -> primitives::AsyncBackingParams { + parachains_runtime_api_impl::async_backing_params::() + } } impl beefy_primitives::BeefyApi for Runtime {