Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Fix fork-tree descendent check #11150

Merged
merged 4 commits into from
Apr 6, 2022
Merged

Fix fork-tree descendent check #11150

merged 4 commits into from
Apr 6, 2022

Conversation

davxy
Copy link
Member

@davxy davxy commented Apr 1, 2022

Fork tree nodes below the fork-tree roots should not be finalized.

Previous code was preventing finalization of roots children descendants but was allowing finalization of root children.

@github-actions github-actions bot added the A0-please_review Pull request needs code review. label Apr 1, 2022
@davxy davxy added B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. and removed A0-please_review Pull request needs code review. labels Apr 1, 2022
@davxy davxy requested review from andresilva, a team and bkchr April 1, 2022 10:58
@bkchr
Copy link
Member

bkchr commented Apr 3, 2022

Could you add a test?

@davxy
Copy link
Member Author

davxy commented Apr 5, 2022

Could you add a test?

@bkchr I've added a couple of assertions to an existing test to exercise the fix

@bkchr bkchr merged commit 184d29c into master Apr 6, 2022
@bkchr bkchr deleted the davxy-fork-tree-fix branch April 6, 2022 08:19
DaviRain-Su pushed a commit to octopus-network/substrate that referenced this pull request Aug 23, 2022
* Fix fork-tree descendent check

* Add test assertions for the fix

* Improve documentation

* Nitpicks
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
* Fix fork-tree descendent check

* Add test assertions for the fix

* Improve documentation

* Nitpicks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants