DMP follow-ups (#1875)

* remove pending TODO after the DMP impl merge

* DMP: Update the impl guide

* DMP: Incorporate XCM related changes into the guide

This is the DMP related part of https://github.com/paritytech/polkadot/issues/1702
This commit is contained in:
Sergei Shulepov
2020-10-29 14:29:19 +01:00
committed by GitHub
parent 39db0688de
commit 0cddf51a9c
6 changed files with 29 additions and 36 deletions
@@ -285,9 +285,9 @@ async fn find_assumed_validation_data(
const ASSUMPTIONS: &[OccupiedCoreAssumption] = &[
OccupiedCoreAssumption::Included,
OccupiedCoreAssumption::TimedOut,
// TODO: Why don't we check `Free`? The guide assumes there are only two possible assumptions.
//
// Source that info and leave a comment here.
// `TimedOut` and `Free` both don't perform any speculation and therefore should be the same
// for our purposes here. In other words, if `TimedOut` matched then the `Free` must be
// matched as well.
];
// Consider running these checks in parallel to reduce validation latency.