chore: regenerate umbrella crate, fix feature propagation
This commit is contained in:
@@ -18,11 +18,11 @@
|
||||
//! The conviction datatype.
|
||||
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_runtime::{
|
||||
traits::{Bounded, CheckedDiv, CheckedMul, Zero},
|
||||
RuntimeDebug,
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
use crate::types::Delegations;
|
||||
|
||||
|
||||
@@ -173,8 +173,8 @@ pub mod pezpallet {
|
||||
>;
|
||||
|
||||
/// The voting classes which have a non-zero lock requirement and the lock amounts which they
|
||||
/// require. The actual amount locked on behalf of this pezpallet should always be the maximum of
|
||||
/// this list.
|
||||
/// require. The actual amount locked on behalf of this pezpallet should always be the maximum
|
||||
/// of this list.
|
||||
#[pezpallet::storage]
|
||||
pub type ClassLocksFor<T: Config<I>, I: 'static = ()> = StorageMap<
|
||||
_,
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
use crate::AccountVote;
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
|
||||
use pezframe_support::dispatch::DispatchResult;
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_runtime::RuntimeDebug;
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
/// Represents the differents states of a referendum.
|
||||
#[derive(
|
||||
|
||||
@@ -22,11 +22,11 @@ use core::{fmt::Debug, marker::PhantomData};
|
||||
use pezframe_support::{
|
||||
traits::VoteTally, CloneNoBound, EqNoBound, PartialEqNoBound, RuntimeDebugNoBound,
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_runtime::{
|
||||
traits::{Saturating, Zero},
|
||||
RuntimeDebug,
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
use super::*;
|
||||
use crate::{AccountVote, Conviction, Vote};
|
||||
|
||||
@@ -20,11 +20,11 @@
|
||||
use crate::{Conviction, Delegations};
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode, EncodeLike, Input, MaxEncodedLen, Output};
|
||||
use pezframe_support::{pezpallet_prelude::Get, BoundedVec};
|
||||
use scale_info::TypeInfo;
|
||||
use pezsp_runtime::{
|
||||
traits::{Saturating, Zero},
|
||||
RuntimeDebug,
|
||||
};
|
||||
use scale_info::TypeInfo;
|
||||
|
||||
/// A number of lock periods, plus a vote, one way or the other.
|
||||
#[derive(
|
||||
|
||||
Reference in New Issue
Block a user