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
@@ -121,8 +121,13 @@ mod benchmarks {
let election = ActiveElections::<T>::get(0).unwrap();
pezframe_system::Pezpallet::<T>::set_block_number(election.voting_start);
Pezpallet::<T>::cast_vote(RawOrigin::Signed(voter.clone()).into(), 0, vec![candidate], None)
.unwrap();
Pezpallet::<T>::cast_vote(
RawOrigin::Signed(voter.clone()).into(),
0,
vec![candidate],
None,
)
.unwrap();
// 2. Advance to election end time
pezframe_system::Pezpallet::<T>::set_block_number(election.end_block + 1u32.into());
@@ -224,7 +224,8 @@ pub mod pezpallet {
+ pezpallet_identity_kyc::Config
+ core::fmt::Debug
{
type RuntimeEvent: From<Event<Self>> + IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
type RuntimeEvent: From<Event<Self>>
+ IsType<<Self as pezframe_system::Config>::RuntimeEvent>;
type WeightInfo: crate::WeightInfo;
type Randomness: Randomness<Self::Hash, BlockNumberFor<Self>>;
type RuntimeCall: Parameter
@@ -127,7 +127,9 @@ pub mod v1 {
}
#[cfg(feature = "try-runtime")]
fn post_upgrade(state: pezsp_std::vec::Vec<u8>) -> Result<(), pezsp_runtime::TryRuntimeError> {
fn post_upgrade(
state: pezsp_std::vec::Vec<u8>,
) -> Result<(), pezsp_runtime::TryRuntimeError> {
use codec::Decode;
let (
@@ -339,7 +341,9 @@ pub mod v2 {
}
#[cfg(feature = "try-runtime")]
fn post_upgrade(_state: pezsp_std::vec::Vec<u8>) -> Result<(), pezsp_runtime::TryRuntimeError> {
fn post_upgrade(
_state: pezsp_std::vec::Vec<u8>,
) -> Result<(), pezsp_runtime::TryRuntimeError> {
log::info!("✅ Post-upgrade check passed for pezpallet-welati v2");
Ok(())
}
@@ -2,9 +2,9 @@ use codec::{Decode, Encode, MaxEncodedLen};
use pezframe_support::pezpallet_prelude::*;
use pezframe_system::{pezpallet_prelude::BlockNumberFor, Config as SystemConfig};
use pezpallet_tiki::Tiki;
use scale_info::TypeInfo;
use pezsp_runtime::RuntimeDebug;
use pezsp_std::prelude::*;
use scale_info::TypeInfo;
#[derive(RuntimeDebug, Eq, PartialEq)]
pub enum ElectionOutcome<AccountId> {