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:
@@ -34,7 +34,7 @@ use futures::{
|
||||
stream::{FuturesUnordered, StreamExt},
|
||||
task::{Context, Poll},
|
||||
};
|
||||
use sc_network::ProtocolName;
|
||||
use pezsc_network::ProtocolName;
|
||||
use schnellru::{ByLength, LruMap};
|
||||
use task::{
|
||||
FetchChunks, FetchChunksParams, FetchFull, FetchFullParams, FetchSystematicChunks,
|
||||
|
||||
@@ -34,7 +34,7 @@ use codec::Encode;
|
||||
use pezkuwi_node_primitives::AvailableData;
|
||||
use pezkuwi_node_subsystem::{messages::AvailabilityStoreMessage, overseer, RecoveryError};
|
||||
use pezkuwi_primitives::{AuthorityDiscoveryId, CandidateHash, Hash};
|
||||
use sc_network::ProtocolName;
|
||||
use pezsc_network::ProtocolName;
|
||||
|
||||
use futures::channel::{mpsc, oneshot};
|
||||
use std::collections::VecDeque;
|
||||
|
||||
@@ -25,7 +25,7 @@ use pezkuwi_node_network_protocol::request_response::{
|
||||
use pezkuwi_node_primitives::AvailableData;
|
||||
use pezkuwi_node_subsystem::{messages::NetworkBridgeTxMessage, overseer, RecoveryError};
|
||||
use pezkuwi_primitives::ValidatorIndex;
|
||||
use sc_network::{IfDisconnected, OutboundFailure, RequestFailure};
|
||||
use pezsc_network::{IfDisconnected, OutboundFailure, RequestFailure};
|
||||
|
||||
use futures::{channel::oneshot, SinkExt};
|
||||
use rand::seq::SliceRandom;
|
||||
|
||||
@@ -43,7 +43,7 @@ use pezkuwi_node_subsystem::{
|
||||
overseer, RecoveryError,
|
||||
};
|
||||
use pezkuwi_primitives::{AuthorityDiscoveryId, BlakeTwo256, ChunkIndex, HashT, ValidatorIndex};
|
||||
use sc_network::{IfDisconnected, OutboundFailure, ProtocolName, RequestFailure};
|
||||
use pezsc_network::{IfDisconnected, OutboundFailure, ProtocolName, RequestFailure};
|
||||
use std::{
|
||||
collections::{BTreeMap, HashMap, VecDeque},
|
||||
time::Duration,
|
||||
@@ -652,7 +652,7 @@ mod tests {
|
||||
};
|
||||
use pezkuwi_primitives::{CandidateHash, HeadData, PersistedValidationData};
|
||||
use pezkuwi_primitives_test_helpers::dummy_hash;
|
||||
use sp_keyring::Sr25519Keyring;
|
||||
use pezsp_keyring::Sr25519Keyring;
|
||||
use std::sync::Arc;
|
||||
|
||||
const TIMEOUT: Duration = Duration::from_secs(1);
|
||||
|
||||
@@ -45,8 +45,8 @@ use pezkuwi_primitives::{
|
||||
MutateDescriptorV2, NodeFeatures, PersistedValidationData, SessionInfo, ValidatorId,
|
||||
};
|
||||
use pezkuwi_primitives_test_helpers::{dummy_candidate_receipt, dummy_hash};
|
||||
use sc_network::{IfDisconnected, OutboundFailure, ProtocolName, RequestFailure};
|
||||
use sp_keyring::Sr25519Keyring;
|
||||
use pezsc_network::{IfDisconnected, OutboundFailure, ProtocolName, RequestFailure};
|
||||
use pezsp_keyring::Sr25519Keyring;
|
||||
|
||||
type VirtualOverseer = TestSubsystemContextHandle<AvailabilityRecoveryMessage>;
|
||||
|
||||
@@ -149,7 +149,7 @@ fn request_receiver(
|
||||
) -> IncomingRequestReceiver<AvailableDataFetchingRequest> {
|
||||
let receiver = IncomingRequest::get_config_receiver::<
|
||||
Block,
|
||||
sc_network::NetworkWorker<Block, Hash>,
|
||||
pezsc_network::NetworkWorker<Block, Hash>,
|
||||
>(req_protocol_names);
|
||||
// Don't close the sending end of the request protocol. Otherwise, the subsystem will terminate.
|
||||
std::mem::forget(receiver.1.inbound_queue);
|
||||
@@ -160,9 +160,9 @@ fn test_harness<Fut: Future<Output = VirtualOverseer>>(
|
||||
subsystem: AvailabilityRecoverySubsystem,
|
||||
test: impl FnOnce(VirtualOverseer) -> Fut,
|
||||
) {
|
||||
sp_tracing::init_for_tests();
|
||||
pezsp_tracing::init_for_tests();
|
||||
|
||||
let pool = sp_core::testing::TaskExecutor::new();
|
||||
let pool = pezsp_core::testing::TaskExecutor::new();
|
||||
|
||||
let (context, virtual_overseer) = make_subsystem_context(pool.clone());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user