chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -23,6 +23,10 @@ use pezkuwi_node_network_protocol::{
|
||||
peer_set::ValidationVersion,
|
||||
view, ObservedRole,
|
||||
};
|
||||
use pezkuwi_node_subsystem::messages::{
|
||||
network_bridge_event, AllMessages, ReportPeerMessage, RuntimeApiRequest,
|
||||
};
|
||||
use pezkuwi_node_subsystem_util::{reputation::add_reputation, TimeoutExt as _};
|
||||
use pezkuwi_pez_node_primitives::approval::{
|
||||
criteria,
|
||||
v1::{VrfPreOutput, VrfProof, VrfSignature},
|
||||
@@ -31,20 +35,16 @@ use pezkuwi_pez_node_primitives::approval::{
|
||||
RELAY_VRF_MODULO_CONTEXT,
|
||||
},
|
||||
};
|
||||
use pezkuwi_node_subsystem::messages::{
|
||||
network_bridge_event, AllMessages, ReportPeerMessage, RuntimeApiRequest,
|
||||
};
|
||||
use pezkuwi_node_subsystem_util::{reputation::add_reputation, TimeoutExt as _};
|
||||
use pezkuwi_primitives::{
|
||||
ApprovalVoteMultipleCandidates, AuthorityDiscoveryId, BlakeTwo256, CoreIndex, ExecutorParams,
|
||||
HashT, NodeFeatures, SessionInfo, ValidatorId,
|
||||
};
|
||||
use pezkuwi_primitives_test_helpers::dummy_signature;
|
||||
use rand::SeedableRng;
|
||||
use pezsc_keystore::{Keystore, LocalKeystore};
|
||||
use pezsp_application_crypto::AppCrypto;
|
||||
use pezsp_authority_discovery::AuthorityPair as AuthorityDiscoveryPair;
|
||||
use pezsp_core::crypto::Pair as PairT;
|
||||
use rand::SeedableRng;
|
||||
use std::time::Duration;
|
||||
type VirtualOverseer =
|
||||
pezkuwi_node_subsystem_test_helpers::TestSubsystemContextHandle<ApprovalDistributionMessage>;
|
||||
@@ -456,8 +456,10 @@ fn signature_for(
|
||||
}
|
||||
|
||||
struct MockAssignmentCriteria {
|
||||
tranche:
|
||||
Result<pezkuwi_pez_node_primitives::approval::v1::DelayTranche, criteria::InvalidAssignment>,
|
||||
tranche: Result<
|
||||
pezkuwi_pez_node_primitives::approval::v1::DelayTranche,
|
||||
criteria::InvalidAssignment,
|
||||
>,
|
||||
}
|
||||
|
||||
impl AssignmentCriteria for MockAssignmentCriteria {
|
||||
@@ -484,7 +486,8 @@ impl AssignmentCriteria for MockAssignmentCriteria {
|
||||
_relay_vrf_story: pezkuwi_pez_node_primitives::approval::v1::RelayVRFStory,
|
||||
_assignment: &pezkuwi_pez_node_primitives::approval::v2::AssignmentCertV2,
|
||||
_backing_groups: Vec<pezkuwi_primitives::GroupIndex>,
|
||||
) -> Result<pezkuwi_pez_node_primitives::approval::v1::DelayTranche, criteria::InvalidAssignment> {
|
||||
) -> Result<pezkuwi_pez_node_primitives::approval::v1::DelayTranche, criteria::InvalidAssignment>
|
||||
{
|
||||
self.tranche
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user