diff --git a/core/parachain/validator/impl/parachain_processor.cpp b/core/parachain/validator/impl/parachain_processor.cpp index 4164a5762c..0d6480eb10 100644 --- a/core/parachain/validator/impl/parachain_processor.cpp +++ b/core/parachain/validator/impl/parachain_processor.cpp @@ -2115,10 +2115,19 @@ namespace kagome::parachain { availability_cores.size()); } + void ParachainProcessorImpl::send_cluster_candidate_statements( + const CandidateHash &candidate_hash, + const RelayHash &relay_parent + ) { + + } + void ParachainProcessorImpl::apply_post_confirmation( const PostConfirmation &post_confirmation) { - /// TODO(iceseer): do https://github.com/qdrvm/kagome/issues/1888 - /// `send_cluster_candidate_statements` + const auto candidate_hash = candidateHash(post_confirmation.hypothetical); + send_cluster_candidate_statements( + candidate_hash, + relayParent(post_confirmation.hypothetical)); new_confirmed_candidate_fragment_tree_updates( post_confirmation.hypothetical); diff --git a/core/parachain/validator/parachain_processor.hpp b/core/parachain/validator/parachain_processor.hpp index def3b0a7b1..a9e34e001b 100644 --- a/core/parachain/validator/parachain_processor.hpp +++ b/core/parachain/validator/parachain_processor.hpp @@ -341,6 +341,10 @@ namespace kagome::parachain { const std::vector &availability_cores, const runtime::GroupDescriptor &group_rotation_info, ParachainId para_id) const; + void send_cluster_candidate_statements( + const CandidateHash &candidate_hash, + const RelayHash &relay_parent + ); void new_confirmed_candidate_fragment_tree_updates( const HypotheticalCandidate &candidate); void new_leaf_fragment_tree_updates(const Hash &leaf_hash);