Update Polkadot to the latest master (#248)

* Update polkadot to 982c9e

* Fix tests in collator-network
This commit is contained in:
Sergei Shulepov authored and GitHub committed 2020-11-26 16:39:19 +01:00
1 parent e6f37cb7cf
commit 6e60648f49
2 files changed
+176 -176

No files matched your search

+172 -172
View File
File diff suppressed because it is too large. Load diff
+4 -4
View File
@@ -19,11 +19,11 @@ use cumulus_test_service::runtime::{Block, Header};
use futures::{executor::block_on, poll, task::Poll};
use polkadot_node_primitives::{SignedFullStatement, Statement};
use polkadot_primitives::v1::{
AuthorityDiscoveryId, Block as PBlock, BlockNumber, CandidateCommitments, CandidateDescriptor,
Block as PBlock, BlockNumber, CandidateCommitments, CandidateDescriptor,
CandidateEvent, CommittedCandidateReceipt, CoreState, GroupRotationInfo, Hash as PHash,
HeadData, Id as ParaId, InboundDownwardMessage, InboundHrmpMessage, OccupiedCoreAssumption,
ParachainHost, PersistedValidationData, SessionIndex, SigningContext, ValidationCode,
ValidationData, ValidationOutputs, ValidatorId, ValidatorIndex,
ValidationData, ValidationOutputs, ValidatorId, ValidatorIndex, SessionInfo,
};
use polkadot_test_client::{
Client as PClient, ClientBlockImportExt, DefaultTestClientBuilderExt, FullBackend as PBackend,
@@ -427,8 +427,8 @@ sp_api::mock_impl_runtime_apis! {
Vec::new()
}
fn validator_discovery(_: Vec<ValidatorId>) -> Vec<Option<AuthorityDiscoveryId>> {
Vec::new()
fn session_info(_: SessionIndex) -> Option<SessionInfo> {
None
}
fn check_validation_outputs(_: ParaId, _: ValidationOutputs) -> bool {