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
@@ -79,11 +79,11 @@ extern crate alloc;
use alloc::{collections::btree_map::BTreeMap, rc::Rc, vec, vec::Vec};
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
use core::{cell::RefCell, cmp::Ordering};
use pezsp_arithmetic::{traits::Zero, Normalizable, PerThing, Rational128, ThresholdOrd};
use pezsp_core::RuntimeDebug;
use scale_info::TypeInfo;
#[cfg(feature = "serde")]
use serde::{Deserialize, Serialize};
use pezsp_arithmetic::{traits::Zero, Normalizable, PerThing, Rational128, ThresholdOrd};
use pezsp_core::RuntimeDebug;
#[cfg(test)]
mod mock;
@@ -481,8 +481,8 @@ pub struct ElectionResult<AccountId, P: PerThing> {
///
/// This complements the [`ElectionResult`] and is needed to run the balancing post-processing.
///
/// This, at the current version, resembles the `Exposure` defined in the Staking pezpallet, yet they
/// do not necessarily have to be the same.
/// This, at the current version, resembles the `Exposure` defined in the Staking pezpallet, yet
/// they do not necessarily have to be the same.
#[derive(RuntimeDebug, Encode, Decode, DecodeWithMemTracking, Clone, Eq, PartialEq, TypeInfo)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct Support<AccountId> {
@@ -21,8 +21,8 @@ use crate::{
balancing, helpers::*, mock::*, seq_phragmen, seq_phragmen_core, setup_inputs, to_support_map,
Assignment, BalancingConfig, ElectionResult, ExtendedBalance, StakedAssignment, Support, Voter,
};
use pezsp_arithmetic::{PerU16, Perbill, Percent, Permill};
use bizinikiwi_test_utils::assert_eq_uvec;
use pezsp_arithmetic::{PerU16, Perbill, Percent, Permill};
#[test]
fn float_phragmen_poc_works() {