mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-28 17:57:25 +00:00
2a96c19370
* guide: validation data refactoring * address grumbles from review * Update roadmap/implementers-guide/src/types/candidate.md Co-authored-by: Bernhard Schuster <bernhard@ahoi.io> * last comments from review Co-authored-by: Sergei Shulepov <sergei@parity.io> Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>
596 B
596 B
Persisted Validation Data
Yields the PersistedValidationData for the given ParaId along with an assumption that should be used if the para currently occupies a core:
/// Returns the persisted validation data for the given para and occupied core assumption.
///
/// Returns `None` if either the para is not registered or the assumption is `Freed`
/// and the para already occupies a core.
fn persisted_validation_data(at: Block, ParaId, OccupiedCoreAssumption) -> Option<PersistedValidationData>;