chore: regenerate umbrella crate, fix feature propagation

This commit is contained in:
2025-12-16 11:28:32 +03:00
parent dd6d48f528
commit 620b0e3aa0
1358 changed files with 9464 additions and 7656 deletions
@@ -28,7 +28,8 @@ use pezframe_benchmarking::{
v2::*,
};
use pezframe_system::{
pezpallet_prelude::BlockNumberFor, Call as SystemCall, Pezpallet as System, RawOrigin as SystemOrigin,
pezpallet_prelude::BlockNumberFor, Call as SystemCall, Pezpallet as System,
RawOrigin as SystemOrigin,
};
const SEED: u32 = 0;
+7 -4
View File
@@ -46,12 +46,12 @@ extern crate alloc;
use alloc::{boxed::Box, vec, vec::Vec};
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
use core::{marker::PhantomData, result};
use scale_info::TypeInfo;
use pezsp_io::storage;
use pezsp_runtime::{
traits::{Dispatchable, Hash},
DispatchError, RuntimeDebug,
};
use scale_info::TypeInfo;
use pezframe_support::{
dispatch::{
@@ -566,8 +566,8 @@ pub mod pezpallet {
///
/// # WARNING:
///
/// The `pezpallet-collective` can also be managed by logic outside of the pezpallet through the
/// implementation of the trait [`ChangeMembers`].
/// The `pezpallet-collective` can also be managed by logic outside of the pezpallet through
/// the implementation of the trait [`ChangeMembers`].
/// Any call to `set_members` must be careful that the member set doesn't get out of sync
/// with other logic managing the member set.
///
@@ -1088,7 +1088,10 @@ impl<T: Config<I>, I: 'static> Pezpallet<T, I> {
}
// Only allow actual closing of the proposal after the voting period has ended.
ensure!(pezframe_system::Pezpallet::<T>::block_number() >= voting.end, Error::<T, I>::TooEarly);
ensure!(
pezframe_system::Pezpallet::<T>::block_number() >= voting.end,
Error::<T, I>::TooEarly
);
let prime_vote = Prime::<T, I>::get().map(|who| voting.ayes.iter().any(|a| a == &who));
@@ -35,7 +35,11 @@ use pezframe_support::{
/// The migration will look into the storage version in order not to trigger a migration on an up
/// to date storage. Thus the on chain storage version must be less than 4 in order to trigger the
/// migration.
pub fn migrate<T: pezframe_system::Config, P: GetStorageVersion + PalletInfoAccess, N: AsRef<str>>(
pub fn migrate<
T: pezframe_system::Config,
P: GetStorageVersion + PalletInfoAccess,
N: AsRef<str>,
>(
old_pallet_name: N,
) -> Weight {
let old_pallet_name = old_pallet_name.as_ref();