fix: Complete snowbridge pezpallet rebrand and critical bug fixes

- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs)
- pallet/ directories → pezpallet/ (4 locations)
- Fixed pezpallet.rs self-include recursion bug
- Fixed sc-chain-spec hardcoded crate name in derive macro
- Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API)
- Added BizinikiwiConfig type alias for zombienet tests
- Deleted obsolete session state files

Verified: pezsnowbridge-pezpallet-*, pezpallet-staking,
pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
This commit is contained in:
2025-12-16 09:57:23 +03:00
parent eea003e14d
commit 3139ffa25e
3022 changed files with 42157 additions and 23579 deletions
+3 -3
View File
@@ -288,7 +288,7 @@ pub trait StakingInterface {
/// Checks whether the staker is a virtual account.
///
/// A virtual staker is an account whose locks are not managed by the [`StakingInterface`]
/// implementation but by an external pallet. See [`StakingUnchecked::virtual_bond`] for more
/// implementation but by an external pezpallet. See [`StakingUnchecked::virtual_bond`] for more
/// details.
fn is_virtual_staker(who: &Self::AccountId) -> bool;
@@ -324,13 +324,13 @@ pub trait StakingInterface {
pub trait StakingUnchecked: StakingInterface {
/// Migrate an existing staker to a virtual staker.
///
/// It would release all funds held by the implementation pallet.
/// It would release all funds held by the implementation pezpallet.
fn migrate_to_virtual_staker(who: &Self::AccountId) -> DispatchResult;
/// 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 pallet directly. Caller is responsible for ensuring the passed amount is locked and
/// staking pezpallet directly. Caller is responsible for ensuring the passed amount is locked and
/// valid.
fn virtual_bond(
keyless_who: &Self::AccountId,
+1 -1
View File
@@ -201,7 +201,7 @@ pub struct OffenceDetails<Reporter, Offender> {
pub trait OffenceReportSystem<Reporter, Evidence> {
/// Longevity, in blocks, for the evidence report validity.
///
/// For example, when using the staking pallet this should be set equal
/// For example, when using the staking pezpallet this should be set equal
/// to the bonding duration in blocks, not eras.
type Longevity: Get<u64>;