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
+13 -13
View File
@@ -12,11 +12,11 @@ repository.workspace = true
workspace = true
[dependencies]
sc-network = { workspace = true, default-features = true }
sp-application-crypto = { workspace = true, default-features = true }
sp-core = { workspace = true, default-features = true }
sp-crypto-hashing = { workspace = true, default-features = true }
sp-keystore = { workspace = true, default-features = true }
pezsc-network = { workspace = true, default-features = true }
pezsp-application-crypto = { workspace = true, default-features = true }
pezsp-core = { workspace = true, default-features = true }
pezsp-crypto-hashing = { workspace = true, default-features = true }
pezsp-keystore = { workspace = true, default-features = true }
pezkuwi-node-network-protocol = { workspace = true, default-features = true }
pezkuwi-node-subsystem = { workspace = true, default-features = true }
@@ -30,10 +30,10 @@ rand = { workspace = true }
rand_chacha = { workspace = true }
[dev-dependencies]
sp-authority-discovery = { workspace = true, default-features = true }
sp-consensus-babe = { workspace = true, default-features = true }
sp-keyring = { workspace = true, default-features = true }
sp-tracing = { workspace = true, default-features = true }
pezsp-authority-discovery = { workspace = true, default-features = true }
pezsp-consensus-babe = { workspace = true, default-features = true }
pezsp-keyring = { workspace = true, default-features = true }
pezsp-tracing = { workspace = true, default-features = true }
pezkuwi-node-subsystem-test-helpers = { workspace = true }
@@ -50,8 +50,8 @@ runtime-benchmarks = [
"pezkuwi-node-subsystem-util/runtime-benchmarks",
"pezkuwi-node-subsystem/runtime-benchmarks",
"pezkuwi-primitives/runtime-benchmarks",
"sc-network/runtime-benchmarks",
"sp-authority-discovery/runtime-benchmarks",
"sp-consensus-babe/runtime-benchmarks",
"sp-keyring/runtime-benchmarks",
"pezsc-network/runtime-benchmarks",
"pezsp-authority-discovery/runtime-benchmarks",
"pezsp-consensus-babe/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
]
@@ -36,9 +36,9 @@ use futures_timer::Delay;
use rand::{Rng, SeedableRng};
use rand_chacha::ChaCha20Rng;
use sc_network::{config::parse_addr, Multiaddr};
use sp_application_crypto::{AppCrypto, ByteArray};
use sp_keystore::{Keystore, KeystorePtr};
use pezsc_network::{config::parse_addr, Multiaddr};
use pezsp_application_crypto::{AppCrypto, ByteArray};
use pezsp_keystore::{Keystore, KeystorePtr};
use pezkuwi_node_network_protocol::{
authority_discovery::AuthorityDiscovery, peer_set::PeerSet, GossipSupportNetworkMessage,
@@ -86,7 +86,7 @@ const TRY_RERESOLVE_AUTHORITIES: Duration = Duration::from_secs(2);
/// populated). Authority discovery on Kusama takes around 8 minutes, so warning after 10 minutes
/// should be fine:
///
/// https://github.com/paritytech/substrate/blob/fc49802f263529160635471c8a17888846035f5d/client/authority-discovery/src/lib.rs#L88
/// https://github.com/paritytech/bizinikiwi/blob/fc49802f263529160635471c8a17888846035f5d/client/authority-discovery/src/lib.rs#L88
const LOW_CONNECTIVITY_WARN_DELAY: Duration = Duration::from_secs(600);
/// If connectivity is lower than this in percent, issue warning in logs.
@@ -796,7 +796,7 @@ async fn update_gossip_topology(
let random_seed = {
let (tx, rx) = oneshot::channel();
// TODO https://github.com/paritytech/polkadot/issues/5316:
// TODO https://github.com/pezkuwichain/kurdistan-sdk/issues/156:
// get the random seed from the `SessionInfo` instead.
sender
.send_message(RuntimeApiMessage::Request(
@@ -809,7 +809,7 @@ async fn update_gossip_topology(
let mut subject = [0u8; 40];
subject[..8].copy_from_slice(b"gossipsu");
subject[8..].copy_from_slice(&randomness);
sp_crypto_hashing::blake2_256(&subject)
pezsp_crypto_hashing::blake2_256(&subject)
};
// shuffle the validators and create the index mapping
@@ -25,11 +25,11 @@ use quickcheck::quickcheck;
use rand::seq::SliceRandom as _;
use parking_lot::Mutex;
use sc_network::multiaddr::Protocol;
use sp_authority_discovery::AuthorityPair as AuthorityDiscoveryPair;
use sp_consensus_babe::{AllowedSlots, BabeEpochConfiguration, Epoch as BabeEpoch};
use sp_core::crypto::Pair as PairT;
use sp_keyring::Sr25519Keyring;
use pezsc_network::multiaddr::Protocol;
use pezsp_authority_discovery::AuthorityPair as AuthorityDiscoveryPair;
use pezsp_consensus_babe::{AllowedSlots, BabeEpochConfiguration, Epoch as BabeEpoch};
use pezsp_core::crypto::Pair as PairT;
use pezsp_keyring::Sr25519Keyring;
use std::sync::Arc;
use pezkuwi_node_network_protocol::{
@@ -147,7 +147,7 @@ impl AuthorityDiscovery for MockAuthorityDiscovery {
async fn get_addresses_by_authority_id(
&mut self,
authority: pezkuwi_primitives::AuthorityDiscoveryId,
) -> Option<HashSet<sc_network::Multiaddr>> {
) -> Option<HashSet<pezsc_network::Multiaddr>> {
self.addrs.lock().get(&authority).cloned()
}
@@ -197,7 +197,7 @@ fn test_harness<T: Future<Output = VirtualOverseer>, AD: AuthorityDiscovery>(
subsystem: GossipSupport<AD>,
test_fn: impl FnOnce(VirtualOverseer) -> T,
) -> GossipSupport<AD> {
let pool = sp_core::testing::TaskExecutor::new();
let pool = pezsp_core::testing::TaskExecutor::new();
let (context, virtual_overseer) =
pezkuwi_node_subsystem_test_helpers::make_subsystem_context(pool.clone());
@@ -1151,7 +1151,7 @@ fn test_quickly_connect_to_authorities_that_changed_address() {
#[test]
fn disconnect_when_not_in_past_present_future() {
sp_tracing::try_init_simple();
pezsp_tracing::try_init_simple();
let mock_authority_discovery =
MockAuthorityDiscovery::new(PAST_PRESENT_FUTURE_AUTHORITIES.clone());
let hash = Hash::repeat_byte(0xAA);
@@ -1215,7 +1215,7 @@ fn disconnect_when_not_in_past_present_future() {
#[test]
fn test_log_output() {
sp_tracing::try_init_simple();
pezsp_tracing::try_init_simple();
let alice: AuthorityDiscoveryId = Sr25519Keyring::Alice.public().into();
let bob = Sr25519Keyring::Bob.public().into();
let unconnected_authorities = {