Update GetBackableCandidates
struct and logic to process it
#4296
Labels
S-subsystems-backing
issues related to polkadot host backing subsystem functionality.
Issue summary
The current struct to request backable candidates from the candidate backing subsystem doesn't provide info on which candidate belongs to which parachain. Now we have to update this overseer message structure
GetBackableCandidates
to provide a record of the parachain ID and candidates belonging to them and relay the parents of each candidate.GetBackableCandidates
requests a set of backable candidates attested by the subsystem.The order of candidates of the same parachain must be preserved in the response because candidates are supplied in dependency order. We must ensure that this dependency order is preserved.
So, If a backable candidate of a parachain cannot be retrieved, the response should not contain any candidates of the same parachain that follow it in the input slice.
For example:
Candidates => [A, B, C, D, E, F, G, H]
If we are unable to retrieve backable candidate D, the Response should be [A, B, C]
TODO:
Other information and links
The text was updated successfully, but these errors were encountered: