feat: Rebrand Polkadot/Substrate references to PezkuwiChain

This commit systematically rebrands various references from Parity Technologies'
Polkadot/Substrate ecosystem to PezkuwiChain within the kurdistan-sdk.

Key changes include:
- Updated external repository URLs (zombienet-sdk, parity-db, parity-scale-codec, wasm-instrument) to point to pezkuwichain forks.
- Modified internal documentation and code comments to reflect PezkuwiChain naming and structure.
- Replaced direct references to  with  or specific paths within the  for XCM, Pezkuwi, and other modules.
- Cleaned up deprecated  issue and PR references in various  and  files, particularly in  and  modules.
- Adjusted image and logo URLs in documentation to point to PezkuwiChain assets.
- Removed or rephrased comments related to external Polkadot/Substrate PRs and issues.

This is a significant step towards fully customizing the SDK for the PezkuwiChain ecosystem.
This commit is contained in:
2025-12-14 00:04:10 +03:00
parent e4778b4576
commit 379cb741ed
9082 changed files with 997824 additions and 997542 deletions
@@ -16,11 +16,11 @@ exclude-from-umbrella = true
[dependencies]
codec = { workspace = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
pallet-xcm = { workspace = true }
sp-arithmetic = { workspace = true }
sp-std = { workspace = true }
pezframe-support = { workspace = true }
pezframe-system = { workspace = true }
pezpallet-xcm = { workspace = true }
pezsp-arithmetic = { workspace = true }
pezsp-std = { workspace = true }
tracing = { workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
@@ -32,26 +32,26 @@ xcm-executor = { workspace = true }
default = ["std"]
std = [
"codec/std",
"frame-support/std",
"frame-system/std",
"pallet-xcm/std",
"sp-arithmetic/std",
"sp-std/std",
"pezframe-support/std",
"pezframe-system/std",
"pezpallet-xcm/std",
"pezsp-arithmetic/std",
"pezsp-std/std",
"tracing/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm/std",
]
runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
try-runtime = [
"frame-support/try-runtime",
"frame-system/try-runtime",
"pallet-xcm/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-xcm/try-runtime",
]
@@ -1,13 +1,13 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
use frame_support::{
use pezframe_support::{
dispatch::RawOrigin,
sp_runtime::traits::MaybeEquivalence,
pezsp_runtime::traits::MaybeEquivalence,
traits::{ContainsPair, EnsureOrigin, EnsureOriginWithArg, Everything, OriginTrait},
};
use frame_system::ensure_signed;
use pallet_xcm::{EnsureXcm, Origin as XcmOrigin};
use pezframe_system::ensure_signed;
use pezpallet_xcm::{EnsureXcm, Origin as XcmOrigin};
use xcm::prelude::Location;
/// Origin check that verifies that an origin is the owner of a foreign asset.
@@ -19,7 +19,7 @@ pub struct ForeignAssetOwner<IsForeign, AssetInspect, AccountId, LocationToAccou
);
impl<
IsForeign: ContainsPair<L, L>,
AssetInspect: frame_support::traits::fungibles::roles::Inspect<AccountId>,
AssetInspect: pezframe_support::traits::fungibles::roles::Inspect<AccountId>,
AccountId: Eq + Clone,
LocationToAccountId: xcm_executor::traits::ConvertLocation<AccountId>,
RuntimeOrigin: From<XcmOrigin> + OriginTrait + Clone,
@@ -28,7 +28,7 @@ impl<
for ForeignAssetOwner<IsForeign, AssetInspect, AccountId, LocationToAccountId, L>
where
for<'a> &'a RuntimeOrigin::PalletsOrigin: TryInto<&'a XcmOrigin>,
<AssetInspect as frame_support::traits::fungibles::Inspect<AccountId>>::AssetId: From<Location>,
<AssetInspect as pezframe_support::traits::fungibles::Inspect<AccountId>>::AssetId: From<Location>,
{
type Success = L;
@@ -53,7 +53,7 @@ where
#[cfg(feature = "runtime-benchmarks")]
fn try_successful_origin(a: &L) -> Result<RuntimeOrigin, ()> {
let latest_location: Location = (*a).clone().try_into().map_err(|_| ())?;
Ok(pallet_xcm::Origin::Xcm(latest_location).into())
Ok(pezpallet_xcm::Origin::Xcm(latest_location).into())
}
}
@@ -66,7 +66,7 @@ pub struct LocalAssetOwner<MatchAssetId, AssetInspect, AccountId, AssetId, L = L
);
impl<
MatchAssetId: MaybeEquivalence<L, AssetId>,
AssetInspect: frame_support::traits::fungibles::roles::Inspect<AccountId>,
AssetInspect: pezframe_support::traits::fungibles::roles::Inspect<AccountId>,
AccountId: Eq + Clone + Into<L>,
AssetId: Eq + Clone,
RuntimeOrigin: OriginTrait + Clone,
@@ -75,7 +75,7 @@ impl<
for LocalAssetOwner<MatchAssetId, AssetInspect, AccountId, AssetId, L>
where
RuntimeOrigin: Into<Result<RawOrigin<AccountId>, RuntimeOrigin>> + From<RawOrigin<AccountId>>,
<AssetInspect as frame_support::traits::fungibles::Inspect<AccountId>>::AssetId: From<AssetId>,
<AssetInspect as pezframe_support::traits::fungibles::Inspect<AccountId>>::AssetId: From<AssetId>,
{
type Success = L;