diff --git a/hyperspace/parachain/src/finality_protocol.rs b/hyperspace/parachain/src/finality_protocol.rs index 2405b9d52..9c647edb8 100644 --- a/hyperspace/parachain/src/finality_protocol.rs +++ b/hyperspace/parachain/src/finality_protocol.rs @@ -56,6 +56,7 @@ use std::{ }; use beefy_prover::helpers::unsafe_arc_cast; +use grandpa_light_client_primitives::justification::find_forced_change; use grandpa_prover::{ GrandpaJustification, GrandpaProver, JustificationNotification, PROCESS_BLOCKS_BATCH_SIZE, }; @@ -646,7 +647,8 @@ where let target = sp_runtime::generic::Header::::decode(&mut &*target) .expect("Should not panic, same struct from different crates"); - let authority_set_changed_scheduled = find_scheduled_change(&target).is_some(); + let authority_set_changed_scheduled = + find_scheduled_change(&target).is_some() || find_forced_change(&target).is_some(); log::info!(target: "hyperspace_parachain", "authority_set_changed_scheduled = {authority_set_changed_scheduled}, timeout_update_required = {timeout_update_required}, is_update_required = {is_update_required}"); // if validator set has changed this is a mandatory update let update_type =