Change type of group id from ParaID
to CoreIndex
#4316
Labels
S-subsystems-backing
issues related to polkadot host backing subsystem functionality.
Issue summary
Before elastic scaling, only a single group of validators was assigned to a parachain, so we assigned paraID to GroupID.
However, in elastic scaling, multiple groups of validators(core) will be assigned to a parachain. So now we have to change the type of GroupID from paraID to the
CoreIndex
, which is unique for assigned groups.paraID
toCoreIndex
and check all the methods to see if any changes are needed.Summary
,tableContext
,attestedCandidate
,candidateData
.assignment *parachaintypes.ParaID
field toassignedCore *parachaintypes.CoreIndex
in perRelayParentState which represents the core index assigned to the local validator at this relay parent. also figure out if we really need this a pointer type.Other information and links
The text was updated successfully, but these errors were encountered: