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
+6 -6
View File
@@ -74,7 +74,7 @@ use std::{
use futures::{channel::oneshot, future::BoxFuture, select, Future, FutureExt, StreamExt};
use pezkuwi_primitives::{Block, BlockNumber, Hash};
use sc_client_api::{BlockImportNotification, BlockchainEvents, FinalityNotification};
use pezsc_client_api::{BlockImportNotification, BlockchainEvents, FinalityNotification};
use self::messages::{BitfieldSigningMessage, PvfCheckerMessage};
use pezkuwi_node_subsystem_types::messages::{
@@ -119,9 +119,9 @@ mod memory_stats;
#[cfg(test)]
mod tests;
use sp_core::traits::SpawnNamed;
use pezsp_core::traits::SpawnNamed;
/// Glue to connect `trait orchestra::Spawner` and `SpawnNamed` from `substrate`.
/// Glue to connect `trait orchestra::Spawner` and `SpawnNamed` from `bizinikiwi`.
pub struct SpawnGlue<S>(pub S);
impl<S> AsRef<S> for SpawnGlue<S> {
@@ -289,7 +289,7 @@ impl From<FinalityNotification<Block>> for BlockInfo {
}
/// An event from outside the overseer scope, such
/// as the substrate framework or user interaction.
/// as the bizinikiwi framework or user interaction.
#[derive(Debug)]
pub enum Event {
/// A new block was imported.
@@ -452,7 +452,7 @@ pub async fn forward_events<P: BlockchainEvents<Block>>(client: Arc<P>, mut hand
/// async fn head_supports_teyrchains(&self, _head: &Hash) -> bool { true }
/// }
///
/// let spawner = sp_core::testing::TaskExecutor::new();
/// let spawner = pezsp_core::testing::TaskExecutor::new();
/// let (overseer, _handle) = dummy_overseer_builder(spawner, AlwaysSupportsTeyrchains, None)
/// .unwrap()
/// .replace_candidate_validation(|_| ValidationSubsystem)
@@ -624,7 +624,7 @@ pub struct Overseer<SupportsTeyrchains> {
approval_voting_parallel: ApprovalVotingParallel,
#[subsystem(GossipSupportMessage, sends: [
NetworkBridgeTxMessage,
NetworkBridgeRxMessage, // TODO <https://github.com/paritytech/polkadot/issues/5626>
NetworkBridgeRxMessage, // TODO <https://github.com/pezkuwichain/kurdistan-sdk/issues/160>
RuntimeApiMessage,
ChainSelectionMessage,
ChainApiMessage,
+12 -12
View File
@@ -46,7 +46,7 @@ use crate::{
use metered;
use assert_matches::assert_matches;
use sp_core::crypto::Pair as _;
use pezsp_core::crypto::Pair as _;
use super::*;
@@ -163,7 +163,7 @@ impl HeadSupportsTeyrchains for MockSupportsTeyrchains {
// Checks that a minimal configuration of two jobs can run and exchange messages.
#[test]
fn overseer_works() {
let spawner = sp_core::testing::TaskExecutor::new();
let spawner = pezsp_core::testing::TaskExecutor::new();
executor::block_on(async move {
let (s1_tx, s1_rx) = metered::channel::<usize>(64);
@@ -216,7 +216,7 @@ fn overseer_works() {
// Checks activated/deactivated metrics are updated properly.
#[test]
fn overseer_metrics_work() {
let spawner = sp_core::testing::TaskExecutor::new();
let spawner = pezsp_core::testing::TaskExecutor::new();
executor::block_on(async move {
let first_block_hash = [1; 32].into();
@@ -296,7 +296,7 @@ fn extract_metrics(registry: &prometheus::Registry) -> HashMap<&'static str, u64
// Should immediately conclude the overseer itself.
#[test]
fn overseer_ends_on_subsystem_exit() {
let spawner = sp_core::testing::TaskExecutor::new();
let spawner = pezsp_core::testing::TaskExecutor::new();
executor::block_on(async move {
let (overseer, _handle) = dummy_overseer_builder(spawner, MockSupportsTeyrchains, None)
@@ -377,7 +377,7 @@ where
// notifications on imported blocks triggers expected `StartWork` and `StopWork` heartbeats.
#[test]
fn overseer_start_stop_works() {
let spawner = sp_core::testing::TaskExecutor::new();
let spawner = pezsp_core::testing::TaskExecutor::new();
executor::block_on(async move {
let first_block_hash = [1; 32].into();
@@ -463,7 +463,7 @@ fn overseer_start_stop_works() {
// notifications on imported blocks triggers expected `StartWork` and `StopWork` heartbeats.
#[test]
fn overseer_finalize_works() {
let spawner = sp_core::testing::TaskExecutor::new();
let spawner = pezsp_core::testing::TaskExecutor::new();
executor::block_on(async move {
let first_block_hash = [1; 32].into();
@@ -574,7 +574,7 @@ fn overseer_finalize_works() {
// the leaves set.
#[test]
fn overseer_finalize_leaf_preserves_it() {
let spawner = sp_core::testing::TaskExecutor::new();
let spawner = pezsp_core::testing::TaskExecutor::new();
executor::block_on(async move {
let first_block_hash = [1; 32].into();
@@ -675,7 +675,7 @@ fn overseer_finalize_leaf_preserves_it() {
#[test]
fn do_not_send_empty_leaves_update_on_block_finalization() {
let spawner = sp_core::testing::TaskExecutor::new();
let spawner = pezsp_core::testing::TaskExecutor::new();
executor::block_on(async move {
let unpin_handle = dummy_unpin_handle(dummy_hash());
@@ -951,12 +951,12 @@ fn test_dispute_distribution_msg() -> DisputeDistributionMessage {
session_index: 0,
invalid_vote: InvalidDisputeVote {
validator_index: ValidatorIndex(0),
signature: sp_core::crypto::UncheckedFrom::unchecked_from([1u8; 64]),
signature: pezsp_core::crypto::UncheckedFrom::unchecked_from([1u8; 64]),
kind: InvalidDisputeStatementKind::Explicit,
},
valid_vote: ValidDisputeVote {
validator_index: ValidatorIndex(0),
signature: sp_core::crypto::UncheckedFrom::unchecked_from([2u8; 64]),
signature: pezsp_core::crypto::UncheckedFrom::unchecked_from([2u8; 64]),
kind: ValidDisputeStatementKind::Explicit,
},
};
@@ -987,7 +987,7 @@ fn overseer_all_subsystems_receive_signals_and_messages() {
// -4 for BitfieldSigning, GossipSupport, AvailabilityDistribution and PvfCheckerSubsystem.
const NUM_SUBSYSTEMS_MESSAGED: usize = NUM_SUBSYSTEMS - 4;
let spawner = sp_core::testing::TaskExecutor::new();
let spawner = pezsp_core::testing::TaskExecutor::new();
executor::block_on(async move {
let stop_signals_received = Arc::new(atomic::AtomicUsize::new(0));
let signals_received = Arc::new(atomic::AtomicUsize::new(0));
@@ -1438,7 +1438,7 @@ fn overseer_check_subsystem_can_receive_their_priority_messages(
) {
let num_normal_messages = normal_msgs.len();
let num_prio_messages: usize = prio_msgs.len();
let spawner = sp_core::testing::TaskExecutor::new();
let spawner = pezsp_core::testing::TaskExecutor::new();
executor::block_on(async move {
let msgs_received = Arc::new(atomic::AtomicUsize::new(0));
let prio_msgs_received = Arc::new(atomic::AtomicUsize::new(0));