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
@@ -24,7 +24,9 @@ use pezsp_runtime::traits::{Bounded, Hash, StaticLookup};
use pezframe_benchmarking::{account, v2::*, BenchmarkError};
use pezframe_support::traits::{EnsureOrigin, Get, UnfilteredDispatchable};
use pezframe_system::{pezpallet_prelude::BlockNumberFor, Pezpallet as System, RawOrigin as SystemOrigin};
use pezframe_system::{
pezpallet_prelude::BlockNumberFor, Pezpallet as System, RawOrigin as SystemOrigin,
};
use super::{Call as AllianceCall, Pezpallet as Alliance, *};
+6 -2
View File
@@ -163,7 +163,8 @@ impl<AccountId> IdentityVerifier<AccountId> for () {
}
}
/// The provider of a collective action interface, for example an instance of `pezpallet-collective`.
/// The provider of a collective action interface, for example an instance of
/// `pezpallet-collective`.
pub trait ProposalProvider<AccountId, Hash, Proposal> {
/// Add a new proposal.
/// Returns a proposal length and active proposals count if successful.
@@ -430,7 +431,10 @@ pub mod pezpallet {
impl<T: Config<I>, I: 'static> BuildGenesisConfig for GenesisConfig<T, I> {
fn build(&self) {
for m in self.fellows.iter().chain(self.allies.iter()) {
assert!(Pezpallet::<T, I>::has_identity(m).is_ok(), "Member does not set identity!");
assert!(
Pezpallet::<T, I>::has_identity(m).is_ok(),
"Member does not set identity!"
);
}
if !self.fellows.is_empty() {
@@ -16,8 +16,8 @@
// limitations under the License.
use crate::{Config, Pezpallet, Weight, LOG_TARGET};
use pezframe_support::{pezpallet_prelude::*, storage::migration, traits::OnRuntimeUpgrade};
use log;
use pezframe_support::{pezpallet_prelude::*, storage::migration, traits::OnRuntimeUpgrade};
/// The in-code storage version.
pub const STORAGE_VERSION: StorageVersion = StorageVersion::new(2);
+1 -1
View File
@@ -18,8 +18,8 @@
use alloc::vec::Vec;
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
use pezframe_support::{traits::ConstU32, BoundedVec};
use scale_info::TypeInfo;
use pezsp_runtime::RuntimeDebug;
use scale_info::TypeInfo;
/// A Multihash instance that only supports the basic functionality and no hashing.
#[derive(