mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-03 01:11:07 +00:00
Update Substrate & Polkadot (#330)
This commit is contained in:
1 parent
4820fa16b1
commit
f04ce0655b
4 files changed
+258
-291
No files matched your search
@@ -384,7 +384,7 @@ fn import_block_as_new_best<Block, P>(
|
||||
impl<T> RelaychainClient for Arc<T>
|
||||
where
|
||||
T: sc_client_api::BlockchainEvents<PBlock> + ProvideRuntimeApi<PBlock> + 'static + Send + Sync,
|
||||
<T as ProvideRuntimeApi<PBlock>>::Api: ParachainHost<PBlock, Error = ClientError>,
|
||||
<T as ProvideRuntimeApi<PBlock>>::Api: ParachainHost<PBlock>,
|
||||
{
|
||||
type Error = ClientError;
|
||||
|
||||
@@ -430,6 +430,7 @@ where
|
||||
self.runtime_api()
|
||||
.persisted_validation_data(at, para_id, OccupiedCoreAssumption::TimedOut)
|
||||
.map(|s| s.map(|s| s.parent_head.0))
|
||||
.map_err(Into::into)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user