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,
|
||||
|
||||
@@ -21,8 +21,8 @@ use std::collections::{
|
||||
|
||||
use codec::{Decode, Encode};
|
||||
|
||||
use sp_application_crypto::AppCrypto;
|
||||
use sp_keystore::{Error as KeystoreError, KeystorePtr};
|
||||
use pezsp_application_crypto::AppCrypto;
|
||||
use pezsp_keystore::{Error as KeystoreError, KeystorePtr};
|
||||
|
||||
use pezkuwi_primitives::{
|
||||
CandidateHash, CandidateReceiptV2 as CandidateReceipt, CompactStatement, DisputeStatement,
|
||||
|
||||
@@ -36,7 +36,7 @@ use pezkuwi_primitives::{
|
||||
PersistedValidationData, SessionIndex, Signed, UncheckedSigned, ValidationCode,
|
||||
ValidationCodeHash, MAX_CODE_SIZE, MAX_POV_SIZE,
|
||||
};
|
||||
pub use sp_consensus_babe::{
|
||||
pub use pezsp_consensus_babe::{
|
||||
AllowedSlots as BabeAllowedSlots, BabeEpochConfiguration, Epoch as BabeEpoch,
|
||||
Randomness as BabeRandomness,
|
||||
};
|
||||
@@ -421,7 +421,7 @@ impl MaybeCompressedPoV {
|
||||
///
|
||||
/// This differs from `CandidateCommitments` in two ways:
|
||||
///
|
||||
/// - does not contain the erasure root; that's computed at the Pezkuwi level, not at Cumulus
|
||||
/// - does not contain the erasure root; that's computed at the Pezkuwi level, not at Pezcumulus
|
||||
/// - contains a proof of validity.
|
||||
#[derive(Debug, Clone, Encode, Decode)]
|
||||
#[cfg(not(target_os = "unknown"))]
|
||||
@@ -664,7 +664,7 @@ impl ErasureChunk {
|
||||
#[cfg(not(target_os = "unknown"))]
|
||||
pub fn maybe_compress_pov(pov: PoV) -> PoV {
|
||||
let PoV { block_data: BlockData(raw) } = pov;
|
||||
let raw = sp_maybe_compressed_blob::compress_weakly(&raw, POV_BOMB_LIMIT).unwrap_or(raw);
|
||||
let raw = pezsp_maybe_compressed_blob::compress_weakly(&raw, POV_BOMB_LIMIT).unwrap_or(raw);
|
||||
|
||||
let pov = PoV { block_data: BlockData(raw) };
|
||||
pov
|
||||
|
||||
Reference in New Issue
Block a user