mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 05:17:58 +00:00
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:
committed by
GitHub
parent
0c17c7e5df
commit
ee7d4e4e2a
Generated
+340
-321
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 async_trait::async_trait;
|
||||||
use cumulus_primitives_core::{
|
use cumulus_primitives_core::{
|
||||||
relay_chain::{
|
relay_chain::{
|
||||||
v2::{
|
runtime_api::ParachainHost,
|
||||||
CommittedCandidateReceipt, OccupiedCoreAssumption, ParachainHost, SessionIndex,
|
v2::{CommittedCandidateReceipt, OccupiedCoreAssumption, SessionIndex, ValidatorId},
|
||||||
ValidatorId,
|
|
||||||
},
|
|
||||||
Block as PBlock, BlockId, Hash as PHash, Header as PHeader, InboundHrmpMessage,
|
Block as PBlock, BlockId, Hash as PHash, Header as PHeader, InboundHrmpMessage,
|
||||||
},
|
},
|
||||||
InboundDownwardMessage, ParaId, PersistedValidationData,
|
InboundDownwardMessage, ParaId, PersistedValidationData,
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ pub use polkadot_primitives::v2::{
|
|||||||
/// A module that re-exports relevant relay chain definitions.
|
/// A module that re-exports relevant relay chain definitions.
|
||||||
pub mod relay_chain {
|
pub mod relay_chain {
|
||||||
pub use polkadot_core_primitives::*;
|
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.
|
/// An inbound HRMP message.
|
||||||
|
|||||||
Reference in New Issue
Block a user