chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -20,7 +20,6 @@ use pezkuwi_node_network_protocol::{
|
||||
grid_topology::{SessionGridTopology, TopologyPeerInfo},
|
||||
View,
|
||||
};
|
||||
use pezkuwi_pez_node_primitives::approval::time::{Clock, SystemClock, Tick};
|
||||
use pezkuwi_node_subsystem::messages::{
|
||||
ApprovalDistributionMessage, ApprovalVotingParallelMessage,
|
||||
};
|
||||
@@ -28,13 +27,12 @@ use pezkuwi_node_subsystem_types::messages::{
|
||||
network_bridge_event::NewGossipTopology, NetworkBridgeEvent,
|
||||
};
|
||||
use pezkuwi_overseer::AllMessages;
|
||||
use pezkuwi_pez_node_primitives::approval::time::{Clock, SystemClock, Tick};
|
||||
use pezkuwi_primitives::{
|
||||
BlockNumber, CandidateEvent, CandidateReceiptV2, CoreIndex, GroupIndex, Hash, Header,
|
||||
Id as ParaId, MutateDescriptorV2, Slot, ValidatorIndex,
|
||||
};
|
||||
use pezkuwi_primitives_test_helpers::dummy_candidate_receipt_v2_bad_sig;
|
||||
use rand::{seq::SliceRandom, SeedableRng};
|
||||
use rand_chacha::ChaCha20Rng;
|
||||
use pezsc_network_types::PeerId;
|
||||
use pezsp_consensus_babe::{
|
||||
digests::{CompatibleDigestItem, PreDigest, SecondaryVRFPreDigest},
|
||||
@@ -43,6 +41,8 @@ use pezsp_consensus_babe::{
|
||||
use pezsp_core::crypto::VrfSecret;
|
||||
use pezsp_keyring::sr25519::Keyring as Sr25519Keyring;
|
||||
use pezsp_runtime::{Digest, DigestItem};
|
||||
use rand::{seq::SliceRandom, SeedableRng};
|
||||
use rand_chacha::ChaCha20Rng;
|
||||
use std::sync::{atomic::AtomicU64, Arc};
|
||||
|
||||
/// A fake system clock used for driving the approval voting and make
|
||||
|
||||
@@ -43,17 +43,17 @@ use pezkuwi_primitives::{
|
||||
ApprovalVoteMultipleCandidates, CandidateEvent, CandidateHash, CandidateIndex, CoreIndex, Hash,
|
||||
SessionInfo, Slot, ValidatorId, ValidatorIndex, ASSIGNMENT_KEY_TYPE_ID,
|
||||
};
|
||||
use rand::{seq::SliceRandom, RngCore, SeedableRng};
|
||||
use rand_chacha::ChaCha20Rng;
|
||||
use rand_distr::{Distribution, Normal};
|
||||
use pezsc_keystore::LocalKeystore;
|
||||
use pezsc_network_types::PeerId;
|
||||
use pezsc_service::SpawnTaskHandle;
|
||||
use sha1::Digest;
|
||||
use pezsp_application_crypto::AppCrypto;
|
||||
use pezsp_consensus_babe::SlotDuration;
|
||||
use pezsp_keystore::Keystore;
|
||||
use pezsp_timestamp::Timestamp;
|
||||
use rand::{seq::SliceRandom, RngCore, SeedableRng};
|
||||
use rand_chacha::ChaCha20Rng;
|
||||
use rand_distr::{Distribution, Normal};
|
||||
use sha1::Digest;
|
||||
use std::{
|
||||
cmp::max,
|
||||
collections::{BTreeMap, HashSet},
|
||||
|
||||
@@ -16,9 +16,11 @@
|
||||
|
||||
use crate::approval::{ApprovalTestState, PastSystemClock, LOG_TARGET, SLOT_DURATION_MILLIS};
|
||||
use futures::FutureExt;
|
||||
use pezkuwi_pez_node_primitives::approval::time::{slot_number_to_tick, Clock, TICK_DURATION_MILLIS};
|
||||
use pezkuwi_node_subsystem::{overseer, SpawnedSubsystem, SubsystemError};
|
||||
use pezkuwi_node_subsystem_types::messages::ChainSelectionMessage;
|
||||
use pezkuwi_pez_node_primitives::approval::time::{
|
||||
slot_number_to_tick, Clock, TICK_DURATION_MILLIS,
|
||||
};
|
||||
|
||||
/// Mock ChainSelection subsystem used to answer request made by the approval-voting subsystem,
|
||||
/// during benchmark. All the necessary information to answer the requests is stored in the `state`
|
||||
|
||||
@@ -58,25 +58,25 @@ use pezkuwi_node_core_approval_voting::{
|
||||
ApprovalVotingSubsystem, Config as ApprovalVotingConfig, RealAssignmentCriteria,
|
||||
};
|
||||
use pezkuwi_node_network_protocol::v3 as protocol_v3;
|
||||
use pezkuwi_pez_node_primitives::approval::{self, v1::RelayVRFStory};
|
||||
use pezkuwi_node_subsystem::{
|
||||
messages::{ApprovalDistributionMessage, ApprovalVotingMessage, ApprovalVotingParallelMessage},
|
||||
overseer, AllMessages, Overseer, OverseerConnector, SpawnGlue,
|
||||
};
|
||||
use pezkuwi_node_subsystem_test_helpers::mock::new_block_import_info;
|
||||
use pezkuwi_overseer::Handle as OverseerHandleReal;
|
||||
use pezkuwi_pez_node_primitives::approval::{self, v1::RelayVRFStory};
|
||||
use pezkuwi_primitives::{
|
||||
BlockNumber, CandidateEvent, CandidateIndex, CandidateReceiptV2 as CandidateReceipt, Hash,
|
||||
Header, Slot, ValidatorId, ValidatorIndex, ASSIGNMENT_KEY_TYPE_ID,
|
||||
};
|
||||
use prometheus::Registry;
|
||||
use pezsc_keystore::LocalKeystore;
|
||||
use pezsc_service::SpawnTaskHandle;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use pezsp_application_crypto::AppCrypto;
|
||||
use pezsp_consensus_babe::Epoch as BabeEpoch;
|
||||
use pezsp_core::H256;
|
||||
use pezsp_keystore::Keystore;
|
||||
use prometheus::Registry;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::{
|
||||
cmp::max,
|
||||
collections::{HashMap, HashSet},
|
||||
|
||||
Reference in New Issue
Block a user