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
@@ -180,7 +180,7 @@ impl EventValidator {
}
fn check(&self) {
assert_eq!(&pezframe_system::Pallet::<Test>::events(), &self.events);
assert_eq!(&pezframe_system::Pezpallet::<Test>::events(), &self.events);
}
}
@@ -943,7 +943,7 @@ fn full_teyrchain_cleanup_storage() {
// For that run to block #7 and submit a new head.
assert_eq!(expected_at, 7);
run_to_block(7, None);
assert_eq!(pezframe_system::Pallet::<Test>::block_number(), 7);
assert_eq!(pezframe_system::Pezpallet::<Test>::block_number(), 7);
Paras::note_new_head(para_id, Default::default(), expected_at);
AuthorizedCodeHash::<Test>::insert(
&para_id,
@@ -2118,7 +2118,7 @@ fn remove_upgrade_cooldown_works() {
.dispatch_bypass_filter(RuntimeOrigin::signed(1)));
let expected_issuance = issuance -
Pallet::<Test>::calculate_remove_upgrade_cooldown_cost(next_possible_upgrade_at);
Pezpallet::<Test>::calculate_remove_upgrade_cooldown_cost(next_possible_upgrade_at);
// Check that we burned the funds
assert_eq!(expected_issuance, Balances::total_issuance());
@@ -2308,7 +2308,7 @@ fn apply_authorized_force_set_current_code_works() {
);
// cannot apply obsolete authorization
pezframe_system::Pallet::<Test>::set_block_number(valid_period + 5 + 10);
pezframe_system::Pezpallet::<Test>::set_block_number(valid_period + 5 + 10);
assert_eq!(
apply_code(RuntimeOrigin::signed(1), para_a, code_1.clone(),),
(
@@ -2316,7 +2316,7 @@ fn apply_authorized_force_set_current_code_works() {
Err(Error::<Test>::InvalidBlockNumber.into())
),
);
pezframe_system::Pallet::<Test>::set_block_number(5);
pezframe_system::Pezpallet::<Test>::set_block_number(5);
// ok - can apply authorized code
let (validate_unsigned, dispatch_result) =