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 286de54384
commit 1c0e57d984
9084 changed files with 997839 additions and 997557 deletions
@@ -0,0 +1,43 @@
[package]
name = "pezsp-test-primitives"
version = "2.0.0"
authors.workspace = true
edition.workspace = true
license = "Apache-2.0"
homepage.workspace = true
repository.workspace = true
publish = false
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
codec = { features = ["derive"], workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde = { features = ["derive"], optional = true, workspace = true }
pezsp-application-crypto = { workspace = true }
pezsp-core = { workspace = true }
pezsp-runtime = { workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"scale-info/std",
"serde/std",
"pezsp-application-crypto/std",
"pezsp-core/std",
"pezsp-runtime/std",
]
# Serde support without relying on std features.
serde = [
"dep:serde",
"pezsp-application-crypto/serde",
"pezsp-core/serde",
"pezsp-runtime/serde",
]
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
@@ -0,0 +1,102 @@
// This file is part of Bizinikiwi.
// Copyright (C) Parity Technologies (UK) Ltd.
// SPDX-License-Identifier: Apache-2.0
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//! The Bizinikiwi test primitives to share
#![cfg_attr(not(feature = "std"), no_std)]
extern crate alloc;
use codec::{Decode, DecodeWithMemTracking, Encode};
pub use pezsp_application_crypto;
use pezsp_application_crypto::sr25519;
use alloc::vec::Vec;
pub use pezsp_core::{hash::H256, RuntimeDebug};
use pezsp_runtime::{
traits::{BlakeTwo256, ExtrinsicLike, LazyExtrinsic, Verify},
OpaqueExtrinsic,
};
/// Extrinsic for test-runtime.
#[derive(
Clone, PartialEq, Eq, Encode, Decode, DecodeWithMemTracking, RuntimeDebug, scale_info::TypeInfo,
)]
pub enum Extrinsic {
IncludeData(Vec<u8>),
StorageChange(Vec<u8>, Option<Vec<u8>>),
}
impl From<Extrinsic> for OpaqueExtrinsic {
fn from(xt: Extrinsic) -> Self {
OpaqueExtrinsic::from_blob(xt.encode())
}
}
impl LazyExtrinsic for Extrinsic {
fn decode_unprefixed(data: &[u8]) -> Result<Self, codec::Error> {
Self::decode(&mut &data[..])
}
}
#[cfg(feature = "serde")]
impl serde::Serialize for Extrinsic {
fn serialize<S>(&self, seq: S) -> Result<S::Ok, S::Error>
where
S: ::serde::Serializer,
{
self.using_encoded(|bytes| seq.serialize_bytes(bytes))
}
}
impl ExtrinsicLike for Extrinsic {
fn is_signed(&self) -> Option<bool> {
if let Extrinsic::IncludeData(_) = *self {
Some(false)
} else {
Some(true)
}
}
fn is_bare(&self) -> bool {
if let Extrinsic::IncludeData(_) = *self {
true
} else {
false
}
}
}
/// The signature type used by accounts/transactions.
pub type AccountSignature = sr25519::Signature;
/// An identifier for an account on this system.
pub type AccountId = <AccountSignature as Verify>::Signer;
/// A simple hash type for all our hashing.
pub type Hash = H256;
/// The block number type used in this runtime.
pub type BlockNumber = u64;
/// Index of a transaction.
pub type Nonce = u64;
/// The item of a block digest.
pub type DigestItem = pezsp_runtime::generic::DigestItem;
/// The digest of a block.
pub type Digest = pezsp_runtime::generic::Digest;
/// A test block.
pub type Block = pezsp_runtime::generic::Block<Header, Extrinsic>;
/// A test block's header.
pub type Header = pezsp_runtime::generic::Header<BlockNumber, BlakeTwo256>;