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:
@@ -16,7 +16,7 @@
|
||||
|
||||
use futures::{future::Either, FutureExt, StreamExt, TryFutureExt};
|
||||
|
||||
use sp_keystore::KeystorePtr;
|
||||
use pezsp_keystore::KeystorePtr;
|
||||
|
||||
use pezkuwi_node_network_protocol::request_response::{
|
||||
v1, v2, IncomingRequestReceiver, ReqProtocolNames,
|
||||
|
||||
@@ -125,8 +125,8 @@ mod tests {
|
||||
use futures::{executor, future};
|
||||
|
||||
use codec::Encode;
|
||||
use sc_network::ProtocolName;
|
||||
use sp_core::testing::TaskExecutor;
|
||||
use pezsc_network::ProtocolName;
|
||||
use pezsp_core::testing::TaskExecutor;
|
||||
|
||||
use pezkuwi_node_primitives::BlockData;
|
||||
use pezkuwi_node_subsystem::messages::{
|
||||
@@ -141,14 +141,14 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn rejects_invalid_pov() {
|
||||
sp_tracing::try_init_simple();
|
||||
pezsp_tracing::try_init_simple();
|
||||
let pov = PoV { block_data: BlockData(vec![1, 2, 3, 4, 5, 6]) };
|
||||
test_run(Hash::default(), pov);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn accepts_valid_pov() {
|
||||
sp_tracing::try_init_simple();
|
||||
pezsp_tracing::try_init_simple();
|
||||
let pov = PoV { block_data: BlockData(vec![1, 2, 3, 4, 5, 6]) };
|
||||
test_run(pov.hash(), pov);
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ use pezkuwi_primitives::{
|
||||
AuthorityDiscoveryId, BlakeTwo256, CandidateHash, ChunkIndex, GroupIndex, Hash, HashT,
|
||||
OccupiedCore, SessionIndex,
|
||||
};
|
||||
use sc_network::ProtocolName;
|
||||
use pezsc_network::ProtocolName;
|
||||
|
||||
use crate::{
|
||||
error::{FatalError, Result},
|
||||
|
||||
@@ -26,8 +26,8 @@ use futures::{
|
||||
};
|
||||
use rstest::rstest;
|
||||
|
||||
use sc_network::{self as network, ProtocolName};
|
||||
use sp_keyring::Sr25519Keyring;
|
||||
use pezsc_network::{self as network, ProtocolName};
|
||||
use pezsp_keyring::Sr25519Keyring;
|
||||
|
||||
use pezkuwi_node_network_protocol::request_response::{
|
||||
v1::{self, ChunkResponse},
|
||||
@@ -245,7 +245,7 @@ struct TestRun {
|
||||
|
||||
impl TestRun {
|
||||
fn run(self, task: RunningTask, rx: mpsc::Receiver<FromFetchTask>) {
|
||||
sp_tracing::init_for_tests();
|
||||
pezsp_tracing::init_for_tests();
|
||||
let mut rx = rx.fuse();
|
||||
let task = task.run_inner().fuse();
|
||||
futures::pin_mut!(task);
|
||||
|
||||
@@ -24,7 +24,7 @@ use pezkuwi_primitives::{
|
||||
BlockNumber, ChunkIndex, CoreState, ExecutorParams, GroupIndex, Hash, Id as ParaId,
|
||||
ScheduledCore, SessionIndex, SessionInfo,
|
||||
};
|
||||
use sp_core::{testing::TaskExecutor, traits::SpawnNamed};
|
||||
use pezsp_core::{testing::TaskExecutor, traits::SpawnNamed};
|
||||
|
||||
use pezkuwi_node_subsystem::{
|
||||
messages::{
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
use sp_keyring::Sr25519Keyring;
|
||||
use pezsp_keyring::Sr25519Keyring;
|
||||
|
||||
use pezkuwi_erasure_coding::{branches, obtain_chunks_v1 as obtain_chunks};
|
||||
use pezkuwi_node_primitives::{AvailableData, BlockData, ErasureChunk, PoV, Proof};
|
||||
|
||||
@@ -23,7 +23,7 @@ use pezkuwi_node_network_protocol::request_response::{
|
||||
IncomingRequest, Protocol, ReqProtocolNames,
|
||||
};
|
||||
use pezkuwi_primitives::{node_features, Block, CoreState, Hash, NodeFeatures};
|
||||
use sp_keystore::KeystorePtr;
|
||||
use pezsp_keystore::KeystorePtr;
|
||||
|
||||
use super::*;
|
||||
|
||||
@@ -39,23 +39,23 @@ fn test_harness<T: Future<Output = ()>>(
|
||||
req_protocol_names: ReqProtocolNames,
|
||||
test_fx: impl FnOnce(TestHarness) -> T,
|
||||
) -> std::result::Result<(), FatalError> {
|
||||
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) =
|
||||
pezkuwi_node_subsystem_test_helpers::make_subsystem_context(pool.clone());
|
||||
|
||||
let (pov_req_receiver, _pov_req_cfg) = IncomingRequest::get_config_receiver::<
|
||||
Block,
|
||||
sc_network::NetworkWorker<Block, Hash>,
|
||||
pezsc_network::NetworkWorker<Block, Hash>,
|
||||
>(&req_protocol_names);
|
||||
let (chunk_req_v1_receiver, chunk_req_v1_cfg) = IncomingRequest::get_config_receiver::<
|
||||
Block,
|
||||
sc_network::NetworkWorker<Block, Hash>,
|
||||
pezsc_network::NetworkWorker<Block, Hash>,
|
||||
>(&req_protocol_names);
|
||||
let (chunk_req_v2_receiver, chunk_req_v2_cfg) = IncomingRequest::get_config_receiver::<
|
||||
Block,
|
||||
sc_network::NetworkWorker<Block, Hash>,
|
||||
pezsc_network::NetworkWorker<Block, Hash>,
|
||||
>(&req_protocol_names);
|
||||
let subsystem = AvailabilityDistributionSubsystem::new(
|
||||
keystore,
|
||||
|
||||
@@ -29,10 +29,10 @@ use futures::{
|
||||
};
|
||||
use futures_timer::Delay;
|
||||
|
||||
use sc_network as network;
|
||||
use sc_network::{config as netconfig, config::RequestResponseConfig, IfDisconnected};
|
||||
use sp_core::{testing::TaskExecutor, traits::SpawnNamed};
|
||||
use sp_keystore::KeystorePtr;
|
||||
use pezsc_network as network;
|
||||
use pezsc_network::{config as netconfig, config::RequestResponseConfig, IfDisconnected};
|
||||
use pezsp_core::{testing::TaskExecutor, traits::SpawnNamed};
|
||||
use pezsp_keystore::KeystorePtr;
|
||||
|
||||
use pezkuwi_node_network_protocol::request_response::{
|
||||
v1, v2, IncomingRequest, OutgoingRequest, Protocol, ReqProtocolNames, Requests,
|
||||
|
||||
Reference in New Issue
Block a user