Skip to content
Unverified Commit 756347ab authored by Maciej's avatar Maciej Committed by GitHub
Browse files

Inclusion pruning tweaks (#1550)



In follow-up to https://github.com/paritytech/polkadot-sdk/pull/1518

Adding extra tests for inclusion pruning. Primarily focusing on various
cases surrounding candidates included in different forks (with different
relay parents).

All cases fall into a few buckets based on 3 degrees of freedom - number
of candidates, number of blocks (height), number of forks + extra case
for pruning multiple heights at once.

Added small tweak to the original pruning function to disregard stale
candidate duplicates which should keep the same behaviour.

---------

Co-authored-by: default avatarTsvetomir Dimitrov <[email protected]>
parent 49c4b201
Pipeline #390532 canceled with stages
in 9 minutes and 18 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment