chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -17,8 +17,8 @@
|
||||
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use core::ops::{BitAnd, BitAndAssign, BitOr, BitOrAssign, BitXor, BitXorAssign, Not};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_core::RuntimeDebug;
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
/// The number of bits in the `CoreMask`.
|
||||
pub const CORE_MASK_BITS: usize = 80;
|
||||
|
||||
@@ -21,10 +21,10 @@ use alloc::vec::Vec;
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use core::fmt::Debug;
|
||||
use pezframe_support::Parameter;
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_arithmetic::traits::AtLeast32BitUnsigned;
|
||||
use pezsp_core::RuntimeDebug;
|
||||
use pezsp_runtime::traits::BlockNumberProvider;
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
use crate::Timeslice;
|
||||
|
||||
|
||||
@@ -76,7 +76,8 @@ pub mod pezpallet {
|
||||
#[pezpallet::config]
|
||||
pub trait Config: pezframe_system::Config {
|
||||
#[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>;
|
||||
|
||||
/// Weight information for all calls of this pezpallet.
|
||||
type WeightInfo: WeightInfo;
|
||||
|
||||
@@ -26,10 +26,10 @@ use pezframe_support::{
|
||||
},
|
||||
},
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_arithmetic::traits::Zero;
|
||||
use pezsp_core::{Get, TypedGet};
|
||||
use pezsp_runtime::{DispatchError, DispatchResult};
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
parameter_types! {
|
||||
static TestAssetOf: BTreeMap<(u32, Vec<u8>), Vec<u8>> = Default::default();
|
||||
|
||||
@@ -24,11 +24,11 @@ use pezframe_support::{
|
||||
BoundedVec,
|
||||
};
|
||||
use pezframe_system::RawOrigin::Root;
|
||||
use pretty_assertions::assert_eq;
|
||||
use pezsp_runtime::{
|
||||
traits::{BadOrigin, Get},
|
||||
Perbill, TokenError,
|
||||
};
|
||||
use pretty_assertions::assert_eq;
|
||||
use CoreAssignment::*;
|
||||
use CoretimeTraceItem::*;
|
||||
use Finality::*;
|
||||
|
||||
@@ -22,10 +22,10 @@ use crate::{
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use pezframe_support::traits::fungible::Inspect;
|
||||
use pezframe_system::Config as SConfig;
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_arithmetic::Perbill;
|
||||
use pezsp_core::{ConstU32, RuntimeDebug};
|
||||
use pezsp_runtime::BoundedVec;
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
pub type BalanceOf<T> = <<T as Config>::Currency as Inspect<<T as SConfig>::AccountId>>::Balance;
|
||||
pub type RelayBalanceOf<T> = <<T as Config>::Coretime as CoretimeInterface>::Balance;
|
||||
|
||||
Reference in New Issue
Block a user