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
+3 -3
View File
@@ -26,11 +26,11 @@ use crate::currency_to_vote::CurrencyToVote;
use alloc::{collections::btree_map::BTreeMap, vec, vec::Vec};
use codec::{Decode, DecodeWithMemTracking, Encode, FullCodec, HasCompact, MaxEncodedLen};
use core::ops::{Add, AddAssign, Sub, SubAssign};
use scale_info::TypeInfo;
use pezsp_runtime::{
traits::{AtLeast32BitUnsigned, Zero},
DispatchError, DispatchResult, Perbill, RuntimeDebug, Saturating,
};
use scale_info::TypeInfo;
pub mod offence;
@@ -330,8 +330,8 @@ pub trait StakingUnchecked: StakingInterface {
/// Book-keep a new bond for `keyless_who` without applying any locks (hence virtual).
///
/// It is important that `keyless_who` is a keyless account and therefore cannot interact with
/// staking pezpallet directly. Caller is responsible for ensuring the passed amount is locked and
/// valid.
/// staking pezpallet directly. Caller is responsible for ensuring the passed amount is locked
/// and valid.
fn virtual_bond(
keyless_who: &Self::AccountId,
value: Self::Balance,
+3 -1
View File
@@ -169,7 +169,9 @@ impl<Reporter, Offender, Res: Default> OnOffenceHandler<Reporter, Offender, Res>
}
/// A details about an offending authority for a particular kind of offence.
#[derive(Clone, PartialEq, Eq, Encode, Decode, pezsp_runtime::RuntimeDebug, scale_info::TypeInfo)]
#[derive(
Clone, PartialEq, Eq, Encode, Decode, pezsp_runtime::RuntimeDebug, scale_info::TypeInfo,
)]
pub struct OffenceDetails<Reporter, Offender> {
/// The offending authority id
pub offender: Offender,