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:
@@ -14,10 +14,10 @@ workspace = true
|
||||
[dependencies]
|
||||
codec = { features = ["derive"], workspace = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
sp-core = { workspace = true }
|
||||
sp-runtime = { workspace = true }
|
||||
pezsp-core = { workspace = true }
|
||||
pezsp-runtime = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = ["codec/std", "scale-info/std", "sp-core/std", "sp-runtime/std"]
|
||||
runtime-benchmarks = ["sp-runtime/runtime-benchmarks"]
|
||||
std = ["codec/std", "scale-info/std", "pezsp-core/std", "pezsp-runtime/std"]
|
||||
runtime-benchmarks = ["pezsp-runtime/runtime-benchmarks"]
|
||||
|
||||
@@ -24,13 +24,13 @@ extern crate alloc;
|
||||
|
||||
use codec::{Decode, DecodeWithMemTracking, Encode};
|
||||
use scale_info::TypeInfo;
|
||||
use sp_runtime::{
|
||||
use pezsp_runtime::{
|
||||
generic,
|
||||
traits::{IdentifyAccount, Verify},
|
||||
MultiSignature,
|
||||
};
|
||||
|
||||
pub use sp_runtime::traits::{BlakeTwo256, Hash as HashT};
|
||||
pub use pezsp_runtime::traits::{BlakeTwo256, Hash as HashT};
|
||||
|
||||
/// The block number type used by Pezkuwi.
|
||||
/// 32-bits will allow for 136 years of blocks assuming 1 block per second.
|
||||
@@ -58,7 +58,7 @@ pub type AccountIndex = u32;
|
||||
pub type ChainId = u32;
|
||||
|
||||
/// A hash of some data used by the relay chain.
|
||||
pub type Hash = sp_core::H256;
|
||||
pub type Hash = pezsp_core::H256;
|
||||
|
||||
/// Unit type wrapper around [`type@Hash`] that represents a candidate hash.
|
||||
///
|
||||
@@ -122,7 +122,7 @@ pub type Block = generic::Block<Header, UncheckedExtrinsic>;
|
||||
pub type BlockId = generic::BlockId<Block>;
|
||||
|
||||
/// Opaque, encoded, unchecked extrinsic.
|
||||
pub use sp_runtime::OpaqueExtrinsic as UncheckedExtrinsic;
|
||||
pub use pezsp_runtime::OpaqueExtrinsic as UncheckedExtrinsic;
|
||||
|
||||
/// The information that goes alongside a `transfer_into_teyrchain` operation. Entirely opaque, it
|
||||
/// will generally be used for identifying the reason for the transfer. Typically it will hold the
|
||||
@@ -139,7 +139,7 @@ pub type DownwardMessage = alloc::vec::Vec<u8>;
|
||||
/// A wrapped version of `DownwardMessage`. The difference is that it has attached the block number
|
||||
/// when the message was sent.
|
||||
#[derive(
|
||||
Encode, Decode, DecodeWithMemTracking, Clone, sp_runtime::RuntimeDebug, PartialEq, TypeInfo,
|
||||
Encode, Decode, DecodeWithMemTracking, Clone, pezsp_runtime::RuntimeDebug, PartialEq, TypeInfo,
|
||||
)]
|
||||
pub struct InboundDownwardMessage<BlockNumber = crate::BlockNumber> {
|
||||
/// The block number at which these messages were put into the downward message queue.
|
||||
@@ -150,7 +150,7 @@ pub struct InboundDownwardMessage<BlockNumber = crate::BlockNumber> {
|
||||
|
||||
/// An HRMP message seen from the perspective of a recipient.
|
||||
#[derive(
|
||||
Encode, Decode, DecodeWithMemTracking, Clone, sp_runtime::RuntimeDebug, PartialEq, TypeInfo,
|
||||
Encode, Decode, DecodeWithMemTracking, Clone, pezsp_runtime::RuntimeDebug, PartialEq, TypeInfo,
|
||||
)]
|
||||
pub struct InboundHrmpMessage<BlockNumber = crate::BlockNumber> {
|
||||
/// The block number at which this message was sent.
|
||||
@@ -167,7 +167,7 @@ pub struct InboundHrmpMessage<BlockNumber = crate::BlockNumber> {
|
||||
Decode,
|
||||
DecodeWithMemTracking,
|
||||
Clone,
|
||||
sp_runtime::RuntimeDebug,
|
||||
pezsp_runtime::RuntimeDebug,
|
||||
PartialEq,
|
||||
Eq,
|
||||
Hash,
|
||||
|
||||
Reference in New Issue
Block a user