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:
@@ -17,7 +17,7 @@
|
||||
//! Pezkuwi CLI library.
|
||||
|
||||
use clap::Parser;
|
||||
use sc_cli::SubstrateCli;
|
||||
use pezsc_cli::BizinikiwiCli;
|
||||
use std::path::PathBuf;
|
||||
|
||||
/// Sub-commands supported by the collator.
|
||||
@@ -76,7 +76,7 @@ pub enum MalusType {
|
||||
pub struct RunCmd {
|
||||
#[allow(missing_docs)]
|
||||
#[clap(flatten)]
|
||||
pub base: sc_cli::RunCmd,
|
||||
pub base: pezsc_cli::RunCmd,
|
||||
|
||||
/// Id of the teyrchain this collator collates for.
|
||||
#[arg(long, default_value_t = 2000)]
|
||||
@@ -110,7 +110,7 @@ pub struct Cli {
|
||||
pub run: RunCmd,
|
||||
}
|
||||
|
||||
impl SubstrateCli for Cli {
|
||||
impl BizinikiwiCli for Cli {
|
||||
fn impl_name() -> String {
|
||||
"Parity Zombienet/Undying".into()
|
||||
}
|
||||
@@ -139,7 +139,7 @@ impl SubstrateCli for Cli {
|
||||
"undying-collator".into()
|
||||
}
|
||||
|
||||
fn load_spec(&self, id: &str) -> std::result::Result<Box<dyn sc_service::ChainSpec>, String> {
|
||||
fn load_spec(&self, id: &str) -> std::result::Result<Box<dyn pezsc_service::ChainSpec>, String> {
|
||||
let id = if id.is_empty() { "pezkuwichain" } else { id };
|
||||
Ok(match id {
|
||||
"pezkuwichain-staging" =>
|
||||
|
||||
@@ -31,8 +31,8 @@ use pezkuwi_primitives::{
|
||||
DEFAULT_CLAIM_QUEUE_OFFSET,
|
||||
};
|
||||
use pezkuwi_service::{Handle, NewFull, TeyrchainHost};
|
||||
use sc_client_api::client::BlockchainEvents;
|
||||
use sp_core::Pair;
|
||||
use pezsc_client_api::client::BlockchainEvents;
|
||||
use pezsp_core::Pair;
|
||||
|
||||
use std::{
|
||||
collections::HashMap,
|
||||
@@ -650,7 +650,7 @@ impl Collator {
|
||||
}
|
||||
}
|
||||
|
||||
use sp_core::traits::SpawnNamed;
|
||||
use pezsp_core::traits::SpawnNamed;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
@@ -661,7 +661,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn collator_works() {
|
||||
let spawner = sp_core::testing::TaskExecutor::new();
|
||||
let spawner = pezsp_core::testing::TaskExecutor::new();
|
||||
let collator = Collator::new(1_000, 1, false);
|
||||
let collation_function = collator.create_collation_function(spawner);
|
||||
|
||||
|
||||
@@ -20,8 +20,8 @@ use pezkuwi_cli::{Error, Result};
|
||||
use pezkuwi_node_primitives::CollationGenerationConfig;
|
||||
use pezkuwi_node_subsystem::messages::{CollationGenerationMessage, CollatorProtocolMessage};
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use sc_cli::{Error as SubstrateCliError, SubstrateCli};
|
||||
use sp_core::hexdisplay::HexDisplay;
|
||||
use pezsc_cli::{Error as BizinikiwiCliError, BizinikiwiCli};
|
||||
use pezsp_core::hexdisplay::HexDisplay;
|
||||
use std::{
|
||||
collections::HashSet,
|
||||
fs,
|
||||
@@ -75,7 +75,7 @@ fn main() -> Result<()> {
|
||||
},
|
||||
None => {
|
||||
let runner = cli.create_runner(&cli.run.base).map_err(|e| {
|
||||
SubstrateCliError::Application(
|
||||
BizinikiwiCliError::Application(
|
||||
Box::new(e) as Box<(dyn 'static + Send + Sync + std::error::Error)>
|
||||
)
|
||||
})?;
|
||||
|
||||
Reference in New Issue
Block a user