Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
Signed-off-by: iceseer <[email protected]>
  • Loading branch information
iceseer committed Mar 29, 2024
1 parent bd3653b commit 16e3706
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 11 additions & 2 deletions core/parachain/validator/impl/parachain_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 4 additions & 0 deletions core/parachain/validator/parachain_processor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,10 @@ namespace kagome::parachain {
const std::vector<runtime::CoreState> &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);
Expand Down

0 comments on commit 16e3706

Please sign in to comment.