Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip parachains for syncing node. #1520

Merged
merged 1 commit into from
Mar 12, 2023
Merged

Skip parachains for syncing node. #1520

merged 1 commit into from
Mar 12, 2023

Conversation

iceseer
Copy link
Contributor

@iceseer iceseer commented Mar 11, 2023

Description of the Change

Skip parachains handling either syncing node or in synchronization state.

@iceseer iceseer force-pushed the fix/skip_parachains branch 2 times, most recently from b866859 to 303a13e Compare March 11, 2023 19:39
@iceseer iceseer requested review from xDimon, turuslan and kamilsa March 11, 2023 19:41
@iceseer iceseer force-pushed the fix/skip_parachains branch from 303a13e to 38cdd27 Compare March 11, 2023 19:45
@iceseer iceseer force-pushed the fix/skip_parachains branch from 38cdd27 to bc215dc Compare March 11, 2023 19:47
SL_WARN(
self->logger_,
"Broadcast my view failed, because my view still not exists.");
return;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we continue to wait view for broadcast it first time?

@@ -1005,15 +1005,6 @@ namespace kagome::parachain {
void ApprovalDistribution::handle_new_head(const primitives::BlockHash &head,
const network::ExView &updated,
Func &&func) {
/*sequenceIgnore(this_context_->template wrap(asAsync(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove or uncomment.
Also clang-format, or move this block to lambda variable (to avoid re-formatting)

@iceseer iceseer merged commit 453dc0f into master Mar 12, 2023
@iceseer iceseer deleted the fix/skip_parachains branch March 12, 2023 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants