feat(prospective-parachains) implement Fragment Chain #4314
Labels
A-tooBig
issue or PR needs to be broken down to smaller parts.
C-complex
Complex changes across multiple modules. Possibly will require additional research.
S-subsystems-backing
issues related to polkadot host backing subsystem functionality.
Description
Implement
CandidateStorage
, that stores all kinds of candidate without any restriction on whether or not candidates form a chain. definitionmap[CandidateHash]any
to representHashSet<CandidateHash>
possible_backed_para_children
usingiter.Seq[CandidateEntry]
Implement
subsystem_util/inclusion_emulator::Constraints
definition. This is the actions that can be taken by a new parachain block. This information is needed forScope
struct under fragment chain.inclusion_emulator::Constraints
frompolkadot/primitives/async_backing/v8::Constraints
From<PrimitiveConstraints> for Constraints
here.v8::Constraints
hereImplement
BackedChain
definition, includes candidates pending availability and candidates which may be backed on chain. It will be used in theFragmentChain
struct as the best chain of beckable candidates.Implement
FragmentChain
definitionInclude polkadot-sdk tests here
Provide a better documentation
The text was updated successfully, but these errors were encountered: