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
@@ -22,17 +22,17 @@ pub trait Config {
type RuntimeCall;
}
struct Pallet;
struct Pezpallet;
#[register_default_impl(Pallet)]
impl Config for Pallet {
#[register_default_impl(Pezpallet)]
impl Config for Pezpallet {
#[inject_runtime_type]
type RuntimeCall = ();
}
struct SomePallet;
#[derive_impl(Pallet)] // Injects type RuntimeCall = RuntimeCall;
#[derive_impl(Pezpallet)] // Injects type RuntimeCall = RuntimeCall;
impl Config for SomePallet {}
assert_type_eq_all!(<SomePallet as Config>::RuntimeCall, u32);
@@ -24,17 +24,17 @@ pub trait Config {
type RuntimeInfo = u32;
struct Pallet;
struct Pezpallet;
#[register_default_impl(Pallet)]
impl Config for Pallet {
#[register_default_impl(Pezpallet)]
impl Config for Pezpallet {
#[inject_runtime_type]
type RuntimeInfo = ();
}
struct SomePallet;
#[derive_impl(Pallet)] // Injects type RuntimeInfo = RuntimeInfo;
#[derive_impl(Pezpallet)] // Injects type RuntimeInfo = RuntimeInfo;
impl Config for SomePallet {}
assert_type_eq_all!(<SomePallet as Config>::RuntimeInfo, u32);
@@ -24,17 +24,17 @@ pub trait Config {
type RuntimeCall = u32;
struct Pallet;
struct Pezpallet;
#[register_default_impl(Pallet)]
impl Config for Pallet {
#[register_default_impl(Pezpallet)]
impl Config for Pezpallet {
#[inject_runtime_type]
type RuntimeCall = ();
}
struct SomePallet;
#[derive_impl(Pallet)] // Injects type RuntimeCall = RuntimeCall;
#[derive_impl(Pezpallet)] // Injects type RuntimeCall = RuntimeCall;
impl Config for SomePallet {}
assert_type_eq_all!(<SomePallet as Config>::RuntimeCall, u32);