Handle relocation of ParachainHost in Polkadot (#1108)

* Handle relocation of `ParachainHost` in Polkadot

`ParachainHost` is no longer versioned and is in `runtime_api` module.

This is a companion for
https://github.com/paritytech/polkadot/pull/5048

* Update dependencies
This commit is contained in:
Tsvetomir Dimitrov authored and GitHub committed 2022-04-12 16:31:33 +00:00
1 parent 0c17c7e5df
commit ee7d4e4e2a
3 files changed
+343 -326

No files matched your search

Generated
+340 -321
View File
File diff suppressed because it is too large. Load diff
@@ -19,10 +19,8 @@ use std::{pin::Pin, sync::Arc, time::Duration};
use async_trait::async_trait;
use cumulus_primitives_core::{
relay_chain::{
v2::{
CommittedCandidateReceipt, OccupiedCoreAssumption, ParachainHost, SessionIndex,
ValidatorId,
},
runtime_api::ParachainHost,
v2::{CommittedCandidateReceipt, OccupiedCoreAssumption, SessionIndex, ValidatorId},
Block as PBlock, BlockId, Hash as PHash, Header as PHeader, InboundHrmpMessage,
},
InboundDownwardMessage, ParaId, PersistedValidationData,
+1 -1
View File
@@ -35,7 +35,7 @@ pub use polkadot_primitives::v2::{
/// A module that re-exports relevant relay chain definitions.
pub mod relay_chain {
pub use polkadot_core_primitives::*;
pub use polkadot_primitives::{v2, v2::well_known_keys};
pub use polkadot_primitives::{runtime_api, v2, v2::well_known_keys};
}
/// An inbound HRMP message.