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

Fix forced change #1534

Merged
merged 9 commits into from
Mar 23, 2023
Merged

Fix forced change #1534

merged 9 commits into from
Mar 23, 2023

Conversation

turuslan
Copy link
Contributor

@turuslan turuslan commented Mar 22, 2023

Referenced issues

Description of the Change

  • Allow westend block 198785 past round.
  • Select round by set id.
  • Remember included forced changes.
    • Apply forced change once.
    • Don't apply scheduled changes if forced.
  • Apply forced change immediately (when two forced changes had same "target" and "delay", "adjust" never applied "node.action" for first, so set id was off).

Benefits

  • Westend syncs.

Possible Drawbacks

Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
core/consensus/grandpa/impl/grandpa_impl.cpp Outdated Show resolved Hide resolved
Signed-off-by: turuslan <[email protected]>
Signed-off-by: turuslan <[email protected]>
@turuslan turuslan merged commit 9ca199f into master Mar 23, 2023
@turuslan turuslan deleted the fix/forced-change branch March 23, 2023 13:08
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