Skip to content
Snippets Groups Projects
Commit 7acfd4f8 authored by ordian's avatar ordian Committed by GitHub
Browse files

companion for polkadot#4542 (#873)

* new ParachainHost methods

* update polkadot
parent d78ea860
Branches
No related merge requests found
This diff is collapsed.
...@@ -23,8 +23,9 @@ use polkadot_primitives::v1::{ ...@@ -23,8 +23,9 @@ use polkadot_primitives::v1::{
Block as PBlock, BlockNumber, CandidateCommitments, CandidateDescriptor, CandidateEvent, Block as PBlock, BlockNumber, CandidateCommitments, CandidateDescriptor, CandidateEvent,
CollatorPair, CommittedCandidateReceipt, CoreState, GroupRotationInfo, Hash as PHash, HeadData, CollatorPair, CommittedCandidateReceipt, CoreState, GroupRotationInfo, Hash as PHash, HeadData,
Id as ParaId, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption, Id as ParaId, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption,
ParachainHost, PersistedValidationData, ScrapedOnChainVotes, SessionIndex, SessionInfo, ParachainHost, PersistedValidationData, PvfCheckStatement, ScrapedOnChainVotes, SessionIndex,
SigningContext, ValidationCode, ValidationCodeHash, ValidatorId, ValidatorIndex, SessionInfo, SigningContext, ValidationCode, ValidationCodeHash, ValidatorId, ValidatorIndex,
ValidatorSignature,
}; };
use polkadot_test_client::{ use polkadot_test_client::{
Client as PClient, ClientBlockImportExt, DefaultTestClientBuilderExt, FullBackend as PBackend, Client as PClient, ClientBlockImportExt, DefaultTestClientBuilderExt, FullBackend as PBackend,
...@@ -531,5 +532,11 @@ sp_api::mock_impl_runtime_apis! { ...@@ -531,5 +532,11 @@ sp_api::mock_impl_runtime_apis! {
fn on_chain_votes() -> Option<ScrapedOnChainVotes<Hash>> { fn on_chain_votes() -> Option<ScrapedOnChainVotes<Hash>> {
None None
} }
fn submit_pvf_check_statement(_: PvfCheckStatement, _: ValidatorSignature) {}
fn pvfs_require_precheck() -> Vec<ValidationCodeHash> {
Vec::new()
}
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment