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:
@@ -21,7 +21,7 @@
|
||||
mod block_builder;
|
||||
|
||||
use pezkuwi_primitives::Block;
|
||||
use sp_runtime::BuildStorage;
|
||||
use pezsp_runtime::BuildStorage;
|
||||
use std::sync::Arc;
|
||||
|
||||
pub use block_builder::*;
|
||||
@@ -29,27 +29,27 @@ pub use pezkuwi_test_runtime as runtime;
|
||||
pub use pezkuwi_test_service::{
|
||||
construct_extrinsic, construct_transfer_extrinsic, Client, FullBackend,
|
||||
};
|
||||
pub use substrate_test_client::*;
|
||||
pub use bizinikiwi_test_client::*;
|
||||
|
||||
/// Test client executor.
|
||||
pub type Executor = client::LocalCallExecutor<
|
||||
Block,
|
||||
FullBackend,
|
||||
WasmExecutor<(sp_io::SubstrateHostFunctions, frame_benchmarking::benchmarking::HostFunctions)>,
|
||||
WasmExecutor<(pezsp_io::BizinikiwiHostFunctions, pezframe_benchmarking::benchmarking::HostFunctions)>,
|
||||
>;
|
||||
|
||||
/// Test client builder for Pezkuwi.
|
||||
pub type TestClientBuilder =
|
||||
substrate_test_client::TestClientBuilder<Block, Executor, FullBackend, GenesisParameters>;
|
||||
bizinikiwi_test_client::TestClientBuilder<Block, Executor, FullBackend, GenesisParameters>;
|
||||
|
||||
/// `LongestChain` type for the test runtime/client.
|
||||
pub type LongestChain = sc_consensus::LongestChain<FullBackend, Block>;
|
||||
pub type LongestChain = pezsc_consensus::LongestChain<FullBackend, Block>;
|
||||
|
||||
/// Parameters of test-client builder with test-runtime.
|
||||
#[derive(Default)]
|
||||
pub struct GenesisParameters;
|
||||
|
||||
impl substrate_test_client::GenesisInit for GenesisParameters {
|
||||
impl bizinikiwi_test_client::GenesisInit for GenesisParameters {
|
||||
fn genesis_storage(&self) -> Storage {
|
||||
pezkuwi_test_service::chain_spec::pezkuwi_local_testnet_config()
|
||||
.build_storage()
|
||||
@@ -98,7 +98,7 @@ impl DefaultTestClientBuilderExt for TestClientBuilder {
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use sp_consensus::BlockOrigin;
|
||||
use pezsp_consensus::BlockOrigin;
|
||||
|
||||
#[test]
|
||||
fn ensure_test_client_can_build_and_import_block() {
|
||||
@@ -117,8 +117,8 @@ mod tests {
|
||||
|
||||
let transfer = construct_transfer_extrinsic(
|
||||
&client,
|
||||
sp_keyring::Sr25519Keyring::Alice,
|
||||
sp_keyring::Sr25519Keyring::Bob,
|
||||
pezsp_keyring::Sr25519Keyring::Alice,
|
||||
pezsp_keyring::Sr25519Keyring::Bob,
|
||||
1000,
|
||||
);
|
||||
let mut block_builder = client.init_pezkuwi_block_builder();
|
||||
|
||||
Reference in New Issue
Block a user