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
@@ -47,7 +47,7 @@ macro_rules! create_pool_with_roc_on {
let signed_owner = <$chain as Chain>::RuntimeOrigin::signed(owner.clone());
let roc_location: Location = Parent.into();
if $is_foreign {
assert_ok!(<$chain as [<$chain Pallet>]>::ForeignAssets::mint(
assert_ok!(<$chain as [<$chain Pezpallet>]>::ForeignAssets::mint(
signed_owner.clone(),
$asset_id.clone().into(),
owner.clone().into(),
@@ -58,7 +58,7 @@ macro_rules! create_pool_with_roc_on {
Some(GeneralIndex(id)) => *id as u32,
_ => unreachable!(),
};
assert_ok!(<$chain as [<$chain Pallet>]>::Assets::mint(
assert_ok!(<$chain as [<$chain Pezpallet>]>::Assets::mint(
signed_owner.clone(),
asset_id.into(),
owner.clone().into(),
@@ -66,7 +66,7 @@ macro_rules! create_pool_with_roc_on {
));
}
assert_ok!(<$chain as [<$chain Pallet>]>::AssetConversion::create_pool(
assert_ok!(<$chain as [<$chain Pezpallet>]>::AssetConversion::create_pool(
signed_owner.clone(),
Box::new(roc_location.clone()),
Box::new($asset_id.clone()),
@@ -79,7 +79,7 @@ macro_rules! create_pool_with_roc_on {
]
);
assert_ok!(<$chain as [<$chain Pallet>]>::AssetConversion::add_liquidity(
assert_ok!(<$chain as [<$chain Pezpallet>]>::AssetConversion::add_liquidity(
signed_owner,
Box::new(roc_location),
Box::new($asset_id),
@@ -153,7 +153,7 @@ fn spend_roc_on_asset_hub() {
// Assert events triggered by xcm pay program:
// 1. treasury asset transferred to spend beneficiary;
// 2. response to Relay Chain Treasury pallet instance sent back;
// 2. response to Relay Chain Treasury pezpallet instance sent back;
// 3. XCM program completed;
assert_expected_events!(
AssetHubPezkuwichain,
@@ -229,7 +229,7 @@ fn create_and_claim_treasury_spend_in_usdt() {
// assert events triggered by xcm pay program
// 1. treasury asset transferred to spend beneficiary
// 2. response to Relay Chain treasury pallet instance sent back
// 2. response to Relay Chain treasury pezpallet instance sent back
// 3. XCM program completed
assert_expected_events!(
AssetHubPezkuwichain,