update CanSecond
message process logic to support elastic scaling
#4329
Labels
S-subsystems-backing
issues related to polkadot host backing subsystem functionality.
Issue summary
in
secondingSanityCheck
method ofcandidateBacking
struct, we have usedperLeaf
field ofcandidateBacking
struct to iterate over the active leaves, Which keeps the record of whether the prospective parachain mode is enabled or disabed in active leaves.now as we don't want to use prospective parachain mode anymore.
instead of iterating over
perLeaf
, iterate over leaves in the implicit view.also remove code for prospective parachain mode disabled.
Logic of this function written in the context of fragment tree, needs to update it to use fragment chain.
also
secondingSanityCheck
method has comment about fragment tree, update it with the context of fragment chain.in
CanSecond
method,secondingSanityCheck
returns empty list of active leaves, it's not possible to second the candidate.TODO:
Other information and links
The text was updated successfully, but these errors were encountered: