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
@@ -145,5 +145,5 @@ pub fn relay_ext() -> pezsp_io::TestExternalities {
ext
}
pub type RelayChainPalletXcm = pezpallet_xcm::Pallet<relay_chain::Runtime>;
pub type TeyrchainPalletXcm = pezpallet_xcm::Pallet<teyrchain::Runtime>;
pub type RelayChainPalletXcm = pezpallet_xcm::Pezpallet<relay_chain::Runtime>;
pub type TeyrchainPalletXcm = pezpallet_xcm::Pezpallet<teyrchain::Runtime>;
@@ -134,7 +134,7 @@ parameter_types! {
pub const MessageQueueMaxStale: u32 = 16;
}
/// Message processor to handle any messages that were enqueued into the `MessageQueue` pallet.
/// Message processor to handle any messages that were enqueued into the `MessageQueue` pezpallet.
pub struct MessageProcessor;
impl ProcessMessage for MessageProcessor {
type Origin = AggregateMessageOrigin;
@@ -151,7 +151,7 @@ fn reserve_transfer() {
ParaA::execute_with(|| {
// free execution, full amount received
assert_eq!(
pezpallet_balances::Pallet::<teyrchain::Runtime>::free_balance(&ALICE),
pezpallet_balances::Pezpallet::<teyrchain::Runtime>::free_balance(&ALICE),
INITIAL_BALANCE + withdraw_amount
);
});
@@ -201,7 +201,7 @@ fn reserve_transfer_with_error() {
// Ensure no balance change due to the error
ParaA::execute_with(|| {
assert_eq!(
pezpallet_balances::Pallet::<teyrchain::Runtime>::free_balance(&ALICE),
pezpallet_balances::Pezpallet::<teyrchain::Runtime>::free_balance(&ALICE),
INITIAL_BALANCE
);
});