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
@@ -1,5 +1,5 @@
[package]
name = "bp-bridge-hub-cumulus"
name = "bp-bridge-hub-pezcumulus"
description = "Primitives for BridgeHub teyrchain runtimes."
version = "0.7.0"
authors.workspace = true
@@ -19,11 +19,11 @@ bp-messages = { workspace = true }
bp-pezkuwi-core = { workspace = true }
bp-runtime = { workspace = true }
# Substrate Based Dependencies
frame-support = { workspace = true }
frame-system = { workspace = true }
sp-api = { workspace = true }
sp-std = { workspace = true }
# Bizinikiwi Based Dependencies
pezframe-support = { workspace = true }
pezframe-system = { workspace = true }
pezsp-api = { workspace = true }
pezsp-std = { workspace = true }
teyrchains-common = { workspace = true }
# Pezkuwi Dependencies
@@ -35,20 +35,20 @@ std = [
"bp-messages/std",
"bp-pezkuwi-core/std",
"bp-runtime/std",
"frame-support/std",
"frame-system/std",
"pezframe-support/std",
"pezframe-system/std",
"pezkuwi-primitives/std",
"sp-api/std",
"sp-std/std",
"pezsp-api/std",
"pezsp-std/std",
"teyrchains-common/std",
]
runtime-benchmarks = [
"bp-messages/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"bp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezkuwi-primitives/runtime-benchmarks",
"sp-api/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
]
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Parity Bridges Common. If not, see <http://www.gnu.org/licenses/>.
//! Primitives of all Cumulus-based bridge hubs.
//! Primitives of all Pezcumulus-based bridge hubs.
#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
@@ -35,16 +35,16 @@ use bp_pezkuwi_core::SuffixedCommonTransactionExtension;
use bp_runtime::extensions::{
BridgeRejectObsoleteHeadersAndMessages, RefundBridgedTeyrchainMessagesSchema,
};
use frame_support::{
use pezframe_support::{
dispatch::DispatchClass,
parameter_types,
sp_runtime::{MultiAddress, MultiSigner},
pezsp_runtime::{MultiAddress, MultiSigner},
weights::constants,
};
use frame_system::limits;
use sp_std::time::Duration;
use pezframe_system::limits;
use pezsp_std::time::Duration;
/// Average block time for Cumulus-based teyrchains
/// Average block time for Pezcumulus-based teyrchains
pub const AVERAGE_BLOCK_INTERVAL: Duration = Duration::from_millis(SLOT_DURATION);
/// Maximal asset hub header size.
@@ -54,7 +54,7 @@ pub const MAX_ASSET_HUB_HEADER_SIZE: u32 = 4_096;
pub const MAX_BRIDGE_HUB_HEADER_SIZE: u32 = 4_096;
parameter_types! {
/// Size limit of the Cumulus-based bridge hub blocks.
/// Size limit of the Pezcumulus-based bridge hub blocks.
pub BlockLength: limits::BlockLength = limits::BlockLength::max_with_normal_ratio(
5 * 1024 * 1024,
NORMAL_DISPATCH_RATIO,
@@ -67,7 +67,7 @@ parameter_types! {
pub const ExtrinsicBaseWeight: Weight = Weight::from_parts(constants::WEIGHT_REF_TIME_PER_NANOS, 0)
.saturating_mul(125_000);
/// Weight limit of the Cumulus-based bridge hub blocks.
/// Weight limit of the Pezcumulus-based bridge hub blocks.
pub BlockWeights: limits::BlockWeights = limits::BlockWeights::builder()
.base_block(BlockExecutionWeight::get())
.for_class(DispatchClass::all(), |weights| {
@@ -87,7 +87,7 @@ parameter_types! {
.avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
.build_or_panic();
/// Weight limit of the Cumulus-based bridge hub blocks when async backing is enabled.
/// Weight limit of the Pezcumulus-based bridge hub blocks when async backing is enabled.
pub BlockWeightsForAsyncBacking: limits::BlockWeights = limits::BlockWeights::builder()
.base_block(BlockExecutionWeight::get())
.for_class(DispatchClass::all(), |weights| {
@@ -116,7 +116,7 @@ pub type Address = MultiAddress<AccountId, ()>;
// Note about selecting values of two following constants:
//
// Normal transactions have limit of 75% of 1/2 second weight for Cumulus teyrchains. Let's keep
// Normal transactions have limit of 75% of 1/2 second weight for Pezcumulus teyrchains. Let's keep
// some reserve for the rest of stuff there => let's select values that fit in 50% of maximal limit.
//
// Using current constants, the limit would be:
@@ -137,12 +137,12 @@ pub type Address = MultiAddress<AccountId, ()>;
// assumptions, or something will change, it shall be caught by the
// `ensure_able_to_receive_confirmation` test.
/// Maximal number of unrewarded relayer entries at inbound lane for Cumulus-based teyrchains.
/// Maximal number of unrewarded relayer entries at inbound lane for Pezcumulus-based teyrchains.
/// Note: this value is security-relevant, decreasing it should not be done without careful
/// analysis (like the one above).
pub const MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX: MessageNonce = 1024;
/// Maximal number of unconfirmed messages at inbound lane for Cumulus-based teyrchains.
/// Maximal number of unconfirmed messages at inbound lane for Pezcumulus-based teyrchains.
/// Note: this value is security-relevant, decreasing it should not be done without careful
/// analysis (like the one above).
pub const MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX: MessageNonce = 4096;
@@ -23,12 +23,12 @@ bp-messages = { workspace = true }
bp-pezkuwi-core = { workspace = true }
bp-runtime = { workspace = true }
# Substrate Based Dependencies
frame-support = { workspace = true }
frame-system = { workspace = true }
sp-api = { workspace = true }
sp-runtime = { workspace = true }
sp-std = { workspace = true }
# Bizinikiwi Based Dependencies
pezframe-support = { workspace = true }
pezframe-system = { workspace = true }
pezsp-api = { workspace = true }
pezsp-runtime = { workspace = true }
pezsp-std = { workspace = true }
[features]
default = ["std"]
@@ -38,20 +38,20 @@ std = [
"bp-pezkuwi-core/std",
"bp-runtime/std",
"codec/std",
"frame-support/std",
"frame-system/std",
"pezframe-support/std",
"pezframe-system/std",
"scale-info/std",
"sp-api/std",
"sp-runtime/std",
"sp-std/std",
"pezsp-api/std",
"pezsp-runtime/std",
"pezsp-std/std",
]
runtime-benchmarks = [
"bp-header-chain/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"bp-runtime/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"sp-api/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
]
@@ -30,14 +30,14 @@ use bp_runtime::{
Chain, ChainId, TransactionEra,
};
use codec::{Decode, DecodeWithMemTracking, Encode};
use frame_support::{
use pezframe_support::{
dispatch::DispatchClass,
parameter_types,
weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight},
};
use frame_system::limits;
use pezframe_system::limits;
use scale_info::TypeInfo;
use sp_runtime::{
use pezsp_runtime::{
impl_tx_ext_default, traits::Dispatchable, transaction_validity::TransactionValidityError,
Perbill, StateVersion,
};
@@ -63,14 +63,14 @@ pub const WITH_PEZKUWI_BULLETIN_MESSAGES_PALLET_NAME: &str = "BridgePezkuwiBulle
// percentage of the block for data storage.
const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(90);
// Re following constants - we are using the same values at Cumulus teyrchains. They are limited
// Re following constants - we are using the same values at Pezcumulus teyrchains. They are limited
// by the maximal transaction weight/size. Since block limits at Bulletin Chain are larger than
// at the Cumulus Bridge Hubs, we could reuse the same values.
// at the Pezcumulus Bridge Hubs, we could reuse the same values.
/// Maximal number of unrewarded relayer entries at inbound lane for Cumulus-based teyrchains.
/// Maximal number of unrewarded relayer entries at inbound lane for Pezcumulus-based teyrchains.
pub const MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX: MessageNonce = 1024;
/// Maximal number of unconfirmed messages at inbound lane for Cumulus-based teyrchains.
/// Maximal number of unconfirmed messages at inbound lane for Pezcumulus-based teyrchains.
pub const MAX_UNCONFIRMED_MESSAGES_IN_CONFIRMATION_TX: MessageNonce = 4096;
/// This signed extension is used to ensure that the chain transactions are signed by proper
@@ -94,16 +94,16 @@ pub type TransactionExtensionSchema = GenericTransactionExtension<(
#[derive(Encode, Decode, DecodeWithMemTracking, Debug, PartialEq, Eq, Clone, TypeInfo)]
pub struct TransactionExtension(TransactionExtensionSchema);
impl<C> sp_runtime::traits::TransactionExtension<C> for TransactionExtension
impl<C> pezsp_runtime::traits::TransactionExtension<C> for TransactionExtension
where
C: Dispatchable,
{
const IDENTIFIER: &'static str = "Not needed.";
type Implicit =
<TransactionExtensionSchema as sp_runtime::traits::TransactionExtension<C>>::Implicit;
<TransactionExtensionSchema as pezsp_runtime::traits::TransactionExtension<C>>::Implicit;
fn implicit(&self) -> Result<Self::Implicit, TransactionValidityError> {
<TransactionExtensionSchema as sp_runtime::traits::TransactionExtension<C>>::implicit(
<TransactionExtensionSchema as pezsp_runtime::traits::TransactionExtension<C>>::implicit(
&self.0,
)
}