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
@@ -20,12 +20,12 @@ codec = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
tracing = { workspace = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { workspace = true }
sp-std = { workspace = true }
pezframe-support = { workspace = true }
pezframe-system = { workspace = true }
pezsp-core = { workspace = true }
pezsp-io = { workspace = true }
pezsp-runtime = { workspace = true }
pezsp-std = { workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
@@ -48,16 +48,16 @@ std = [
"alloy-core/std",
"assets-common/std",
"codec/std",
"frame-support/std",
"frame-system/std",
"pezframe-support/std",
"pezframe-system/std",
"scale-info/std",
"snowbridge-beacon-primitives/std",
"snowbridge-core/std",
"snowbridge-verification-primitives/std",
"sp-core/std",
"sp-io/std",
"sp-runtime/std",
"sp-std/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-runtime/std",
"pezsp-std/std",
"tracing/std",
"xcm-builder/std",
"xcm-executor/std",
@@ -65,21 +65,21 @@ std = [
]
runtime-benchmarks = [
"assets-common/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"snowbridge-beacon-primitives/runtime-benchmarks",
"snowbridge-core/runtime-benchmarks",
"snowbridge-test-utils/runtime-benchmarks",
"snowbridge-verification-primitives/runtime-benchmarks",
"sp-io/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
try-runtime = [
"assets-common/try-runtime",
"frame-support/try-runtime",
"frame-system/try-runtime",
"sp-runtime/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezsp-runtime/try-runtime",
]
@@ -5,8 +5,8 @@
pub mod v1;
pub mod v2;
use codec::Encode;
use sp_core::blake2_256;
use sp_std::marker::PhantomData;
use pezsp_core::blake2_256;
use pezsp_std::marker::PhantomData;
use xcm::prelude::{AccountKey20, Ethereum, GlobalConsensus, Location};
use xcm_executor::traits::ConvertLocation;
@@ -5,12 +5,12 @@
use crate::{CallIndex, EthereumLocationsConverterFor};
use codec::{Decode, DecodeWithMemTracking, Encode};
use core::marker::PhantomData;
use frame_support::{traits::tokens::Balance as BalanceT, PalletError};
use pezframe_support::{traits::tokens::Balance as BalanceT, PalletError};
use scale_info::TypeInfo;
use snowbridge_core::TokenId;
use sp_core::{Get, RuntimeDebug, H160, H256};
use sp_runtime::{traits::MaybeConvert, MultiAddress};
use sp_std::prelude::*;
use pezsp_core::{Get, RuntimeDebug, H160, H256};
use pezsp_runtime::{traits::MaybeConvert, MultiAddress};
use pezsp_std::prelude::*;
use xcm::prelude::{Junction::AccountKey20, *};
const MINIMUM_DEPOSIT: u128 = 1;
@@ -462,13 +462,13 @@ mod tests {
v1::{Command, ConvertMessage, Destination, MessageToXcm, MessageV1, VersionedMessage},
CallIndex, EthereumLocationsConverterFor,
};
use frame_support::{assert_ok, parameter_types};
use pezframe_support::{assert_ok, parameter_types};
use hex_literal::hex;
use snowbridge_test_utils::mock_converter::{
add_location_override, reanchor_to_ethereum, LocationIdConvert,
};
use sp_core::H160;
use sp_runtime::{
use pezsp_core::H160;
use pezsp_runtime::{
traits::{IdentifyAccount, Verify},
MultiSignature,
};
@@ -547,7 +547,7 @@ mod tests {
Location::new(2, [GlobalConsensus(Kusama), Teyrchain(2000)]),
];
for asset in assets.iter() {
// reanchor logic in pallet_xcm on AH
// reanchor logic in pezpallet_xcm on AH
let mut reanchored_asset = asset.clone();
assert_ok!(reanchored_asset.reanchor(&ethereum, &ah_context));
// reanchor back to original location in context of Ethereum
@@ -6,12 +6,12 @@ use super::{message::*, traits::*};
use crate::{v2::LOG_TARGET, CallIndex};
use codec::{Decode, DecodeLimit, Encode};
use core::marker::PhantomData;
use frame_support::ensure;
use pezframe_support::ensure;
use snowbridge_core::{ParaId, TokenId};
use sp_core::{Get, RuntimeDebug, H160};
use sp_io::hashing::blake2_256;
use sp_runtime::{traits::MaybeConvert, MultiAddress};
use sp_std::prelude::*;
use pezsp_core::{Get, RuntimeDebug, H160};
use pezsp_io::hashing::blake2_256;
use pezsp_runtime::{traits::MaybeConvert, MultiAddress};
use pezsp_std::prelude::*;
use xcm::{
prelude::{Junction::*, *},
MAX_XCM_DECODE_DEPTH,
@@ -425,13 +425,13 @@ mod tests {
use super::*;
use codec::Encode;
use frame_support::{assert_err, assert_ok, parameter_types};
use pezframe_support::{assert_err, assert_ok, parameter_types};
use hex_literal::hex;
use snowbridge_core::TokenId;
use snowbridge_test_utils::mock_converter::{
add_location_override, reanchor_to_ethereum, LocationIdConvert,
};
use sp_core::{H160, H256};
use pezsp_core::{H160, H256};
const GATEWAY_ADDRESS: [u8; 20] = hex!["eda338e4dc46038493b885327842fd3e301cab39"];
parameter_types! {
@@ -487,7 +487,7 @@ mod tests {
#[test]
fn test_successful_message() {
sp_io::TestExternalities::default().execute_with(|| {
pezsp_io::TestExternalities::default().execute_with(|| {
let origin: H160 = hex!("29e3b139f4393adda86303fcdaa35f60bb7092bf").into();
let native_token_id: H160 = hex!("5615deb798bb3e4dfa0139dfa1b3d433cc23b72f").into();
let dot_location = Location::parent();
@@ -723,7 +723,7 @@ mod tests {
#[test]
fn test_invalid_claimer() {
sp_io::TestExternalities::default().execute_with(|| {
pezsp_io::TestExternalities::default().execute_with(|| {
let origin: H160 = hex!("29e3b139f4393adda86303fcdaa35f60bb7092bf").into();
let native_token_id: H160 = hex!("5615deb798bb3e4dfa0139dfa1b3d433cc23b72f").into();
let beneficiary =
@@ -796,7 +796,7 @@ mod tests {
#[test]
fn test_invalid_xcm() {
sp_io::TestExternalities::default().execute_with(|| {
pezsp_io::TestExternalities::default().execute_with(|| {
let origin: H160 = hex!("29e3b139f4393adda86303fcdaa35f60bb7092bf").into();
let native_token_id: H160 = hex!("5615deb798bb3e4dfa0139dfa1b3d433cc23b72f").into();
let token_value = 3_000_000_000_000u128;
@@ -833,7 +833,7 @@ mod tests {
#[test]
fn message_with_set_topic_respects_user_topic() {
sp_io::TestExternalities::default().execute_with(|| {
pezsp_io::TestExternalities::default().execute_with(|| {
let origin: H160 = hex!("29e3b139f4393adda86303fcdaa35f60bb7092bf").into();
// Create a custom topic ID that the user specifies
@@ -879,7 +879,7 @@ mod tests {
#[test]
fn message_with_generates_a_unique_topic_if_no_topic_is_present() {
sp_io::TestExternalities::default().execute_with(|| {
pezsp_io::TestExternalities::default().execute_with(|| {
let origin: H160 = hex!("29e3b139f4393adda86303fcdaa35f60bb7092bf").into();
let execution_fee = 1_000_000_000_000u128;
@@ -912,7 +912,7 @@ mod tests {
#[test]
fn message_with_user_topic_not_last_instruction_gets_appended() {
sp_io::TestExternalities::default().execute_with(|| {
pezsp_io::TestExternalities::default().execute_with(|| {
let origin: H160 = hex!("29e3b139f4393adda86303fcdaa35f60bb7092bf").into();
let execution_fee = 1_000_000_000_000u128;
@@ -10,8 +10,8 @@ use alloy_core::{
};
use codec::{Decode, Encode};
use scale_info::TypeInfo;
use sp_core::{RuntimeDebug, H160, H256};
use sp_std::prelude::*;
use pezsp_core::{RuntimeDebug, H160, H256};
use pezsp_std::prelude::*;
sol! {
interface IGatewayV2 {
@@ -154,7 +154,7 @@ impl TryFrom<&Log> for Message {
let payload = event.payload;
let substrate_assets = Self::extract_assets(&payload)?;
let bizinikiwi_assets = Self::extract_assets(&payload)?;
let xcm = XcmPayload::try_from(&payload)?;
@@ -167,7 +167,7 @@ impl TryFrom<&Log> for Message {
gateway: log.address,
nonce: event.nonce,
origin: H160::from(payload.origin.as_ref()),
assets: substrate_assets,
assets: bizinikiwi_assets,
xcm,
claimer,
value: payload.value,
@@ -183,11 +183,11 @@ impl Message {
fn extract_assets(
payload: &IGatewayV2::Payload,
) -> Result<Vec<EthereumAsset>, MessageDecodeError> {
let mut substrate_assets = vec![];
let mut bizinikiwi_assets = vec![];
for asset in &payload.assets {
substrate_assets.push(EthereumAsset::try_from(asset)?);
bizinikiwi_assets.push(EthereumAsset::try_from(asset)?);
}
Ok(substrate_assets)
Ok(bizinikiwi_assets)
}
}
@@ -245,9 +245,9 @@ impl TryFrom<&IGatewayV2::EthereumAsset> for EthereumAsset {
#[cfg(test)]
mod tests {
use super::*;
use frame_support::assert_ok;
use pezframe_support::assert_ok;
use hex_literal::hex;
use sp_core::H160;
use pezsp_core::H160;
#[test]
fn test_decode() {
@@ -2,7 +2,7 @@
// SPDX-FileCopyrightText: 2025 Snowfork <hello@snowfork.com>
// SPDX-FileCopyrightText: 2021-2025 Parity Technologies (UK) Ltd.
use super::Message;
use sp_core::RuntimeDebug;
use pezsp_core::RuntimeDebug;
use xcm::latest::Xcm;
/// Converts an inbound message from Ethereum to an XCM message that can be