chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -99,7 +99,6 @@ use pezframe_system::{
|
||||
pezpallet_prelude::*,
|
||||
};
|
||||
pub use pezpallet::*;
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_application_crypto::RuntimeAppPublic;
|
||||
use pezsp_runtime::{
|
||||
offchain::storage::{MutateStorageError, StorageRetrievalError, StorageValueRef},
|
||||
@@ -110,6 +109,7 @@ use pezsp_staking::{
|
||||
offence::{Kind, Offence, ReportOffence},
|
||||
SessionIndex,
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
pub use weights::WeightInfo;
|
||||
|
||||
pub mod sr25519 {
|
||||
@@ -278,7 +278,8 @@ pub mod pezpallet {
|
||||
|
||||
/// The overarching event type.
|
||||
#[allow(deprecated)]
|
||||
type RuntimeEvent: From<Event<Self>> + IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
|
||||
type RuntimeEvent: From<Event<Self>>
|
||||
+ IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
|
||||
|
||||
/// A type for retrieving the validators supposed to be online in a session.
|
||||
type ValidatorSet: ValidatorSetWithIdentification<Self::AccountId>;
|
||||
|
||||
@@ -166,7 +166,9 @@ impl pezframe_support::traits::EstimateNextSessionRotation<u64> for TestNextSess
|
||||
// take the mock result if any and return it
|
||||
let mock = MockAverageSessionLength::mutate(|p| p.take());
|
||||
|
||||
mock.unwrap_or(pezpallet_session::PeriodicSessions::<Period, Offset>::average_session_length())
|
||||
mock.unwrap_or(
|
||||
pezpallet_session::PeriodicSessions::<Period, Offset>::average_session_length(),
|
||||
)
|
||||
}
|
||||
|
||||
fn estimate_current_session_progress(now: u64) -> (Option<Permill>, Weight) {
|
||||
|
||||
Reference in New Issue
Block a user