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:
2025-12-14 00:04:10 +03:00
parent e4778b4576
commit 379cb741ed
9082 changed files with 997824 additions and 997542 deletions
+17 -17
View File
@@ -22,16 +22,16 @@ pezkuwi-node-primitives = { workspace = true, default-features = true }
pezkuwi-primitives = { workspace = true, default-features = true }
pezkuwi-statement-table = { workspace = true, default-features = true }
prometheus-endpoint = { workspace = true, default-features = true }
sc-client-api = { workspace = true, default-features = true }
sc-network = { workspace = true, default-features = true }
sc-network-types = { workspace = true, default-features = true }
sc-transaction-pool-api = { workspace = true, default-features = true }
pezsc-client-api = { workspace = true, default-features = true }
pezsc-network = { workspace = true, default-features = true }
pezsc-network-types = { workspace = true, default-features = true }
pezsc-transaction-pool-api = { workspace = true, default-features = true }
smallvec = { workspace = true, default-features = true }
sp-api = { workspace = true, default-features = true }
sp-authority-discovery = { workspace = true, default-features = true }
sp-blockchain = { workspace = true, default-features = true }
sp-consensus-babe = { workspace = true, default-features = true }
sp-runtime = { workspace = true, default-features = true }
pezsp-api = { workspace = true, default-features = true }
pezsp-authority-discovery = { workspace = true, default-features = true }
pezsp-blockchain = { workspace = true, default-features = true }
pezsp-consensus-babe = { workspace = true, default-features = true }
pezsp-runtime = { workspace = true, default-features = true }
thiserror = { workspace = true }
[features]
@@ -40,12 +40,12 @@ runtime-benchmarks = [
"pezkuwi-node-primitives/runtime-benchmarks",
"pezkuwi-primitives/runtime-benchmarks",
"pezkuwi-statement-table/runtime-benchmarks",
"sc-client-api/runtime-benchmarks",
"sc-network/runtime-benchmarks",
"sc-transaction-pool-api/runtime-benchmarks",
"sp-api/runtime-benchmarks",
"sp-authority-discovery/runtime-benchmarks",
"sp-blockchain/runtime-benchmarks",
"sp-consensus-babe/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"pezsc-client-api/runtime-benchmarks",
"pezsc-network/runtime-benchmarks",
"pezsc-transaction-pool-api/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-authority-discovery/runtime-benchmarks",
"pezsp-blockchain/runtime-benchmarks",
"pezsp-consensus-babe/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]
+1 -1
View File
@@ -34,7 +34,7 @@ pub use pezkuwi_primitives::{Block, BlockNumber, Hash};
///
/// This is useful for runtime API calls to blocks that are
/// racing against finality, e.g. for slashing purposes.
pub type UnpinHandle = sc_client_api::UnpinHandle<Block>;
pub type UnpinHandle = pezsc_client_api::UnpinHandle<Block>;
pub mod errors;
pub mod messages;
+5 -5
View File
@@ -23,10 +23,10 @@
//! Subsystems' APIs are defined separately from their implementation, leading to easier mocking.
use futures::channel::oneshot;
use sc_network::{Multiaddr, ReputationChange};
use pezsc_network::{Multiaddr, ReputationChange};
use thiserror::Error;
pub use sc_network::IfDisconnected;
pub use pezsc_network::IfDisconnected;
use pezkuwi_node_network_protocol::{
self as net_protocol, peer_set::PeerSet, request_response::Requests, PeerId,
@@ -262,10 +262,10 @@ pub enum CollatorProtocolMessage {
///
/// The hash is the relay parent.
Seconded(Hash, SignedFullStatement),
/// A message sent by Cumulus consensus engine to the collator protocol to
/// A message sent by Pezcumulus consensus engine to the collator protocol to
/// pre-connect to backing groups at all allowed relay parents.
ConnectToBackingGroups,
/// A message sent by Cumulus consensus engine to the collator protocol to
/// A message sent by Pezcumulus consensus engine to the collator protocol to
/// disconnect from backing groups.
DisconnectFromBackingGroups,
}
@@ -434,7 +434,7 @@ pub enum NetworkBridgeTxMessage {
/// NOTE: Messages will be processed in order.
SendCollationMessages(Vec<(Vec<PeerId>, net_protocol::VersionedCollationProtocol)>),
/// Send requests via substrate request/response.
/// Send requests via bizinikiwi request/response.
/// Second parameter, tells what to do if we are not yet connected to the peer.
SendRequests(Vec<Requests>, IfDisconnected),
@@ -16,8 +16,8 @@
use std::collections::HashSet;
pub use sc_network::ReputationChange;
pub use sc_network_types::PeerId;
pub use pezsc_network::ReputationChange;
pub use pezsc_network_types::PeerId;
use pezkuwi_node_network_protocol::{
grid_topology::SessionGridTopology, peer_set::ProtocolVersion, ObservedRole, OurView, View,
@@ -25,13 +25,13 @@ use pezkuwi_primitives::{
PvfCheckStatement, ScrapedOnChainVotes, SessionIndex, SessionInfo, ValidationCode,
ValidationCodeHash, ValidatorId, ValidatorIndex, ValidatorSignature,
};
use sc_client_api::{AuxStore, HeaderBackend};
use sc_transaction_pool_api::OffchainTransactionPoolFactory;
use sp_api::{ApiError, ApiExt, ProvideRuntimeApi};
use sp_authority_discovery::AuthorityDiscoveryApi;
use sp_blockchain::{BlockStatus, Info};
use sp_consensus_babe::{BabeApi, Epoch};
use sp_runtime::traits::{Block as BlockT, Header as HeaderT, NumberFor};
use pezsc_client_api::{AuxStore, HeaderBackend};
use pezsc_transaction_pool_api::OffchainTransactionPoolFactory;
use pezsp_api::{ApiError, ApiExt, ProvideRuntimeApi};
use pezsp_authority_discovery::AuthorityDiscoveryApi;
use pezsp_blockchain::{BlockStatus, Info};
use pezsp_consensus_babe::{BabeApi, Epoch};
use pezsp_runtime::traits::{Block as BlockT, Header as HeaderT, NumberFor};
use std::{
collections::{BTreeMap, VecDeque},
sync::Arc,
@@ -47,16 +47,16 @@ use std::{
#[async_trait]
pub trait ChainApiBackend: Send + Sync {
/// Get block header. Returns `None` if block is not found.
async fn header(&self, hash: Hash) -> sp_blockchain::Result<Option<Header>>;
async fn header(&self, hash: Hash) -> pezsp_blockchain::Result<Option<Header>>;
/// Get blockchain info.
async fn info(&self) -> sp_blockchain::Result<Info<Block>>;
async fn info(&self) -> pezsp_blockchain::Result<Info<Block>>;
/// Get block number by hash. Returns `None` if the header is not in the chain.
async fn number(
&self,
hash: Hash,
) -> sp_blockchain::Result<Option<<Header as HeaderT>::Number>>;
) -> pezsp_blockchain::Result<Option<<Header as HeaderT>::Number>>;
/// Get block hash by number. Returns `None` if the header is not in the chain.
async fn hash(&self, number: NumberFor<Block>) -> sp_blockchain::Result<Option<Hash>>;
async fn hash(&self, number: NumberFor<Block>) -> pezsp_blockchain::Result<Option<Hash>>;
}
#[async_trait]
@@ -65,12 +65,12 @@ where
T: HeaderBackend<Block>,
{
/// Get block header. Returns `None` if block is not found.
async fn header(&self, hash: Hash) -> sp_blockchain::Result<Option<Header>> {
async fn header(&self, hash: Hash) -> pezsp_blockchain::Result<Option<Header>> {
HeaderBackend::header(self, hash)
}
/// Get blockchain info.
async fn info(&self) -> sp_blockchain::Result<Info<Block>> {
async fn info(&self) -> pezsp_blockchain::Result<Info<Block>> {
Ok(HeaderBackend::info(self))
}
@@ -78,12 +78,12 @@ where
async fn number(
&self,
hash: Hash,
) -> sp_blockchain::Result<Option<<Header as HeaderT>::Number>> {
) -> pezsp_blockchain::Result<Option<<Header as HeaderT>::Number>> {
HeaderBackend::number(self, hash)
}
/// Get block hash by number. Returns `None` if the header is not in the chain.
async fn hash(&self, number: NumberFor<Block>) -> sp_blockchain::Result<Option<Hash>> {
async fn hash(&self, number: NumberFor<Block>) -> pezsp_blockchain::Result<Option<Hash>> {
HeaderBackend::hash(self, number)
}
}
@@ -275,7 +275,7 @@ pub trait RuntimeApiSubsystemClient {
async fn authorities(
&self,
at: Hash,
) -> std::result::Result<Vec<sp_authority_discovery::AuthorityId>, ApiError>;
) -> std::result::Result<Vec<pezsp_authority_discovery::AuthorityId>, ApiError>;
/// Get the execution environment parameter set by parent hash, if stored
async fn session_executor_params(
@@ -553,7 +553,7 @@ where
async fn authorities(
&self,
at: Hash,
) -> std::result::Result<Vec<sp_authority_discovery::AuthorityId>, ApiError> {
) -> std::result::Result<Vec<pezsp_authority_discovery::AuthorityId>, ApiError> {
self.client.runtime_api().authorities(at)
}
@@ -673,12 +673,12 @@ where
impl<Client, Block> HeaderBackend<Block> for DefaultSubsystemClient<Client>
where
Client: HeaderBackend<Block>,
Block: sp_runtime::traits::Block,
Block: pezsp_runtime::traits::Block,
{
fn header(
&self,
hash: Block::Hash,
) -> sc_client_api::blockchain::Result<Option<Block::Header>> {
) -> pezsc_client_api::blockchain::Result<Option<Block::Header>> {
self.client.header(hash)
}
@@ -686,14 +686,14 @@ where
self.client.info()
}
fn status(&self, hash: Block::Hash) -> sc_client_api::blockchain::Result<BlockStatus> {
fn status(&self, hash: Block::Hash) -> pezsc_client_api::blockchain::Result<BlockStatus> {
self.client.status(hash)
}
fn number(
&self,
hash: Block::Hash,
) -> sc_client_api::blockchain::Result<Option<<<Block as BlockT>::Header as HeaderT>::Number>>
) -> pezsc_client_api::blockchain::Result<Option<<<Block as BlockT>::Header as HeaderT>::Number>>
{
self.client.number(hash)
}
@@ -701,7 +701,7 @@ where
fn hash(
&self,
number: NumberFor<Block>,
) -> sc_client_api::blockchain::Result<Option<Block::Hash>> {
) -> pezsc_client_api::blockchain::Result<Option<Block::Hash>> {
self.client.hash(number)
}
}
@@ -720,11 +720,11 @@ where
&self,
insert: I,
delete: D,
) -> sp_blockchain::Result<()> {
) -> pezsp_blockchain::Result<()> {
self.client.insert_aux(insert, delete)
}
fn get_aux(&self, key: &[u8]) -> sp_blockchain::Result<Option<Vec<u8>>> {
fn get_aux(&self, key: &[u8]) -> pezsp_blockchain::Result<Option<Vec<u8>>> {
self.client.get_aux(key)
}
}