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
@@ -60,7 +60,7 @@ fn construct_extrinsic(
pezframe_system::CheckGenesis::<Runtime>::new(),
pezframe_system::CheckEra::<Runtime>::from(Era::immortal()),
pezframe_system::CheckNonce::<Runtime>::from(
pezframe_system::Pallet::<Runtime>::account(&account_id).nonce,
pezframe_system::Pezpallet::<Runtime>::account(&account_id).nonce,
),
pezframe_system::CheckWeight::<Runtime>::new(),
),
@@ -240,32 +240,32 @@ mod bridge_hub_zagros_tests {
bp_bridge_hub_pezkuwichain::BRIDGE_HUB_PEZKUWICHAIN_TEYRCHAIN_ID,
Governance::get(),
vec![
(snowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::hashed_key_for::<ChannelId>(
(pezsnowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::hashed_key_for::<ChannelId>(
channel_id_one,
)
.to_vec(), 0u64.encode()),
(snowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::hashed_key_for::<ChannelId>(
(pezsnowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::hashed_key_for::<ChannelId>(
channel_id_one,
)
.to_vec(), 0u64.encode()),
],
|| {
// Outbound
snowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
pezsnowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
channel_id_one,
nonce,
);
snowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
pezsnowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
channel_id_two,
nonce,
);
// Inbound
snowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
pezsnowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
channel_id_one,
nonce,
);
snowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
pezsnowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::insert::<ChannelId, u64>(
channel_id_two,
nonce,
);
@@ -273,21 +273,21 @@ mod bridge_hub_zagros_tests {
|| {
// Outbound
assert_eq!(
snowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::get(channel_id_one),
pezsnowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::get(channel_id_one),
0
);
assert_eq!(
snowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::get(channel_id_two),
pezsnowbridge_pezpallet_outbound_queue::Nonce::<Runtime>::get(channel_id_two),
nonce
);
// Inbound
assert_eq!(
snowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::get(channel_id_one),
pezsnowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::get(channel_id_one),
0
);
assert_eq!(
snowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::get(channel_id_two),
pezsnowbridge_pezpallet_inbound_queue::Nonce::<Runtime>::get(channel_id_two),
nonce
);
},