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:
@@ -19,11 +19,11 @@ pezkuwi-primitives = { workspace = true, default-features = false }
|
||||
pezkuwi-teyrchain-primitives = { features = ["wasm-api"], workspace = true }
|
||||
tiny-keccak = { features = ["keccak"], workspace = true }
|
||||
|
||||
# We need to make sure the global allocator is disabled until we have support of full substrate externalities
|
||||
sp-io = { features = ["disable_allocator"], workspace = true }
|
||||
# We need to make sure the global allocator is disabled until we have support of full bizinikiwi externalities
|
||||
pezsp-io = { features = ["disable_allocator"], workspace = true }
|
||||
|
||||
[build-dependencies]
|
||||
substrate-wasm-builder = { workspace = true, default-features = true }
|
||||
bizinikiwi-wasm-builder = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
@@ -32,11 +32,11 @@ std = [
|
||||
"log/std",
|
||||
"pezkuwi-primitives/std",
|
||||
"pezkuwi-teyrchain-primitives/std",
|
||||
"sp-io/std",
|
||||
"pezsp-io/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
|
||||
"sp-io/runtime-benchmarks",
|
||||
"substrate-wasm-builder/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
"bizinikiwi-wasm-builder/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Pezkuwi. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
use substrate_wasm_builder::WasmBuilder;
|
||||
use bizinikiwi_wasm_builder::WasmBuilder;
|
||||
|
||||
fn main() {
|
||||
WasmBuilder::new()
|
||||
|
||||
@@ -31,10 +31,10 @@ pezkuwi-service = { features = [
|
||||
], workspace = true, default-features = true }
|
||||
test-teyrchain-undying = { workspace = true }
|
||||
|
||||
sc-cli = { workspace = true, default-features = true }
|
||||
sc-client-api = { workspace = true, default-features = true }
|
||||
sc-service = { workspace = true, default-features = true }
|
||||
sp-core = { workspace = true, default-features = true }
|
||||
pezsc-cli = { workspace = true, default-features = true }
|
||||
pezsc-client-api = { workspace = true, default-features = true }
|
||||
pezsc-service = { workspace = true, default-features = true }
|
||||
pezsp-core = { workspace = true, default-features = true }
|
||||
|
||||
[dev-dependencies]
|
||||
pezkuwi-node-core-pvf = { features = [
|
||||
@@ -43,7 +43,7 @@ pezkuwi-node-core-pvf = { features = [
|
||||
pezkuwi-test-service = { workspace = true }
|
||||
pezkuwi-teyrchain-primitives = { workspace = true, default-features = true }
|
||||
|
||||
sp-keyring = { workspace = true, default-features = true }
|
||||
pezsp-keyring = { workspace = true, default-features = true }
|
||||
|
||||
tokio = { features = ["macros"], workspace = true, default-features = true }
|
||||
|
||||
@@ -58,9 +58,9 @@ runtime-benchmarks = [
|
||||
"pezkuwi-service/runtime-benchmarks",
|
||||
"pezkuwi-test-service/runtime-benchmarks",
|
||||
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
|
||||
"sc-cli/runtime-benchmarks",
|
||||
"sc-client-api/runtime-benchmarks",
|
||||
"sc-service/runtime-benchmarks",
|
||||
"sp-keyring/runtime-benchmarks",
|
||||
"pezsc-cli/runtime-benchmarks",
|
||||
"pezsc-client-api/runtime-benchmarks",
|
||||
"pezsc-service/runtime-benchmarks",
|
||||
"pezsp-keyring/runtime-benchmarks",
|
||||
"test-teyrchain-undying/runtime-benchmarks",
|
||||
]
|
||||
|
||||
@@ -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)>
|
||||
)
|
||||
})?;
|
||||
|
||||
@@ -28,9 +28,9 @@ const TIMEOUT: Duration = Duration::from_secs(120);
|
||||
#[tokio::test(flavor = "multi_thread")]
|
||||
async fn collating_using_undying_collator() {
|
||||
use pezkuwi_primitives::Id as ParaId;
|
||||
use sp_keyring::Sr25519Keyring::*;
|
||||
use pezsp_keyring::Sr25519Keyring::*;
|
||||
|
||||
let mut builder = sc_cli::LoggerBuilder::new("");
|
||||
let mut builder = pezsc_cli::LoggerBuilder::new("");
|
||||
builder.with_colors(false);
|
||||
builder.init().expect("Set up logger");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user