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
@@ -18,7 +18,7 @@
//! Migrate the reference counting state.
use super::LOG_TARGET;
use crate::{Config, Pallet};
use crate::{Config, Pezpallet};
use codec::{Decode, Encode, FullCodec};
use pezframe_support::{
pezpallet_prelude::ValueQuery, traits::PalletInfoAccess, weights::Weight, Blake2_128Concat,
@@ -40,8 +40,8 @@ struct AccountInfo<Nonce, AccountData> {
/// Trait to implement to give information about types used for migration
pub trait V2ToV3 {
/// The system pallet.
type Pallet: 'static + PalletInfoAccess;
/// The system pezpallet.
type Pezpallet: 'static + PalletInfoAccess;
/// System config account id
type AccountId: 'static + FullCodec;
@@ -54,14 +54,14 @@ pub trait V2ToV3 {
}
#[pezframe_support::storage_alias]
type UpgradedToU32RefCount<T: Config> = StorageValue<Pallet<T>, bool, ValueQuery>;
type UpgradedToU32RefCount<T: Config> = StorageValue<Pezpallet<T>, bool, ValueQuery>;
#[pezframe_support::storage_alias]
type UpgradedToTripleRefCount<T: Config> = StorageValue<Pallet<T>, bool, ValueQuery>;
type UpgradedToTripleRefCount<T: Config> = StorageValue<Pezpallet<T>, bool, ValueQuery>;
#[pezframe_support::storage_alias]
type Account<V, T: Config> = StorageMap<
Pallet<T>,
Pezpallet<T>,
Blake2_128Concat,
<V as V2ToV3>::AccountId,
AccountInfo<<V as V2ToV3>::Nonce, <V as V2ToV3>::AccountData>,