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:
@@ -24,7 +24,7 @@ use codec::{Decode, Encode};
|
||||
use pezkuwi_primitives::{
|
||||
AssignmentId, CandidateHash, CoreIndex, GroupIndex, IndexedVec, SessionInfo, ValidatorIndex,
|
||||
};
|
||||
use sc_keystore::LocalKeystore;
|
||||
use pezsc_keystore::LocalKeystore;
|
||||
|
||||
use std::collections::HashMap;
|
||||
|
||||
|
||||
@@ -24,8 +24,8 @@ pub mod time;
|
||||
|
||||
/// A list of primitives introduced in v1.
|
||||
pub mod v1 {
|
||||
use sp_consensus_babe as babe_primitives;
|
||||
pub use sp_consensus_babe::{
|
||||
use pezsp_consensus_babe as babe_primitives;
|
||||
pub use pezsp_consensus_babe::{
|
||||
Randomness, Slot, VrfPreOutput, VrfProof, VrfSignature, VrfTranscript,
|
||||
};
|
||||
|
||||
@@ -34,7 +34,7 @@ pub mod v1 {
|
||||
BlockNumber, CandidateHash, CandidateIndex, CoreIndex, GroupIndex, Hash, Header,
|
||||
SessionIndex, ValidatorIndex, ValidatorSignature,
|
||||
};
|
||||
use sp_application_crypto::ByteArray;
|
||||
use pezsp_application_crypto::ByteArray;
|
||||
|
||||
/// Validators assigning to check a particular candidate are split up into tranches.
|
||||
/// Earlier tranches of validators check first, with later tranches serving as backup.
|
||||
@@ -182,7 +182,7 @@ pub mod v1 {
|
||||
.map_err(ApprovalError::SchnorrkelSignature)?;
|
||||
|
||||
let transcript =
|
||||
sp_consensus_babe::make_vrf_transcript(randomness, self.slot, epoch_index);
|
||||
pezsp_consensus_babe::make_vrf_transcript(randomness, self.slot, epoch_index);
|
||||
|
||||
let inout = self
|
||||
.vrf_pre_output
|
||||
@@ -196,7 +196,7 @@ pub mod v1 {
|
||||
/// Extract the slot number and relay VRF from a header.
|
||||
///
|
||||
/// This fails if either there is no BABE `PreRuntime` digest or
|
||||
/// the digest has type `SecondaryPlain`, which Substrate nodes do
|
||||
/// the digest has type `SecondaryPlain`, which Bizinikiwi nodes do
|
||||
/// not produce or accept anymore.
|
||||
pub fn babe_unsafe_vrf_info(header: &Header) -> Option<UnsafeVRFPreOutput> {
|
||||
use babe_primitives::digests::CompatibleDigestItem;
|
||||
@@ -221,7 +221,7 @@ pub mod v1 {
|
||||
/// A list of primitives introduced by v2.
|
||||
pub mod v2 {
|
||||
use codec::{Decode, Encode};
|
||||
pub use sp_consensus_babe::{
|
||||
pub use pezsp_consensus_babe::{
|
||||
Randomness, Slot, VrfPreOutput, VrfProof, VrfSignature, VrfTranscript,
|
||||
};
|
||||
use std::ops::BitOr;
|
||||
|
||||
@@ -24,7 +24,7 @@ use futures::{
|
||||
};
|
||||
|
||||
use crate::approval::v1::DelayTranche;
|
||||
use sp_consensus_slots::Slot;
|
||||
use pezsp_consensus_slots::Slot;
|
||||
use std::{
|
||||
collections::HashSet,
|
||||
pin::Pin,
|
||||
|
||||
Reference in New Issue
Block a user